summaryrefslogtreecommitdiff
path: root/package/tor/patches
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/tor/patches
Initial import
Diffstat (limited to 'package/tor/patches')
-rw-r--r--package/tor/patches/patch-configure12
-rw-r--r--package/tor/patches/patch-src_common_util_h12
2 files changed, 24 insertions, 0 deletions
diff --git a/package/tor/patches/patch-configure b/package/tor/patches/patch-configure
new file mode 100644
index 000000000..b87f3dde8
--- /dev/null
+++ b/package/tor/patches/patch-configure
@@ -0,0 +1,12 @@
+$Id$
+--- tor-0.1.1.26.orig/configure 2006-12-15 01:12:11.000000000 +0100
++++ tor-0.1.1.26/configure 2007-02-17 21:46:29.000000000 +0100
+@@ -15193,7 +15193,7 @@ _ACEOF
+ # Set CFLAGS _after_ all the above checks, since our warnings are stricter
+ # than autoconf's macros like.
+ if test $ac_cv_c_compiler_gnu = yes; then
+- CFLAGS="$CFLAGS -Wall -g -O2"
++ CFLAGS="$CFLAGS -Wall"
+ else
+ CFLAGS="$CFLAGS -g -O"
+ fi
diff --git a/package/tor/patches/patch-src_common_util_h b/package/tor/patches/patch-src_common_util_h
new file mode 100644
index 000000000..4052d16f1
--- /dev/null
+++ b/package/tor/patches/patch-src_common_util_h
@@ -0,0 +1,12 @@
+$Id$
+--- tor-0.1.1.26.orig/src/common/util.h 2006-09-24 19:47:57.000000000 +0200
++++ tor-0.1.1.26/src/common/util.h 2007-02-17 23:09:46.000000000 +0100
+@@ -36,7 +36,7 @@
+ * And I'm not just saying that because some of our asserts check
+ * security-critical properties.
+ */
+-#error "Sorry; we don't support building with NDEBUG."
++#define tor_assert(expr) ((void)(0))
+ #else
+ #define tor_assert(expr) do { \
+ if (!(expr)) { \