Skip to content

Commit

Permalink
Deal with more ABIWARN linker messages.
Browse files Browse the repository at this point in the history
ok alek@
  • Loading branch information
kettenis committed Jun 18, 2005
1 parent 3037457 commit 12d17ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions devel/dejagnu/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.25 2005/03/25 15:42:15 kettenis Exp $
# $OpenBSD: Makefile,v 1.26 2005/06/18 14:34:56 kettenis Exp $

COMMENT= "framework to test programs"

DISTNAME= dejagnu-1.4.3
PKGNAME= ${DISTNAME}p3
PKGNAME= ${DISTNAME}p4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=dejagnu/}

Expand Down
8 changes: 4 additions & 4 deletions devel/dejagnu/patches/patch-lib_target_exp
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
$OpenBSD: patch-lib_target_exp,v 1.1 2005/03/25 15:42:15 kettenis Exp $
$OpenBSD: patch-lib_target_exp,v 1.2 2005/06/18 14:34:56 kettenis Exp $
--- lib/target.exp.orig Fri Aug 30 05:54:28 2002
+++ lib/target.exp Fri Mar 25 15:42:20 2005
+++ lib/target.exp Fri Mar 25 21:19:59 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
+ regsub -all "(^|\n)(\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*warning: \[^\n\]* is (often|almost always) misused, please use \[^\n\]*\n?)" $text "\\1" text
+ regsub -all "(^|\n)(\[^\n\]*: warning: \[^\n\]* is (often|almost always) 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
Expand Down

0 comments on commit 12d17ae

Please sign in to comment.