summaryrefslogtreecommitdiff
path: root/security/nessus-libraries/patches
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-12 20:58:42 +0000
committerjmc <jmc@pkgsrc.org>2002-03-12 20:58:42 +0000
commit1320d94a0711bbc3c1bdf1b0c6ac7d413cfe063f (patch)
tree93c3bc64f6c86edaa7293e89af3d89f3a6a0c824 /security/nessus-libraries/patches
parent9e17b947e15aee02acfdaa3284d672534708e05a (diff)
downloadpkgsrc-1320d94a0711bbc3c1bdf1b0c6ac7d413cfe063f.tar.gz
Any version of m4 before 1.5.3 has a bug where in certain conditions it'll add
0xff as the last byte of output. Pass the m4 output through tr to strip it.
Diffstat (limited to 'security/nessus-libraries/patches')
-rw-r--r--security/nessus-libraries/patches/patch-ab29
1 files changed, 25 insertions, 4 deletions
diff --git a/security/nessus-libraries/patches/patch-ab b/security/nessus-libraries/patches/patch-ab
index 34b2d7acd94..054906d338d 100644
--- a/security/nessus-libraries/patches/patch-ab
+++ b/security/nessus-libraries/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/07/30 11:14:32 frueauf Exp $
+$NetBSD: patch-ab,v 1.2 2002/03/12 20:58:42 jmc Exp $
---- libpeks/gmp3/mpn/Makefile.in-orig Mon Jun 12 13:32:24 2000
-+++ libpeks/gmp3/mpn/Makefile.in Sat Jul 22 22:17:09 2000
-@@ -139,7 +139,7 @@
+--- libpeks/gmp3/mpn/Makefile.in.orig Sun Aug 6 19:46:54 2000
++++ libpeks/gmp3/mpn/Makefile.in Tue Mar 12 20:46:49 2002
+@@ -142,7 +142,7 @@
# COMPILE minus CC. FIXME: Really pass *_CFLAGS to CPP?
COMPILE_FLAGS = \
@@ -11,3 +11,24 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/07/30 11:14:32 frueauf Exp $
SUFFIXES = .s .S .asm
+@@ -453,7 +453,7 @@
+
+ # *.m4 are preprocessed with m4.
+ .asm.o:
+- $(M4) -DOPERATION_$* $< >tmp-$*.s
++ $(M4) -DOPERATION_$* $< | tr -d '\377' >tmp-$*.s
+ $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
+ rm -f tmp-$*.s
+ .asm.obj:
+@@ -461,9 +461,9 @@
+ $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
+ rm -f tmp-$*.s
+ .asm.lo:
+- $(M4) -DPIC -DOPERATION_$* $< >tmp-$*.s
++ $(M4) -DPIC -DOPERATION_$* $< | tr -d '\377' >tmp-$*.s
+ $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
+- $(M4) -DOPERATION_$* $< >tmp-$*.s
++ $(M4) -DOPERATION_$* $< | tr -d '\377' >tmp-$*.s
+ $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $*.o
+ rm -f tmp-$*.s
+