aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/transmission-cli
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-03-19 05:53:04 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-03-19 05:53:04 +0000
commit2470af1a6ccf416e8ff67058fd26dcd6d231d8fb (patch)
tree1d6da154695a8f236bd5486986229cf75919e47f /net-p2p/transmission-cli
parentf6839422919606e7a4413b733a821d1eca8160df (diff)
downloadports-2470af1a6ccf416e8ff67058fd26dcd6d231d8fb.tar.gz
ports-2470af1a6ccf416e8ff67058fd26dcd6d231d8fb.zip
Notes
Diffstat (limited to 'net-p2p/transmission-cli')
-rw-r--r--net-p2p/transmission-cli/files/patch-freebsd427
1 files changed, 27 insertions, 0 deletions
diff --git a/net-p2p/transmission-cli/files/patch-freebsd4 b/net-p2p/transmission-cli/files/patch-freebsd4
new file mode 100644
index 000000000000..8c776fb626a5
--- /dev/null
+++ b/net-p2p/transmission-cli/files/patch-freebsd4
@@ -0,0 +1,27 @@
+--- configure.orig Sat Mar 18 23:21:44 2006
++++ configure Sat Mar 18 23:29:04 2006
+@@ -223,6 +223,13 @@
+ FreeBSD)
+ DEFINES="$DEFINES SYS_FREEBSD"
+ LINKLIBS="$LINKLIBS -pthread -lm"
++
++ RELEASE=`uname -r`
++ case $RELEASE in
++ 4.*)
++ DEFINES="$DEFINES SYS_FREEBSD_4"
++ ;;
++ esac
+ ;;
+
+ NetBSD)
+--- libtransmission/choking.c.orig Sat Mar 18 23:30:46 2006
++++ libtransmission/choking.c Sat Mar 18 23:31:15 2006
+@@ -23,7 +23,7 @@
+ #include <math.h>
+ #include "transmission.h"
+
+-#ifdef SYS_BEOS
++#if defined(SYS_BEOS) || defined(SYS_FREEBSD_4)
+ #define lrintf(a) ((int)(0.5+(a)))
+ #endif
+