pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/detex Re: PR 25726 Compilation error on redec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea2a27630da0
branches:  trunk
changeset: 476023:ea2a27630da0
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Tue Jun 01 20:42:17 2004 +0000

description:
Re: PR 25726 Compilation error on redeclaration of malloc() using gcc 3.4.0
This problem was anticipated in the source Makefile so fix was a trivial
matter of setting the CFLAG -DNO_MALLOC_DECL.
This closes the referenced PR.

diffstat:

 textproc/detex/distinfo         |   4 ++--
 textproc/detex/patches/patch-aa |  17 ++++++++++++-----
 2 files changed, 14 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r f4d633f4c79b -r ea2a27630da0 textproc/detex/distinfo
--- a/textproc/detex/distinfo   Tue Jun 01 19:59:20 2004 +0000
+++ b/textproc/detex/distinfo   Tue Jun 01 20:42:17 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2002/11/11 20:07:34 jschauma Exp $
+$NetBSD: distinfo,v 1.4 2004/06/01 20:42:17 shannonjr Exp $
 
 SHA1 (detex-2.7.tar) = 84b975a57ea199a29a795d699bb92dca0bad42d5
 Size (detex-2.7.tar) = 94720 bytes
-SHA1 (patch-aa) = cb83efacc8af3c33130db37c6418887d2fd314d4
+SHA1 (patch-aa) = 455387166744bb76b38efeaf5cc7b8a6fc072169
diff -r f4d633f4c79b -r ea2a27630da0 textproc/detex/patches/patch-aa
--- a/textproc/detex/patches/patch-aa   Tue Jun 01 19:59:20 2004 +0000
+++ b/textproc/detex/patches/patch-aa   Tue Jun 01 20:42:17 2004 +0000
@@ -1,9 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/10/18 09:55:53 itojun Exp $
+$NetBSD: patch-aa,v 1.2 2004/06/01 20:42:18 shannonjr Exp $
 
---- Makefile-  Wed Oct 18 18:51:39 2000
-+++ Makefile   Wed Oct 18 18:51:54 2000
-@@ -39,3 +39,3 @@
+--- Makefile.orig      1999-05-12 11:45:55.000000000 -0600
++++ Makefile
+@@ -35,9 +35,9 @@ DEFS =
+ # Add -DNO_MALLOC_DECL if your system does not like the malloc() declaration
+ # in detex.l (reported by pinard%iro.umontreal.ca@localhost)
+ #
+-#DEFS += ${DEFS} -DNO_MALLOC_DECL
++DEFS  += -DNO_MALLOC_DECL
  #
 -CFLAGS        = -O ${DEFS}
-+#CFLAGS       = -O ${DEFS}
++CFLAGS        += ${DEFS}
  
+ # Use your favorite lexical scanner
+ #



Home | Main Index | Thread Index | Old Index