rpms/flac/devel flac-1.2.1-ppc.patch,NONE,1.1 flac.spec,1.34,1.35

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Wed Jan 30 13:48:22 UTC 2008


Author: mlichvar

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

Modified Files:
	flac.spec 
Added Files:
	flac-1.2.1-ppc.patch 
Log Message:
- remove -maltivec from CFLAGS


flac-1.2.1-ppc.patch:

--- NEW FILE flac-1.2.1-ppc.patch ---
diff -up flac-1.2.1/src/libFLAC/Makefile.in.ppc flac-1.2.1/src/libFLAC/Makefile.in
--- flac-1.2.1/src/libFLAC/Makefile.in.ppc	2007-09-16 22:05:12.000000000 +0200
+++ flac-1.2.1/src/libFLAC/Makefile.in	2008-01-30 14:19:51.000000000 +0100
@@ -240,7 +240,7 @@ lib_LTLIBRARIES = libFLAC.la
 @FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_TRUE at CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
 # Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific
 #@@@ PPC optimizations temporarily disabled
- at FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE at CPUCFLAGS = -maltivec -mabi=altivec -DFLAC__NO_ASM
+ at FLaC__CPU_PPC_TRUE@@FLaC__SYS_DARWIN_FALSE at CPUCFLAGS = -DFLAC__NO_ASM
 
 AM_CFLAGS = $(DEBUGCFLAGS) $(CPUCFLAGS) @OGG_CFLAGS@
 @FLaC__CPU_PPC_TRUE@@FLaC__NO_ASM_FALSE at ARCH_SUBDIRS = ppc


Index: flac.spec
===================================================================
RCS file: /cvs/pkgs/rpms/flac/devel/flac.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- flac.spec	29 Jan 2008 18:10:18 -0000	1.34
+++ flac.spec	30 Jan 2008 13:47:42 -0000	1.35
@@ -9,6 +9,7 @@
 Patch2: flac-1.2.1-gcc43.patch
 Patch3: flac-1.2.1-hidesyms.patch
 Patch4: flac-1.2.1-tests.patch
+Patch5: flac-1.2.1-ppc.patch
 URL: http://flac.sourceforge.net/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libogg-devel
@@ -42,6 +43,7 @@
 %patch3 -p1 -b .hidesyms
 # reduce number of tests
 %patch4 -p1 -b .tests
+%patch5 -p1 -b .ppc
 
 %build
 %configure --disable-xmms-plugin
@@ -88,6 +90,7 @@
 - hide private libFLAC symbols (#285961)
 - update license tag
 - add %%check
+- remove -maltivec from CFLAGS
 
 * Mon Sep 17 2007 - Bastien Nocera <bnocera at redhat.com> - 1.2.1-1
 - Update to 1.2.1




More information about the fedora-extras-commits mailing list