summaryrefslogtreecommitdiff
path: root/security/tor/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/tor/files')
-rw-r--r--security/tor/files/patch-configure11
-rw-r--r--security/tor/files/patch-src::common::or.c13
-rw-r--r--security/tor/files/patch-src::common::util.c13
3 files changed, 37 insertions, 0 deletions
diff --git a/security/tor/files/patch-configure b/security/tor/files/patch-configure
new file mode 100644
index 000000000000..d23194a9c07a
--- /dev/null
+++ b/security/tor/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Fri May 28 18:55:36 2004
++++ configure Fri May 28 18:57:37 2004
+@@ -1559,7 +1559,7 @@
+ ac_config_commands="$ac_config_commands default-1"
+
+
+-CFLAGS="$CFLAGS -Wall -g -O2 -I/usr/kerberos/include"
++CFLAGS="$CFLAGS -Wall -g -O2"
+
+ # Check whether --enable-debug or --disable-debug was given.
+ if test "${enable_debug+set}" = set; then
diff --git a/security/tor/files/patch-src::common::or.c b/security/tor/files/patch-src::common::or.c
new file mode 100644
index 000000000000..e4d39a4a17be
--- /dev/null
+++ b/security/tor/files/patch-src::common::or.c
@@ -0,0 +1,13 @@
+diff -ur /tmp/tor-0.0.6.2/src/or/or.h ./src/or/or.h
+--- /tmp/tor-0.0.6.2/src/or/or.h Sun May 2 04:15:55 2004
++++ ./src/or/or.h Fri May 28 14:49:34 2004
+@@ -38,7 +38,9 @@
+ #include <sys/limits.h>
+ #endif
+ #ifdef HAVE_MACHINE_LIMITS_H
++#ifndef __FreeBSD__
+ #include <machine/limits.h>
++#endif
+ #endif
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */
diff --git a/security/tor/files/patch-src::common::util.c b/security/tor/files/patch-src::common::util.c
new file mode 100644
index 000000000000..44c2290a71f8
--- /dev/null
+++ b/security/tor/files/patch-src::common::util.c
@@ -0,0 +1,13 @@
+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 @@
+ #include <sys/limits.h>
+ #endif
+ #ifdef HAVE_MACHINE_LIMITS_H
++#ifndef __FreeBSD__
+ #include <machine/limits.h>
++#endif
+ #endif
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */