From: Tim Yardley Date: Wed, 6 Feb 2008 22:38:13 +0000 (+0000) Subject: update to postgresql 8.3 and refresh patches X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=a0fea308cdecbb69dc6f315fcc9dad9ab78cd086 update to postgresql 8.3 and refresh patches SVN-Revision: 10408 --- diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 8f3517ccc5..b59d9f95c0 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=postgresql -PKG_VERSION:=8.2.6 -PKG_RELEASE:=2 +PKG_VERSION:=8.3.0 +PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -20,7 +20,7 @@ PKG_SOURCE_URL:=\ http://ftp9.us.postgresql.org/pub/postgresql/source/v$(PKG_VERSION) \ http://ftp.be.postgresql.org/postgresql/source/v$(PKG_VERSION) \ ftp://ftp-archives.postgresql.org/pub/source/v$(PKG_VERSION) -PKG_MD5SUM:=17b9049b4fcad42ee95410833c1db228 +PKG_MD5SUM:=53d6816eac7442f9bc8103439ebee22e PKG_BUILD_DEPENDS:=libnotimpl diff --git a/libs/postgresql/patches/200-ranlib.patch b/libs/postgresql/patches/200-ranlib.patch index ef7d08a8fe..a33eb74be0 100644 --- a/libs/postgresql/patches/200-ranlib.patch +++ b/libs/postgresql/patches/200-ranlib.patch @@ -1,12 +1,12 @@ -Index: postgresql-8.2.5/src/port/Makefile +Index: postgresql-8.3.0/src/port/Makefile =================================================================== ---- postgresql-8.2.5.orig/src/port/Makefile 2007-09-20 10:18:17.000000000 -0500 -+++ postgresql-8.2.5/src/port/Makefile 2007-09-20 10:18:17.000000000 -0500 -@@ -43,6 +43,7 @@ +--- postgresql-8.3.0.orig/src/port/Makefile 2008-02-06 16:27:48.000000000 -0600 ++++ postgresql-8.3.0/src/port/Makefile 2008-02-06 16:28:18.000000000 -0600 +@@ -49,6 +49,7 @@ - libpgport.a: $(LIBOBJS) + libpgport.a: $(OBJS) $(AR) $(AROPT) $@ $^ + $(RANLIB) libpgport.a + # thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not) thread.o: thread.c - $(CC) $(CFLAGS) $(CPPFLAGS) $(PTHREAD_CFLAGS) -c $< diff --git a/libs/postgresql/patches/750-configure-honor-cppflags.patch b/libs/postgresql/patches/750-configure-honor-cppflags.patch deleted file mode 100644 index f2d20d8c85..0000000000 --- a/libs/postgresql/patches/750-configure-honor-cppflags.patch +++ /dev/null @@ -1,10 +0,0 @@ -Index: postgresql-8.2.5/src/template/linux -=================================================================== ---- postgresql-8.2.5.orig/src/template/linux 2007-09-20 10:18:17.000000000 -0500 -+++ postgresql-8.2.5/src/template/linux 2007-09-20 10:18:17.000000000 -0500 -@@ -1,4 +1,4 @@ - # $PostgreSQL: pgsql/src/template/linux,v 1.28 2006/03/11 04:38:41 momjian Exp $ - - # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise --CPPFLAGS="-D_GNU_SOURCE" -+CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" diff --git a/libs/postgresql/patches/800-busybox-default-pager.patch b/libs/postgresql/patches/800-busybox-default-pager.patch index 0960c1a579..0587f35037 100644 --- a/libs/postgresql/patches/800-busybox-default-pager.patch +++ b/libs/postgresql/patches/800-busybox-default-pager.patch @@ -1,8 +1,8 @@ -Index: postgresql-8.2.5/src/bin/psql/print.h +Index: postgresql-8.3.0/src/bin/psql/print.h =================================================================== ---- postgresql-8.2.5.orig/src/bin/psql/print.h 2007-09-20 10:18:16.000000000 -0500 -+++ postgresql-8.2.5/src/bin/psql/print.h 2007-09-20 10:18:17.000000000 -0500 -@@ -88,10 +88,6 @@ +--- postgresql-8.3.0.orig/src/bin/psql/print.h 2008-01-01 13:45:56.000000000 -0600 ++++ postgresql-8.3.0/src/bin/psql/print.h 2008-02-06 16:29:56.000000000 -0600 +@@ -89,10 +89,6 @@ void setDecimalLocale(void); diff --git a/libs/postgresql/patches/850-uclibc_no_cbrt.patch b/libs/postgresql/patches/850-uclibc_no_cbrt.patch index 6d8fac8dd8..f60f0f22f9 100644 --- a/libs/postgresql/patches/850-uclibc_no_cbrt.patch +++ b/libs/postgresql/patches/850-uclibc_no_cbrt.patch @@ -1,8 +1,8 @@ -Index: postgresql-8.2.5/src/backend/utils/adt/float.c +Index: postgresql-8.3.0/src/backend/utils/adt/float.c =================================================================== ---- postgresql-8.2.5.orig/src/backend/utils/adt/float.c 2007-09-20 10:18:16.000000000 -0500 -+++ postgresql-8.2.5/src/backend/utils/adt/float.c 2007-09-20 10:18:17.000000000 -0500 -@@ -110,7 +110,9 @@ +--- postgresql-8.3.0.orig/src/backend/utils/adt/float.c 2008-01-01 13:45:52.000000000 -0600 ++++ postgresql-8.3.0/src/backend/utils/adt/float.c 2008-02-06 16:30:02.000000000 -0600 +@@ -71,7 +71,9 @@ static int float8_cmp_internal(float8 a, float8 b); #ifndef HAVE_CBRT @@ -13,7 +13,7 @@ Index: postgresql-8.2.5/src/backend/utils/adt/float.c #endif /* HAVE_CBRT */ -@@ -2831,7 +2833,7 @@ +@@ -2733,7 +2735,7 @@ #ifndef HAVE_CBRT static double