pkgsrc/devel/dejagnu/patches/patch-ab
thorpej 472857adc0 Bump to 1.4.3nb2, apply this patch from the dejagnu on
gcc.gnu.org:

2003-06-13  Jason Thorpe  <thorpej@wasabisystems.com>

	* lib/target.exp (prune_warnings): Add two more linker
	warning patterns for warnings generated by modern verions
	of NetBSD.
2003-06-14 00:24:27 +00:00

13 lines
802 B
Text

$NetBSD: patch-ab,v 1.1 2003/06/14 00:24:28 thorpej Exp $
--- lib/target.exp.orig 2003-06-13 17:18:00.000000000 -0700
+++ lib/target.exp 2003-06-13 17:17:35.000000000 -0700
@@ -262,6 +262,8 @@
regsub -all "(^|\n)(ld(|32|64): Giving up.*Use -wall\[^\n\]*\n?)+" $text "\\1" text
# Or the NetBSD ones.
+ regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: this program uses \[^\n\]*)" $text "\\1" text
+ regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: reference to compatibility \[^\n\]*)" $text "\\1" text
regsub -all "(^|\n)(\[^\n\]*:\[0-9\]+: warning: \[^\n\]* possibly used unsafely, use \[^\n\]*\n?)" $text "\\1" text
regsub -all "(^|\n)(\[^\n\]*: warning: reference to compatibility glob\[^\n\]*\n?)" $text "\\1" text