aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-10-01 19:57:46 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-10-01 19:57:46 +0000
commitae7f26f1073d97439314cedfaa89107eb94786db (patch)
tree93c1a550edea769dc1279d204b5adce4e9b5fd8e /net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
parentba38e1e8be2b8403dd01fdecb1b63049adad84e9 (diff)
downloadports-ae7f26f1073d97439314cedfaa89107eb94786db.tar.gz
ports-ae7f26f1073d97439314cedfaa89107eb94786db.zip
Notes
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp b/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
new file mode 100644
index 000000000000..ea0156332167
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
@@ -0,0 +1,15 @@
+--- src/storage.cpp.orig Sat Aug 25 15:26:43 2007
++++ src/storage.cpp Mon Sep 10 12:51:23 2007
+@@ -75,9 +75,11 @@
+ #include <cstdio>
+ #endif
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ // for getattrlist()
++#ifdef __APPLE__
+ #include <sys/attr.h>
++#endif
+ #include <unistd.h>
+ // for statfs()
+ #include <sys/param.h>