]> git.pld-linux.org Git - packages/detex.git/commitdiff
- patch from SuSE: lex -> flex
authortwittner <twittner@pld-linux.org>
Fri, 19 Sep 2003 05:21:08 +0000 (05:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    detex-suse.patch -> 1.1

detex-suse.patch [new file with mode: 0644]

diff --git a/detex-suse.patch b/detex-suse.patch
new file mode 100644 (file)
index 0000000..fa5d8a5
--- /dev/null
@@ -0,0 +1,40 @@
+--- detex-2.7/Makefile
++++ detex-2.7/Makefile
+@@ -17,7 +17,7 @@
+ # Compile time flags, just uncomment the necessary lines
+ # Some say GNU make does not correctly handle += -- you may have to use :=
+ #
+-DEFS  =
++#DEFS =
+ #
+ # Add -traditional for GNU cc on ISC 386/ix system and possibly others
+ # (reported by pinard@iro.umontreal.ca)
+@@ -26,7 +26,7 @@
+ #
+ # Add -DHAVE_STRING_H for the SysV string manipulation routines
+ #
+-#DEFS += ${DEFS} -DHAVE_STRING_H
++DEFS  =  -DHAVE_STRING_H
+ #
+ # Add -DMAXPATHLEN=<length> if it is not defined in /usr/include/sys/param.h
+ #
+@@ -67,7 +67,7 @@
+ all:  ${PROGS}
+ detex: ${D_OBJ}
+-      ${CC} ${CFLAGS} -o $@ ${D_OBJ} -ll
++      ${CC} ${CFLAGS} -o $@ ${D_OBJ} -lfl
+ detex.c:
+       sed -f states.sed detex.l > xxx.l
+--- detex-2.7/detex.h
++++ detex-2.7/detex.h
+@@ -21,7 +21,7 @@
+ #define       DEFAULTINPUTS   ".:/usr/local/tex/inputs"
+ #define       CHPATHSEP       ':'
+ #endif
+-#define       MAXINPUTPATHS   10
++#define       MAXINPUTPATHS   30
+ #define       DEFAULTENV      "array,eqnarray,equation,figure,mathmatica,picture,table,verbatim"
+ #define       CHENVSEP        ','
This page took 0.096235 seconds and 4 git commands to generate.