[or-cvs] r13970: Build the debian package with openbsd malloc. Build with --e (tor/branches/tor-0_2_0-patches/debian)

weasel at seul.org weasel at seul.org
Tue Mar 11 14:17:29 UTC 2008


Author: weasel
Date: 2008-03-11 10:17:29 -0400 (Tue, 11 Mar 2008)
New Revision: 13970

Modified:
   tor/branches/tor-0_2_0-patches/debian/changelog
   tor/branches/tor-0_2_0-patches/debian/rules
Log:
Build the debian package with openbsd malloc.

Build with --enable-openbsd-malloc, unless no-enable-openbsd-malloc is
found in DEB_BUILD_OPTIONS.  Hopefully this deals with some of the
horrible memory fragmentation that glibc's malloc causes.


Modified: tor/branches/tor-0_2_0-patches/debian/changelog
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/changelog	2008-03-11 11:10:38 UTC (rev 13969)
+++ tor/branches/tor-0_2_0-patches/debian/changelog	2008-03-11 14:17:29 UTC (rev 13970)
@@ -2,8 +2,11 @@
 
   * Work around fig2dev failing to build the images on all archs
     (re #457568).
+  * Build with --enable-openbsd-malloc, unless no-enable-openbsd-malloc is
+    found in DEB_BUILD_OPTIONS.  Hopefully this deals with some of the
+    horrible memory fragmentation that glibc's malloc causes.
 
- -- Peter Palfrader <weasel at debian.org>  Wed,  5 Mar 2008 09:47:53 +0100
+ -- Peter Palfrader <weasel at debian.org>  Tue, 11 Mar 2008 14:51:47 +0100
 
 tor (0.2.0.21-rc-1) experimental; urgency=low
 

Modified: tor/branches/tor-0_2_0-patches/debian/rules
===================================================================
--- tor/branches/tor-0_2_0-patches/debian/rules	2008-03-11 11:10:38 UTC (rev 13969)
+++ tor/branches/tor-0_2_0-patches/debian/rules	2008-03-11 14:17:29 UTC (rev 13970)
@@ -53,6 +53,10 @@
 ifneq (,$(findstring with-dmalloc,$(DEB_BUILD_OPTIONS)))
 	CONF_OPTIONS += --with-dmalloc
 endif
+# inhibit building with --enable-openbsd-malloc
+ifeq (,$(findstring no-enable-openbsd-malloc,$(DEB_BUILD_OPTIONS)))
+	CONF_OPTIONS += --enable-openbsd-malloc
+endif
 
 configure: patch-stamp
 config.status: configure



More information about the tor-commits mailing list