OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 16-Feb-2005 17:16:47
Branch: HEAD Handle: 2005021616164700
Modified files:
openpkg-src/postgresql postgresql.patch postgresql.spec
Log:
fix build under Linux and FreeBSD/alpha
Summary:
Revision Changes Path
1.2 +15 -0 openpkg-src/postgresql/postgresql.patch
1.136 +3 -1 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.patch
============================================================================
$ cvs diff -u -r1.1 -r1.2 postgresql.patch
--- openpkg-src/postgresql/postgresql.patch 1 Jul 2003 15:36:59 -0000
1.1
+++ openpkg-src/postgresql/postgresql.patch 16 Feb 2005 16:16:47 -0000
1.2
@@ -45,3 +45,18 @@
${RANLIB} [EMAIL PROTECTED]
@rm -f $@
$(LD) -x -Bshareable -Bforcearchive \
+Index: src/template/freebsd
+--- src/template/freebsd.orig 2004-12-02 19:11:40.000000000 +0100
++++ src/template/freebsd 2005-02-16 17:09:09.617038264 +0100
+@@ -1,3 +1,3 @@
+ case $host_cpu in
+- alpha*) CFLAGS="-O";; # alpha has problems with -O2
++ alpha*) CFLAGS=`echo "x$CFLAGS" | sed -e 's;^x;;' -e 's;-O2;-O;'`;; #
alpha has problems with -O2
+ esac
+Index: src/template/linux
+--- src/template/linux.orig 2004-12-02 19:11:40.000000000 +0100
++++ src/template/linux 2005-02-16 17:08:13.160599508 +0100
+@@ -1,2 +1,2 @@
+ # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
+-CPPFLAGS="-D_GNU_SOURCE"
++CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.135 -r1.136 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 8 Feb 2005 19:04:00 -0000
1.135
+++ openpkg-src/postgresql/postgresql.spec 16 Feb 2005 16:16:47 -0000
1.136
@@ -43,7 +43,7 @@
Group: Database
License: GPL
Version: %{V_postgresql}
-Release: 20050208
+Release: 20050216
# package options
%option with_server yes
@@ -149,6 +149,8 @@
%endif
%if "%{with_slony1}" == "yes"
%setup -q -T -D -a 5
+ delete from %s.sl_log_1
+ slony1-engine/src/slon/cleanup_thread.c
%endif
%if "%{with_pgpool}" == "yes"
%setup -q -T -D -a 6
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]