From cafa1fa00dfbafc61b8a91cf278dc8b299e04e2f Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 3 Mar 2010 15:20:19 +0000 Subject: [PATCH] - Add patch to fix dso linking. Bug 564851 --- speech-dispatcher-fixdso.patch | 11 +++++++++++ speech-dispatcher.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 speech-dispatcher-fixdso.patch diff --git a/speech-dispatcher-fixdso.patch b/speech-dispatcher-fixdso.patch new file mode 100644 index 0000000..c34d304 --- /dev/null +++ b/speech-dispatcher-fixdso.patch @@ -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@ diff --git a/speech-dispatcher.spec b/speech-dispatcher.spec index 569154f..9c4efe4 100644 --- a/speech-dispatcher.spec +++ b/speech-dispatcher.spec @@ -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 - 0.6.7-4 +- Add patch to fix dso linking. Bug 564851 + * Sat Jan 9 2010 Peter Robinson - 0.6.7-3 - Updated to the new python sysarch spec file reqs