File dejagnu-ignore-libwarning.patch of Package dejagnu

	* lib/target.exp (prune_warnings): Correct pic/PIC regexp.
	Ignore incompatible library warning.

Index: dejagnu/lib/target.exp
--- dejagnu-1.4.4/lib/target.exp
+++ dejagnu-1.4.4/lib/target.exp
@@ -277,7 +277,10 @@
     regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not implemented and will always fail\[^\n\]*" $text "" text
     # Cygwin cc1 warns about -fpic and -fPIC
-    regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text
+    regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target \[^\n\]*" $text "" text
+    # Ignore linker warning when searching 64bit libraries in /lib.
+    regsub -all "(^|\n)\[^\n\]*: skipping incompatible \[^\n\]* when searching for \[^\n\]*" $text "" text
     # It might be tempting to get carried away and delete blank lines, etc.
     # Just delete *exactly* what we're ask to, and that's it.
openSUSE Build Service is sponsored by