rpms/espeak/F-7 espeak-1.28-synthdata_strlen.patch, NONE, 1.1 espeak.spec, 1.9, 1.10 sources, 1.9, 1.10

Francois Aucamp (faucamp) fedora-extras-commits at redhat.com
Mon Aug 20 09:57:31 UTC 2007


Author: faucamp

Update of /cvs/pkgs/rpms/espeak/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7389

Modified Files:
	espeak.spec sources 
Added Files:
	espeak-1.28-synthdata_strlen.patch 
Log Message:
- Update to version 1.28
- Added "synthdata_strlen" patch to fix memory allocation issue on x86_64 (RHBZ #252712)
- Modified %%prep to build against portaudio v19 for F8 and later
- Upstream license changed from GPLv2+ to GPLv3+


espeak-1.28-synthdata_strlen.patch:

--- NEW FILE espeak-1.28-synthdata_strlen.patch ---
diff -uNr espeak-1.28-source/src/synthdata.cpp espeak-1.28-source-mod/src/synthdata.cpp
--- espeak-1.28-source/src/synthdata.cpp	2007-07-16 19:54:22.000000000 +0200
+++ espeak-1.28-source-mod/src/synthdata.cpp	2007-08-20 10:13:37.000000000 +0200
@@ -635,7 +635,7 @@
 			if(ix==2)
 			{
 				soundicon_tab[n_soundicon_tab].name = c1;
-				p = Alloc(strlen(string+1));
+				p = Alloc(strlen(string)+1);
 				strcpy(p,string);
 				soundicon_tab[n_soundicon_tab].filename = p;
 				soundicon_tab[n_soundicon_tab++].length = 0;


Index: espeak.spec
===================================================================
RCS file: /cvs/pkgs/rpms/espeak/F-7/espeak.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- espeak.spec	5 Jun 2007 15:25:38 -0000	1.9
+++ espeak.spec	20 Aug 2007 09:56:58 -0000	1.10
@@ -1,13 +1,14 @@
 Name:           espeak
-Version:        1.25
+Version:        1.28
 Release:        1%{?dist}
 Summary:        Software speech synthesizer (text-to-speech)
 
 Group:          Applications/Multimedia
-License:        GPL
+License:        GPLv3+
 URL:            http://espeak.sourceforge.net
 Source0:        http://kent.dl.sourceforge.net/sourceforge/espeak/espeak-%{version}-source.zip
 Patch0:         espeak-1.23-makefile_nostaticlibs.patch
+Patch1:         espeak-1.28-synthdata_strlen.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  portaudio-devel
@@ -39,11 +40,16 @@
 %prep
 %setup -q -n espeak-%{version}-source
 %patch0 -p1 -b .nostaticlibs
+%patch1 -p1 -b .synthdata_strlen
 # Fix file permissions
 find . -type f -exec chmod 0644 {} ";"
 # Prepare documentation
 mv docs html
 sed -i 's/\r//' License.txt
+%if 0%{?fedora} >= 8
+    # F8 uses portaudio v19 - compile against that (see ReadMe)
+    cp -f src/portaudio19.h src/portaudio.h
+%endif
 
 
 %build
@@ -83,6 +89,16 @@
 
 
 %changelog
+* Mon Aug 20 2007 Francois Aucamp <faucamp at csir.co.za> - 1.28-1
+- Update to version 1.28
+- Added "synthdata_strlen" patch to fix memory allocation issue on x86_64 (RHBZ #252712)
+- Modified %%prep to build against portaudio v19 for F8 and later
+- Upstream license changed from GPLv2+ to GPLv3+
+
+* Tue Jun 19 2007 Francois Aucamp <faucamp at csir.co.za> - 1.26-1
+- Update to version 1.26
+- Modified %%prep to build against portaudio v19
+
 * Tue Jun 05 2007 Francois Aucamp <faucamp at csir.co.za> - 1.25-1
 - Update to version 1.25
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/espeak/F-7/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	5 Jun 2007 15:25:38 -0000	1.9
+++ sources	20 Aug 2007 09:56:58 -0000	1.10
@@ -1 +1 @@
-f626d1d7b07213a90a64ab11539a2f6e  espeak-1.25-source.zip
+6eb2ee58909d2819550b1d016f30da74  espeak-1.28-source.zip




More information about the fedora-extras-commits mailing list