rpms/gnubg/devel gnubg-0.9.0-1-neuralnet-arch.patch, NONE, 1.1 gnubg.spec, 1.19, 1.20

Jon Ciesla limb at fedoraproject.org
Fri Sep 5 19:47:05 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/gnubg/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23173

Modified Files:
	gnubg.spec 
Added Files:
	gnubg-0.9.0-1-neuralnet-arch.patch 
Log Message:
Disable sse test for all non i386 arches.


gnubg-0.9.0-1-neuralnet-arch.patch:

--- NEW FILE gnubg-0.9.0-1-neuralnet-arch.patch ---
--- lib/neuralnet.c	2008-09-05 14:20:49.000000000 -0500
+++ lib/neuralnet.c	2008-09-05 14:20:49.000000000 -0500
@@ -613,7 +613,7 @@
 }
 #if USE_SSE_VECTORIZE
 
-#if defined(_MSC_VER) || defined(DISABLE_SSE_TEST) || __x86_64
+#if defined(_MSC_VER) || defined(DISABLE_SSE_TEST) || __x86_64 || __ppc || __ppc64
 
 int SSE_Supported()
 {


Index: gnubg.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnubg/devel/gnubg.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- gnubg.spec	5 Sep 2008 18:13:25 -0000	1.19
+++ gnubg.spec	5 Sep 2008 19:46:34 -0000	1.20
@@ -9,6 +9,7 @@
 Source1:       gnubg.weights
 Source2:       gnubg.desktop
 Source3:       gnubg.png
+Patch0:        gnubg-0.9.0-1-neuralnet-arch.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n ) 
 URL:           http://www.gnubg.org
 BuildRequires: gtk2-devel
@@ -57,6 +58,8 @@
 /usr/bin/iconv -f ISO-8859-1 -t UTF8 ChangeLog > ChangeLog.tmp 
 /bin/mv ChangeLog.tmp ChangeLog
 
+%patch0 -p0
+
 # running autogen, sources are nightly CVS tarballs not
 # containing configure
 ./autogen.sh




More information about the fedora-extras-commits mailing list