commit 42897eae4c68747403d89144ee32597fb3a1dda5
Author: Jan RÄ™korajski <[email protected]>
Date:   Sun Mar 15 22:04:55 2015 +0100

    - fix missing link libraries
    - rel 3

 link.patch   | 42 ++++++++++++++++++++++++++++++++++++++++++
 sphinx2.spec |  4 +++-
 2 files changed, 45 insertions(+), 1 deletion(-)
---
diff --git a/sphinx2.spec b/sphinx2.spec
index 6492762..d52c775 100644
--- a/sphinx2.spec
+++ b/sphinx2.spec
@@ -2,12 +2,13 @@ Summary:      Speech recognitnion engine
 Summary(pl.UTF-8):     System rozpoznawania mowy
 Name:          sphinx2
 Version:       0.6
-Release:       2
+Release:       3
 License:       BSD-like
 Group:         Applications/Communications
 Source0:       http://dl.sourceforge.net/cmusphinx/%{name}-%{version}.tar.gz
 # Source0-md5: 5fcd8e3b6c21334866f07c601f36b37e
 Patch0:                %{name}-wid.patch
+Patch1:                link.patch
 URL:           http://www.speech.cs.cmu.edu/sphinx/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -53,6 +54,7 @@ Statyczne wersje bibliotek sphinx2.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/link.patch b/link.patch
new file mode 100644
index 0000000..a79611a
--- /dev/null
+++ b/link.patch
@@ -0,0 +1,42 @@
+--- sphinx2-0.6/src/libsphinx2/Makefile.am~    2005-10-13 20:31:13.000000000 
+0200
++++ sphinx2-0.6/src/libsphinx2/Makefile.am     2015-03-15 21:53:45.643774536 
+0100
+@@ -88,7 +88,7 @@
+       word_fsg.c
+ 
+ 
+-# libsphinx2_la_LIBADD = -lc -lm 
$(top_srcdir)/src/libsphinx2fe/libsphinx2fe.la
++libsphinx2_la_LIBADD = -lm $(top_srcdir)/src/libsphinx2fe/libsphinx2fe.la
+ 
+ # [email protected] - Added for Solaris build
+ # LDADD = -L/usr/demo/SOUND/lib/ -laudio
+--- sphinx2-0.6/src/libsphinx2ad/Makefile.am~  2005-10-13 20:31:18.000000000 
+0200
++++ sphinx2-0.6/src/libsphinx2ad/Makefile.am   2015-03-15 21:54:09.890441367 
+0100
+@@ -22,6 +22,6 @@
+ 
+ libsphinx2ad_la_DEPENDENCIES = @ad_files@
+ 
+-libsphinx2ad_la_LIBADD = @ad_files@ @ad_libs@
++libsphinx2ad_la_LIBADD = -lm @ad_files@ @ad_libs@ 
$(top_srcdir)/src/libsphinx2/libsphinx2.la
+ 
+ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
+--- sphinx2-0.6/src/libsphinx2fe/Makefile.am~  2005-10-13 20:31:18.000000000 
+0200
++++ sphinx2-0.6/src/libsphinx2fe/Makefile.am   2015-03-15 21:54:37.323774887 
+0100
+@@ -8,6 +8,8 @@
+       fe_interface.c \
+       fe_sigproc.c
+ 
++libsphinx2fe_la_LIBADD = -lm
++
+ noinst_HEADERS = fe_internal.h
+ 
+ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
+--- sphinx2-0.6/src/Makefile.am~       2000-12-13 00:01:42.000000000 +0100
++++ sphinx2-0.6/src/Makefile.am        2015-03-15 22:01:55.940444527 +0100
+@@ -1,5 +1,5 @@
+-SUBDIRS = libsphinx2 \
+-      libsphinx2fe \
++SUBDIRS = libsphinx2fe \
++      libsphinx2 \
+       libsphinx2ad \
+       examples
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sphinx2.git/commitdiff/42897eae4c68747403d89144ee32597fb3a1dda5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to