rpms/festival/devel no-shared-data.patch, NONE, 1.1 festival.spec, 1.29, 1.30

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Fri Feb 22 18:49:03 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/festival/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25107

Modified Files:
	festival.spec 
Added Files:
	no-shared-data.patch 
Log Message:
fix the build


no-shared-data.patch:

--- NEW FILE no-shared-data.patch ---
diff -up festival/speech_tools/config/compilers/gcc_defaults.mak.no-shared-data festival/speech_tools/config/compilers/gcc_defaults.mak
--- festival/speech_tools/config/compilers/gcc_defaults.mak.no-shared-data	2008-02-22 13:45:50.000000000 -0500
+++ festival/speech_tools/config/compilers/gcc_defaults.mak	2008-02-22 13:46:24.000000000 -0500
@@ -73,12 +73,12 @@ PROFILE_gprof_CCFLAGS   = -pg
 PROFILE_gprof_CXXFLAGS  = -pg
 PROFILE_gprof_LINKFLAGS = -pg
 
-SHARED_CCFLAGS  = -fPIC -fno-shared-data
-SHARED_CXXFLAGS  = -fPIC -fno-shared-data
-SHARED_LINKFLAGS = -fno-shared-data
+SHARED_CCFLAGS  = -fPIC 
+SHARED_CXXFLAGS  = -fPIC 
+SHARED_LINKFLAGS = 
 
 ifndef GCC_MAKE_SHARED_LIB
-    MAKE_SHARED_LIB = $(CXX) -shared -fno-shared-data -o XXX -Wl,-soname,YYY
+    MAKE_SHARED_LIB = $(CXX) -shared -o XXX -Wl,-soname,YYY
 else
     MAKE_SHARED_LIB = $(GCC_MAKE_SHARED_LIB)
 endif


Index: festival.spec
===================================================================
RCS file: /cvs/extras/rpms/festival/devel/festival.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- festival.spec	19 Feb 2008 00:24:38 -0000	1.29
+++ festival.spec	22 Feb 2008 18:48:28 -0000	1.30
@@ -6,7 +6,7 @@
 Name: festival
 Summary: A free speech synthesis and text-to-speech system
 Version: %{festivalversion}
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 URL: http://www.cstr.ed.ac.uk/projects/festival/
 Group: Applications/Multimedia
@@ -126,6 +126,8 @@
 # in all of them.
 Patch92: festival-1.96-nitech-sltreferences.patch
 
+# -fno-shared-data has been obsolete since gcc 4.1
+Patch93: no-shared-data.patch
 
 BuildRequires: tetex
 BuildRequires: ncurses-devel, esound-devel
@@ -446,6 +448,7 @@
 %patch90 -p1 
 %patch91 -p1
 %patch92 -p1
+%patch93 -p1
 
 
 # zero length
@@ -792,6 +795,9 @@
 
 
 %changelog
+* Fri Feb 22 2008 Matthias Clasen  <mclasen at redhat.com> - 1.96-4
+- Fix the build with gcc 4.3
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.96-3
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list