SOURCES: xcache-m4.patch (NEW) - processor: only undefine() when d...

glen glen at pld-linux.org
Sun Feb 18 02:48:41 CET 2007


Author: glen                         Date: Sun Feb 18 01:48:41 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- processor: only undefine() when defined() to avoid warning with some m4 

---- Files affected:
SOURCES:
   xcache-m4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xcache-m4.patch
diff -u /dev/null SOURCES/xcache-m4.patch:1.1
--- /dev/null	Sun Feb 18 02:48:41 2007
+++ SOURCES/xcache-m4.patch	Sun Feb 18 02:48:36 2007
@@ -0,0 +1,11 @@
+Index: trunk/processor/main.m4
+===================================================================
+--- trunk/processor/main.m4 (revision 311)
++++ trunk/processor/main.m4 (revision 342)
+@@ -8,5 +8,5 @@
+ 
+ dnl {{{ basic
+-define(`REDEF', `undefine(`$1') define(`$1', `$2')')
++define(`REDEF', `ifdef(`$1', `undefine(`$1')') define(`$1', `$2')')
+ define(`MAKE_MACRONAME', `translit(`$1', ` ():
+ ', `_____')')
================================================================


More information about the pld-cvs-commit mailing list