diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-02 10:33:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-02 10:33:28 +0000 |
commit | 0fad13ec88fc12befc37f8b5a5ec2fc3bc7e1f67 (patch) | |
tree | f75a0a9efe967947bd72ccab727cf92e9feaf587 /textproc | |
parent | e3835eb7099d72ef20508d1280191a5b4470bb87 (diff) | |
download | pkgsrc-0fad13ec88fc12befc37f8b5a5ec2fc3bc7e1f67.tar.gz |
Just use stdlib.h for malloc.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/detex/distinfo | 3 | ||||
-rw-r--r-- | textproc/detex/patches/patch-ab | 24 |
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 |