Package: postgresql-7.4 Severity: important Tags: patch Hi,
postgresql-7.4 currently fails to build on GNU/kFreeBSD. Please find attached a patch to fix that. Thanks. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: kfreebsd-i386 (i586) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.3-16 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
--- postgresql-7.4-7.4.8.orig/debian/patches/37_configure_kbsd.patch +++ postgresql-7.4-7.4.8/debian/patches/37_configure_kbsd.patch @@ -0,0 +1,24 @@ +diff -Nur postgresql-7.4.8.orig/configure postgresql-7.4.8/configure +--- postgresql-7.4.8.orig/configure 2005-05-05 22:08:32.000000000 +0200 ++++ postgresql-7.4.8/configure 2005-07-07 23:07:42.000000000 +0200 +@@ -1394,7 +1394,7 @@ + freebsd*) template=freebsd ;; + hpux*) template=hpux ;; + irix*) template=irix5 ;; +- linux*) template=linux ;; ++ linux*|gnu*|k*bsd*-gnu) template=linux ;; + mingw*) template=win32 ;; + netbsd*) template=netbsd ;; + nextstep*) template=nextstep ;; +diff -Nur postgresql-7.4.8.orig/configure.in postgresql-7.4.8/configure.in +--- postgresql-7.4.8.orig/configure.in 2005-05-05 22:08:33.000000000 +0200 ++++ postgresql-7.4.8/configure.in 2005-07-07 23:07:57.000000000 +0200 +@@ -64,7 +64,7 @@ + freebsd*) template=freebsd ;; + hpux*) template=hpux ;; + irix*) template=irix5 ;; +- linux*) template=linux ;; ++ linux*|gnu*|k*bsd*-gnu) template=linux ;; + mingw*) template=win32 ;; + netbsd*) template=netbsd ;; + nextstep*) template=nextstep ;;