rpms/splat/F-9 splat-1.2-build.patch,1.2,1.3

Steve Conklin (sconklin) fedora-extras-commits at redhat.com
Thu Jul 31 00:07:02 UTC 2008


Author: sconklin

Update of /cvs/pkgs/rpms/splat/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28466

Added Files:
	splat-1.2-build.patch 
Log Message:
Added back the patch file we still need


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	31 Jul 2008 00:06:32 -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