summaryrefslogtreecommitdiff
path: root/devel/dejagnu/patches/patch-ab
blob: e424be5e49b52b59a77dda3758f1942b2e2c3470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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