summaryrefslogtreecommitdiff
path: root/package/tor/patches/patch-src_common_util_h
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/patch-src_common_util_h
Initial import
Diffstat (limited to 'package/tor/patches/patch-src_common_util_h')
-rw-r--r--package/tor/patches/patch-src_common_util_h12
1 files changed, 12 insertions, 0 deletions
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)) { \