aboutsummaryrefslogtreecommitdiffstats
path: root/security/tor
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-29 21:25:36 +0800
committerkrion <krion@FreeBSD.org>2004-05-29 21:25:36 +0800
commite7f057b94ba6320581cafc455d8b5a1e08831428 (patch)
treea4687433967262db3d29e9a5d35af1e5236ed3dc /security/tor
parentbcfc1edff622bab67b4a37d998cb8bf69d231a3a (diff)
downloadfreebsd-ports-gnome-e7f057b94ba6320581cafc455d8b5a1e08831428.tar.gz
freebsd-ports-gnome-e7f057b94ba6320581cafc455d8b5a1e08831428.tar.zst
freebsd-ports-gnome-e7f057b94ba6320581cafc455d8b5a1e08831428.zip
- Fix build on 4.x
PR: ports/67336 Submitted by: maintainer
Diffstat (limited to 'security/tor')
-rw-r--r--security/tor/files/patch-src::common::util.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/security/tor/files/patch-src::common::util.c b/security/tor/files/patch-src::common::util.c
index 44c2290a71f8..f33fad3a3465 100644
--- a/security/tor/files/patch-src::common::util.c
+++ b/security/tor/files/patch-src::common::util.c
@@ -1,7 +1,14 @@
-diff -ur /tmp/tor-0.0.6.2/src/common/util.c ./src/common/util.c
---- /tmp/tor-0.0.6.2/src/common/util.c Sun May 2 00:29:20 2004
-+++ ./src/common/util.c Fri May 28 14:49:22 2004
-@@ -56,7 +56,9 @@
+--- src/common/util.c.orig Sun May 2 01:29:20 2004
++++ src/common/util.c Sat May 29 15:19:02 2004
+@@ -25,6 +25,7 @@
+ #include <windows.h>
+ #endif
+
++#include <sys/param.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+@@ -56,7 +57,9 @@
#include <sys/limits.h>
#endif
#ifdef HAVE_MACHINE_LIMITS_H