[weasel-commit] Source: dejagnu=1.4.4-2

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Tue, 05 Jan 2010 18:17:32 -0500

================================
dejagnu:source=1.4.4-2 (previous: 1.4.4-1)
cvc rdiff dejagnu -1 /weasel.rpath.org@wgl:3-devel/1.4.4-2
================================
1.4.4-2 Filip Brcic (brcha@xxxxxxx) Tue Jan  5 18:16:08 2010
    fixed recipe

dejagnu.recipe: changed
Index: dejagnu.recipe
====================================================================
contents(size sha1)
inode(mtime)
--- dejagnu.recipe /weasel.rpath.org@wgl:3-devel/1.4.4-1
+++ dejagnu.recipe /weasel.rpath.org@wgl:3-devel/1.4.4-2
@@ -7,10 +7,19 @@
     name = 'dejagnu'
     version = '1.4.4'
 
-    buildRequires = [ 'expect:devel', ]
+    buildRequires = [
+        'expect:devel', 'bison:runtime', 'tcl:runtime'
+        ]
+
+    shortDesc  = 'DejaGNU testing framework'
+    longDesc   = 'Framework for testing other programs'
+    url        = 'http://www.gnu.org/software/dejagnu/'
+    licenses   = [ 'GPL-2' ]
+    categories = [ 'System/Development' ]
 
     def unpack(r):
-        r.addArchive('mirror://gnu/%(name)s/%(name)s-%(version)s.tar.gz')
+        r.addArchive('mirror://gnu/%(name)s/')
+        r.addPatch('dejagnu-ignore-libwarning.patch')
 
     def policy(r):
-        r.MakeInstall('mandir=%(destdir)s/%(mandir)s', 
installtarget='install-doc')
+        r.Doc('doc/html')


dejagnu-ignore-libwarning.patch: new
--- /dev/null
+++ dejagnu-ignore-libwarning.patch
@@ -0,0 +23 @@
+dejagnu/ChangeLog
+       * lib/target.exp (prune_warnings): Correct pic/PIC regexp.
+       Ignore incompatible library warning.
+
+Index: dejagnu/lib/target.exp
+===================================================================
+RCS file: /cvs/src/src/dejagnu/lib/target.exp,v
+retrieving revision 1.12
+diff -u -p -r1.12 target.exp
+--- dejagnu/lib/target.exp     21 Apr 2002 08:47:07 -0000      1.12
++++ dejagnu/lib/target.exp     9 Jun 2003 07:34:06 -0000
+@@ -279,7 +279,10 @@ proc prune_warnings { text } {
+     regsub -all "(^|\n)\[^\n\]*: warning:   as it has already been 
specified\[^\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.


Committed by: brcha

Other related posts:

  • » [weasel-commit] Source: dejagnu=1.4.4-2 - rbuilder