diff options
author | Bertrand Marc <beberking@gmail.com> | 2012-09-29 11:51:50 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2012-09-29 11:51:50 +0200 |
commit | 3146f13e0b136b2ca317940bc18deb932f3b339a (patch) | |
tree | d6ab5c53040cb66b77d8f62f48a46b2513e3d1d6 /debian/patches/fix_kfreebsd_build.diff | |
parent | 479de7a369dc26413c5c901534f9b26d6e32a6f5 (diff) |
Fix build on kfreebsd, thanks to Christoph Egger (Closes: #688486).
Diffstat (limited to 'debian/patches/fix_kfreebsd_build.diff')
-rw-r--r-- | debian/patches/fix_kfreebsd_build.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/fix_kfreebsd_build.diff b/debian/patches/fix_kfreebsd_build.diff new file mode 100644 index 0000000..0a655a5 --- /dev/null +++ b/debian/patches/fix_kfreebsd_build.diff @@ -0,0 +1,29 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -91,7 +91,7 @@ + UNIXONLY="#" + AC_PATH_XTRA + ;; +-freebsd*) ++*freebsd*) + AC_DEFINE_UNQUOTED(SOMEBSD,1,[This is a BSD system]) + AC_DEFINE_UNQUOTED(FREEBSD,1,[This is a FreeBSD system]) + CFLAGS="-D_THREAD_SAFE $CFLAGS" +@@ -100,7 +100,7 @@ + DLLDIR=lib + UNIXONLY="#" + ;; +-openbsd*) ++*openbsd*) + AC_DEFINE_UNQUOTED(SOMEBSD,1,[This is a BSD system]) + AC_DEFINE_UNQUOTED(OPENBSD,1,[This is an OpenBSD system]) + LIBS=`echo $LIBS | sed -e "s/-ldl//"` +@@ -109,7 +109,7 @@ + DLLDIR=lib + UNIXONLY="#" + ;; +-netbsd*) ++*netbsd*) + AC_DEFINE_UNQUOTED(SOMEBSD,1,[This is a BSD system]) + AC_DEFINE_UNQUOTED(NETBSD,1,[This is a NetBSD system]) + LIBPREFIX= |