postgresql: update to 8.4.8.

This commit is contained in:
Juan RP 2011-06-20 15:19:36 +02:00
parent 2ca76cdd0a
commit ceaea6499e
2 changed files with 39 additions and 2 deletions

View file

@ -0,0 +1,35 @@
*** src/pl/plperl/plperl.c
--- src/pl/plperl/plperl.c
***************
*** 700,706 **** plperl_trusted_init(void)
if (!isGV_with_GP(sv) || !GvCV(sv))
continue;
SvREFCNT_dec(GvCV(sv)); /* free the CV */
! GvCV(sv) = NULL; /* prevent call via GV */
}
hv_clear(stash);
/* invalidate assorted caches */
--- 700,706 ----
if (!isGV_with_GP(sv) || !GvCV(sv))
continue;
SvREFCNT_dec(GvCV(sv)); /* free the CV */
! GvCV_set(sv, NULL); /* prevent call via GV */
}
hv_clear(stash);
/* invalidate assorted caches */
*** src/pl/plperl/plperl.h
--- src/pl/plperl/plperl.h
***************
*** 43,48 ****
--- 43,53 ----
#undef bool
#endif
+ /* supply GvCV_set if it's missing - ppport.h doesn't supply it, unfortunately */
+ #ifndef GvCV_set
+ #define GvCV_set(gv, cv) (GvCV(gv) = cv)
+ #endif
+
/* routines from spi_internal.c */
int spi_DEBUG(void);
int spi_LOG(void);

View file

@ -1,6 +1,6 @@
# Template file for 'postgresql'
pkgname=postgresql
version=8.4.6
version=8.4.8
distfiles="ftp://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python
@ -10,7 +10,9 @@ configure_args="--with-docdir=/usr/share/doc --with-openssl --with-python
--with-system-tzdata=/usr/share/zoneinfo --enable-nls --with-gnu-ld"
short_desc="Sophisticated open-source Object-Relational DBMS"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8110c576e9055286d7b04b8930f7a378e483f0530b41dd3098f6e35528ed7d3c
homepage="http://www.postgresql.org"
license="BSD"
checksum=3e90ef2a86a9f4831e21ff4a574fbfb8e1b8c097af637c93ec43c64c684a0938
long_desc="
PostgreSQL is a powerful, open source object-relational database system.
It has more than 15 years of active development and a proven architecture