postgresql82.patch 783 B

1234567891011121314151617181920
  1. Index: src/template/freebsd
  2. --- src/template/freebsd.orig 2006-03-11 05:38:41 +0100
  3. +++ src/template/freebsd 2006-11-20 20:54:27 +0100
  4. @@ -1,5 +1,5 @@
  5. # $PostgreSQL: pgsql/src/template/freebsd,v 1.35 2006/03/11 04:38:41 momjian Exp $
  6. case $host_cpu in
  7. - alpha*) CFLAGS="-O";; # alpha has problems with -O2
  8. + alpha*) CFLAGS=`echo "x$CFLAGS" | sed -e 's;^x;;' -e 's;-O2;-O;'`;; # alpha has problems with -O2
  9. esac
  10. Index: src/template/linux
  11. --- src/template/linux.orig 2006-03-11 05:38:41 +0100
  12. +++ src/template/linux 2006-11-20 20:54:27 +0100
  13. @@ -1,4 +1,4 @@
  14. # $PostgreSQL: pgsql/src/template/linux,v 1.28 2006/03/11 04:38:41 momjian Exp $
  15. # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
  16. -CPPFLAGS="-D_GNU_SOURCE"
  17. +CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"