~transmissionbt/transmission/ppa-oneiric

« back to all changes in this revision

Viewing changes to debian/patches/libnatpmp_freebsd_ftbfs.patch

  • Committer: Andreas Noteng
  • Date: 2010-12-13 06:50:25 UTC
  • Revision ID: andreas@noteng.no-20101213065025-g2a8pvj22tz0fcit
rebase on official ubuntu packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: transmission-2.00/third-party/libnatpmp/getgateway.c
2
 
===================================================================
3
 
--- transmission-2.00.orig/third-party/libnatpmp/getgateway.c   2010-06-17 17:10:58.000000000 +0200
4
 
+++ transmission-2.00/third-party/libnatpmp/getgateway.c        2010-06-20 14:48:09.000000000 +0200
5
 
@@ -35,7 +35,7 @@
6
 
 #undef USE_SYSCTL_NET_ROUTE
7
 
 #endif
8
 
 
9
 
-#ifdef BSD
10
 
+#if defined(BSD) || defined(__FreeBSD_kernel__)
11
 
 #undef USE_PROC_NET_ROUTE
12
 
 #define USE_SOCKET_ROUTE
13
 
 #undef USE_SYSCTL_NET_ROUTE