summaryrefslogtreecommitdiff
path: root/textproc/detex
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-02 10:33:28 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-02 10:33:28 +0000
commitcba91624643eed555cc3e636e906f771f5844b07 (patch)
treef75a0a9efe967947bd72ccab727cf92e9feaf587 /textproc/detex
parent1c0702676a8329892c3a4e2ea75e7221b5ac06d6 (diff)
downloadpkgsrc-cba91624643eed555cc3e636e906f771f5844b07.tar.gz
Just use stdlib.h for malloc.
Diffstat (limited to 'textproc/detex')
-rw-r--r--textproc/detex/distinfo3
-rw-r--r--textproc/detex/patches/patch-ab24
2 files changed, 26 insertions, 1 deletions
diff --git a/textproc/detex/distinfo b/textproc/detex/distinfo
index 70f950bc4fd..98b474c657f 100644
--- a/textproc/detex/distinfo
+++ b/textproc/detex/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 14:48:41 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/01/02 10:33:28 joerg Exp $
SHA1 (detex-2.7.tar) = 84b975a57ea199a29a795d699bb92dca0bad42d5
RMD160 (detex-2.7.tar) = 059919ef4d7d16caa6c1a6a13b067ce73e2052c2
Size (detex-2.7.tar) = 94720 bytes
SHA1 (patch-aa) = 09c182dbc27c3ec34a9c9919f9564b5e4d1eefb3
+SHA1 (patch-ab) = 4b4e8c65ec57b8191a0d88f2bd3b0fb447e09b7e
diff --git a/textproc/detex/patches/patch-ab b/textproc/detex/patches/patch-ab
new file mode 100644
index 00000000000..c76235fc83e
--- /dev/null
+++ b/textproc/detex/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2006/01/02 10:33:28 joerg Exp $
+
+--- detex.l.orig 1999-05-12 17:45:53.000000000 +0000
++++ detex.l
+@@ -27,9 +27,7 @@ static char rcsid[] = "$Header: /p/src/l
+ #ifndef MAXPATHLEN
+ #include <sys/param.h>
+ #endif
+-#ifdef OS2
+ #include <stdlib.h>
+-#endif
+
+ #define LaBEGIN if (fLatex) BEGIN
+ #define CITEBEGIN if (fLatex && !fCite) BEGIN
+@@ -38,9 +36,6 @@ static char rcsid[] = "$Header: /p/src/l
+ #define NEWLINE if (!fWord) putchar('\n')
+
+ char *SafeMalloc();
+-#ifndef NO_MALLOC_DECL
+-char *malloc();
+-#endif
+ #ifdef OS2
+ void yyless(int);
+ #endif