rpms/mash/F-7 mash-multilib.patch,1.1,1.2

Bill Nottingham (notting) fedora-extras-commits at redhat.com
Tue Sep 18 15:44:19 UTC 2007


Author: notting

Update of /cvs/extras/rpms/mash/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23927

Modified Files:
	mash-multilib.patch 
Log Message:
update for valgrind (#294761)


mash-multilib.patch:

Index: mash-multilib.patch
===================================================================
RCS file: /cvs/extras/rpms/mash/F-7/mash-multilib.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mash-multilib.patch	6 Sep 2007 15:05:07 -0000	1.1
+++ mash-multilib.patch	18 Sep 2007 15:44:16 -0000	1.2
@@ -1,5 +1,23 @@
 --- mash-0.1.18/mash/multilib.py	2007-06-21 12:29:30.000000000 -0400
 +++ mash/mash/multilib.py	2007-09-06 10:23:04.000000000 -0400
+@@ -5,7 +5,7 @@ class MultilibMethod:
+     def __init__(self):
+         self.name = 'base'
+     def select(self, po):
+-        prefer_64 = [ 'gdb', 'frysk', 'systemtap', 'systemtap-runtime', 'ltrace', 'strace', 'valgrind']
++        prefer_64 = [ 'gdb', 'frysk', 'systemtap', 'systemtap-runtime', 'ltrace', 'strace' ]
+         if po.arch.find('64') != -1:
+             if po.name in prefer_64:
+                 return True
+@@ -54,7 +54,7 @@ class RuntimeMultilibMethod(MultilibMeth
+     
+     def select(self, po):
+         libdirs = [ '/usr/lib', '/usr/lib64', '/lib', '/lib64' ]
+-        whitelist = ['scim-bridge-gtk', 'scim-qtimm', 'redhat-artwork', 'gtk2-engines', 'libgnat', 'wine', 'wine-arts' ]
++        whitelist = ['scim-bridge-gtk', 'scim-qtimm', 'redhat-artwork', 'gtk2-engines', 'libgnat', 'wine', 'wine-arts', 'valgrind' ]
+         if po.name in whitelist:
+             return True
+         if MultilibMethod.select(self,po):
 @@ -87,18 +109,18 @@
          self.name = 'devel'
      




More information about the scm-commits mailing list