rpms/splat/devel splat-1.2-build.patch,1.2,1.3

Steve Conklin (sconklin) fedora-extras-commits at redhat.com
Wed Jul 30 23:36:12 UTC 2008


Author: sconklin

Update of /cvs/pkgs/rpms/splat/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20385

Added Files:
	splat-1.2-build.patch 
Log Message:
dding back the patch that was accidentally removed


splat-1.2-build.patch:

Index: splat-1.2-build.patch
===================================================================
RCS file: splat-1.2-build.patch
diff -N splat-1.2-build.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ splat-1.2-build.patch	30 Jul 2008 23:35:41 -0000	1.3
@@ -0,0 +1,24 @@
+diff -up splat-1.2.1/build.spc splat-1.2.1/build
+--- splat-1.2.1/build.spc	2008-02-26 20:31:34.000000000 -0600
++++ splat-1.2.1/build	2008-02-26 20:37:44.000000000 -0600
+@@ -8,13 +8,19 @@ cpu=`uname -m`
+ 
+ if [ $cpu == "x86_64" ]; then
+         cpu="x86-64"
++elif [ $cpu == "ppc" ]; then 
++    MARCH = ""
++elif [ $cpu == "ppc64" ]; then 
++    MARCH = ""
++else
++    MARCH = " -march=$cpu "
+ fi
+ 
+ build_splat()
+ {
+ 	echo -n "Compiling SPLAT!... "
+ 	## g++ -Wall -O3 -s -lm -lbz2 -fomit-frame-pointer -march=$cpu itm.cpp splat.cpp -o splat
+-	g++ -Wall -O3 -fomit-frame-pointer -ffast-math -march=$cpu itm.cpp splat.cpp -lm -lbz2 -o splat
++	g++ -Wall -O3 -fomit-frame-pointer -ffast-math $MARCH itm.cpp splat.cpp -lm -lbz2 -o splat
+ 	echo "Done!"
+ }
+ 




More information about the fedora-extras-commits mailing list