[44617] trunk/dports/textproc/link-grammar
pguyot at kallisys.net
pguyot at kallisys.net
Wed Dec 31 01:58:44 PST 2008
Revision: 44617
http://trac.macports.org/changeset/44617
Author: pguyot at kallisys.net
Date: 2008-12-31 01:58:44 -0800 (Wed, 31 Dec 2008)
Log Message:
-----------
New variant to disable track space feature
Modified Paths:
--------------
trunk/dports/textproc/link-grammar/Portfile
trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.diff
Added Paths:
-----------
trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.track_space.diff
trunk/dports/textproc/link-grammar/files/patch-link-grammar-utilities.h.diff
Modified: trunk/dports/textproc/link-grammar/Portfile
===================================================================
--- trunk/dports/textproc/link-grammar/Portfile 2008-12-31 09:52:08 UTC (rev 44616)
+++ trunk/dports/textproc/link-grammar/Portfile 2008-12-31 09:58:44 UTC (rev 44617)
@@ -25,3 +25,7 @@
patchfiles patch-link-grammar-link-grammar.def.diff
configure.args-append --enable-pthreads
+
+variant no_track_space_usage description "Disable track space usage" {
+ patchfiles-append patch-link-grammar-utilities.h.diff patch-link-grammar-link-grammar.def.track_space.diff
+}
Modified: trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.diff
===================================================================
--- trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.diff 2008-12-31 09:52:08 UTC (rev 44616)
+++ trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.diff 2008-12-31 09:58:44 UTC (rev 44617)
@@ -1,11 +1,12 @@
--- link-grammar/link-grammar.def 2008-11-30 21:47:16.000000000 +0100
+++ link-grammar/link-grammar.def.new 2008-12-22 15:31:50.000000000 +0100
-@@ -128,7 +128,7 @@
+@@ -128,7 +128,8 @@
lperrmsg
lperror_clear
prt_error
-print_total_time
+parse_options_print_total_time
++init_memusage
match
extract_thin_linkage
xfree
Added: trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.track_space.diff
===================================================================
--- trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.track_space.diff (rev 0)
+++ trunk/dports/textproc/link-grammar/files/patch-link-grammar-link-grammar.def.track_space.diff 2008-12-31 09:58:44 UTC (rev 44617)
@@ -0,0 +1,10 @@
+--- link-grammar/link-grammar.def.orig 2008-12-31 07:36:33.000000000 +0100
++++ link-grammar/link-grammar.def 2008-12-31 07:37:05.000000000 +0100
+@@ -131,7 +131,6 @@
+ parse_options_print_total_time
+ match
+ extract_thin_linkage
+-xfree
+ count_set_effective_distance
+ intersect_strings
+ xalloc
Added: trunk/dports/textproc/link-grammar/files/patch-link-grammar-utilities.h.diff
===================================================================
--- trunk/dports/textproc/link-grammar/files/patch-link-grammar-utilities.h.diff (rev 0)
+++ trunk/dports/textproc/link-grammar/files/patch-link-grammar-utilities.h.diff 2008-12-31 09:58:44 UTC (rev 44617)
@@ -0,0 +1,11 @@
+--- link-grammar/utilities.h.orig 2008-12-31 07:35:22.000000000 +0100
++++ link-grammar/utilities.h 2008-12-31 07:35:24.000000000 +0100
+@@ -200,7 +200,7 @@
+ void * xrealloc(void *, size_t oldsize, size_t newsize);
+ void * exalloc(size_t);
+
+-#define TRACK_SPACE_USAGE
++/* #define TRACK_SPACE_USAGE */
+ #ifdef TRACK_SPACE_USAGE
+ void xfree(void *, size_t);
+ void exfree(void *, size_t);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081231/9c3ddd9f/attachment.html>
More information about the macports-changes
mailing list