Package: src:libnatpmp
Version: 20110730-1
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-...@lists.debian.org

Hi!

Your package failed to build on kFreeBSD. Ive written and attached a
patch that does fix this problem. Please consider applying.

If you have further questions please mail debian-...@lists.debian.org

Regards

    Christoph

--- libnatpmp-20101211/getgateway.c
+++ libnatpmp-20101211.orig/getgateway.c
@@ -35,7 +35,7 @@
 #undef USE_SYSCTL_NET_ROUTE
 #endif
 
-#ifdef BSD
+#if defined(BSD) || defined(__FreeBSD_kernel__)
 #undef USE_PROC_NET_ROUTE
 #define USE_SOCKET_ROUTE
 #undef USE_SYSCTL_NET_ROUTE

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to