- Add patch to fix dso linking. Bug 564851

This commit is contained in:
Peter Robinson 2010-03-03 15:20:19 +00:00
parent a7e06e4a2b
commit cafa1fa00d
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- speech-dispatcher-0.6.7/src/c/clients/say/Makefile.in.orig 2010-03-03 14:45:42.000000000 +0000
+++ speech-dispatcher-0.6.7/src/c/clients/say/Makefile.in 2010-03-03 14:46:04.000000000 +0000
@@ -99,7 +99,7 @@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lpthread
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@

View File

@ -12,7 +12,7 @@
Name: speech-dispatcher
Version: 0.6.7
Release: 3%{?dist}
Release: 4%{?dist}
Summary: To provide a high-level device independent layer for speech synthesis
Group: System Environment/Libraries
@ -26,6 +26,7 @@ Source1: http://www.nsitonline.in/hemant/stuff/speechd-rpm/speech-dispatc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: http://www.nsitonline.in/hemant/stuff/speechd-rpm/speechd.patch
Patch1: speech-dispatcher-gcc44-0.6.7.patch
Patch2: speech-dispatcher-fixdso.patch
BuildRequires: python-setuptools-devel
BuildRequires: espeak-devel
@ -95,6 +96,7 @@ speechd python module
# patch needs further review as it has olpc specific changes in it.
#%patch0 -p1
%patch1 -p1 -b .gcc44
%patch2 -p1 -b .fixdso
%build
iconv -f ISO-8859-2 -t UTF-8 doc/speech-dispatcher-cs.texi -o doc/speech-dispatcher-cs_c.texi
@ -264,6 +266,9 @@ fi
%{python_sitelib}/speechd*
%changelog
* Wed Mar 3 2010 Peter Robinson <pbrobinson@gmail.com> - 0.6.7-4
- Add patch to fix dso linking. Bug 564851
* Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> - 0.6.7-3
- Updated to the new python sysarch spec file reqs