Deal with ABIWARN linker messages.
ok alek@
This commit is contained in:
parent
644f32ce81
commit
85779f9436
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.24 2005/02/13 16:20:38 alek Exp $
|
||||
# $OpenBSD: Makefile,v 1.25 2005/03/25 15:42:15 kettenis Exp $
|
||||
|
||||
COMMENT= "framework to test programs"
|
||||
|
||||
DISTNAME= dejagnu-1.4.3
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=dejagnu/}
|
||||
|
||||
|
14
devel/dejagnu/patches/patch-lib_target_exp
Normal file
14
devel/dejagnu/patches/patch-lib_target_exp
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-lib_target_exp,v 1.1 2005/03/25 15:42:15 kettenis Exp $
|
||||
--- lib/target.exp.orig Fri Aug 30 05:54:28 2002
|
||||
+++ lib/target.exp Fri Mar 25 15:42:20 2005
|
||||
@@ -265,6 +265,10 @@ proc prune_warnings { 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
|
||||
|
||||
+ # Or the OpenBSD ones.
|
||||
+ regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: \[^\n\]* is often misused, please use \[^\n\]*\n?)" $text "\\1" text
|
||||
+ regsub -all "(^|\n)(\[^\n\]*: warning: \[^\n\]* is often misused, please use \[^\n\]*\n?)" $text "\\1" text
|
||||
+
|
||||
# GNU ld warns about functions marked as dangerous in GNU libc.
|
||||
regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*function is dangerous\[^\n\]*" $text "" text
|
||||
|
Loading…
Reference in New Issue
Block a user