From 3146f13e0b136b2ca317940bc18deb932f3b339a Mon Sep 17 00:00:00 2001 From: Bertrand Marc Date: Sat, 29 Sep 2012 11:51:50 +0200 Subject: Fix build on kfreebsd, thanks to Christoph Egger (Closes: #688486). --- debian/gnunet-server.install.kfreebsd | 52 ++++++++++++++++++++++++++++++++++ debian/patches/fix_kfreebsd_build.diff | 29 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 82 insertions(+) create mode 100644 debian/gnunet-server.install.kfreebsd create mode 100644 debian/patches/fix_kfreebsd_build.diff diff --git a/debian/gnunet-server.install.kfreebsd b/debian/gnunet-server.install.kfreebsd new file mode 100644 index 0000000..71c146a --- /dev/null +++ b/debian/gnunet-server.install.kfreebsd @@ -0,0 +1,52 @@ +etc/gnunet.conf +usr/bin/gnunet-arm +usr/bin/gnunet-core +usr/bin/gnunet-daemon-* +usr/bin/gnunet-dht-* +usr/bin/gnunet-fs +usr/bin/gnunet-gns* +usr/bin/gnunet-helper-* +usr/bin/gnunet-namestore +usr/bin/gnunet-nat-server +usr/bin/gnunet-peerinfo +usr/bin/gnunet-resolver +usr/bin/gnunet-rsa +usr/bin/gnunet-service-* +usr/bin/gnunet-testing +usr/bin/gnunet-transport +usr/bin/gnunet-transport-certificate-creation +usr/bin/mockup-service +usr/lib/libgnunetarm.so.* +usr/lib/libgnunetats.so.* +usr/lib/libgnunetblock.so.* +usr/lib/libgnunetcore.so.* +usr/lib/libgnunetdatacache.so.* +usr/lib/libgnunetdht.so.* +usr/lib/libgnunetfragmentation.so.* +usr/lib/libgnunethello.so.* +usr/lib/libgnunetlockmanager.so.0* +usr/lib/libgnunetmesh.so.* +usr/lib/libgnunetnamestore.so.* +usr/lib/libgnunetnat.so.* +usr/lib/libgnunetnse.so.* +usr/lib/libgnunetpeerinfo.so.* +usr/lib/libgnunettesting.so.* +usr/lib/libgnunettesting_new.so.0* +usr/lib/libgnunettestbed.so.0* +usr/lib/libgnunettransport.so.* +usr/lib/libgnunettransporttesting.so.* +usr/lib/libgnunettun.so.* +usr/lib/gnunet/*.so +usr/share/gnunet/config.d +usr/share/gnunet/hellos/* +usr/share/man/man1/gnunet-arm.1 +usr/share/man/man1/gnunet-core.1 +usr/share/man/man1/gnunet-fs.1 +usr/share/man/man1/gnunet-gns.1 +usr/share/man/man1/gnunet-namestore.1 +usr/share/man/man1/gnunet-nat-server.1 +usr/share/man/man1/gnunet-peerinfo.1 +usr/share/man/man1/gnunet-rsa.1 +usr/share/man/man1/gnunet-transport.1 +usr/share/man/man1/gnunet-vpn.1 +debian/man/* usr/share/man/man1/ 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= diff --git a/debian/patches/series b/debian/patches/series index 0eecbb2..8c90987 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ +fix_kfreebsd_build.diff support_GNU_hurd.patch sparc_alignment.patch -- cgit v1.2.3-18-g5258