rpms/gnubg/devel gnubg-0.9.0.1-disable_sse.patch, NONE, 1.1 gnubg.spec, 1.20, 1.21

Jon Ciesla limb at fedoraproject.org
Mon Sep 8 12:49:17 UTC 2008


Author: limb

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

Modified Files:
	gnubg.spec 
Added Files:
	gnubg-0.9.0.1-disable_sse.patch 
Log Message:
A more elegant solution.


gnubg-0.9.0.1-disable_sse.patch:

--- NEW FILE gnubg-0.9.0.1-disable_sse.patch ---
--- configure.in	2008-09-08 07:21:20.000000000 -0500
+++ configure.in	2008-09-08 07:21:20.000000000 -0500
@@ -234,15 +234,17 @@
 
 SSE_CFLAGS=''
 AC_ARG_ENABLE( sse, [  --enable-sse=TYPE  enable SSE for newer cpus(TYPE=yes,no,cputest, default cputest)], ssecpu=$enableval, ssecpu=cputest)
-if test "$ssecpu" != "no"; then
-        AC_DEFINE(USE_SSE_VECTORIZE,1,Define if you want to compile with SSE support)
-        if test "$ssecpu" = "yes"; then
-                AC_DEFINE(DISABLE_SSE_TEST, 1, Define if you want to disable the SSE cpu test)
-        fi
-        if test x"$GCC" = xyes; then
-                SSE_CFLAGS="-msse"
-        fi
-fi
+dnl if test "$ssecpu" != "no"; then
+dnl        AC_DEFINE(USE_SSE_VECTORIZE,1,Define if you want to compile with SSE support)
+dnl        if test "$ssecpu" = "yes"; then
+dnl                AC_DEFINE(DISABLE_SSE_TEST, 1, Define if you want to disable the SSE cpu test)
+dnl        fi
+dnl        if test x"$GCC" = xyes; then
+dnl                SSE_CFLAGS="-msse"
+dnl        fi
+dnlfi
+AC_DEFINE(USE_SSE_VECTORIZE,0,DisableSSE)
+AC_DEFINE(DISABLE_SSE_TEST,1,DisableSSE)
 
 AC_SUBST(SSE_CFLAGS)
 


Index: gnubg.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnubg/devel/gnubg.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- gnubg.spec	5 Sep 2008 19:46:34 -0000	1.20
+++ gnubg.spec	8 Sep 2008 12:48:47 -0000	1.21
@@ -9,7 +9,7 @@
 Source1:       gnubg.weights
 Source2:       gnubg.desktop
 Source3:       gnubg.png
-Patch0:        gnubg-0.9.0-1-neuralnet-arch.patch
+Patch0:        gnubg-0.9.0.1-disable_sse.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n ) 
 URL:           http://www.gnubg.org
 BuildRequires: gtk2-devel




More information about the fedora-extras-commits mailing list