aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/gnunet/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-04 23:14:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-04 23:14:16 +0000
commit1e342c6976d57bb1619e7a6b79f5d2a3e12a27d8 (patch)
tree6c2762ce1416e466828c2963d28958db1ff0df7a /net-p2p/gnunet/files
parent119c0720e58269230f7591f6bd859e4910e88303 (diff)
downloadports-1e342c6976d57bb1619e7a6b79f5d2a3e12a27d8.tar.gz
ports-1e342c6976d57bb1619e7a6b79f5d2a3e12a27d8.zip
Notes
Diffstat (limited to 'net-p2p/gnunet/files')
-rw-r--r--net-p2p/gnunet/files/patch-src__include__platform.h10
-rw-r--r--net-p2p/gnunet/files/patch-src__util__boot__lib_argz.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/net-p2p/gnunet/files/patch-src__include__platform.h b/net-p2p/gnunet/files/patch-src__include__platform.h
new file mode 100644
index 000000000000..f10dbcd587bf
--- /dev/null
+++ b/net-p2p/gnunet/files/patch-src__include__platform.h
@@ -0,0 +1,10 @@
+--- src/include/platform.h.orig 2009-10-01 07:11:14.000000000 +0900
++++ src/include/platform.h 2010-01-05 00:27:09.000000000 +0900
+@@ -189,6 +189,7 @@
+ #endif
+
+ #ifdef FREEBSD
++typedef int error_t;
+ #define __BYTE_ORDER BYTE_ORDER
+ #define __BIG_ENDIAN BIG_ENDIAN
+ #endif
diff --git a/net-p2p/gnunet/files/patch-src__util__boot__lib_argz.c b/net-p2p/gnunet/files/patch-src__util__boot__lib_argz.c
new file mode 100644
index 000000000000..c8b7914e1ddb
--- /dev/null
+++ b/net-p2p/gnunet/files/patch-src__util__boot__lib_argz.c
@@ -0,0 +1,10 @@
+--- src/util/boot/lib_argz.c.orig 2009-11-17 03:51:38.000000000 +0900
++++ src/util/boot/lib_argz.c 2010-01-05 00:27:35.000000000 +0900
+@@ -16,6 +16,7 @@
+ with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
++#include "platform.h"
+ #include <errno.h>
+ #include <stdlib.h>
+ #include <string.h>