OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 22-Mar-2008 11:10:59
Branch: HEAD Handle: 2008032210105801
Modified files:
openpkg-src/asterisk-flite
asterisk-flite.patch asterisk-flite.spec
Log:
fix building by using correct library link order
Summary:
Revision Changes Path
1.2 +11 -2 openpkg-src/asterisk-flite/asterisk-flite.patch
1.3 +1 -1 openpkg-src/asterisk-flite/asterisk-flite.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/asterisk-flite/asterisk-flite.patch
============================================================================
$ cvs diff -u -r1.1 -r1.2 asterisk-flite.patch
--- openpkg-src/asterisk-flite/asterisk-flite.patch 20 Mar 2008 18:32:47
-0000 1.1
+++ openpkg-src/asterisk-flite/asterisk-flite.patch 22 Mar 2008 10:10:58
-0000 1.2
@@ -1,6 +1,6 @@
Index: Makefile
--- Makefile.orig 2007-01-11 20:07:14 +0100
-+++ Makefile 2008-03-20 19:20:17 +0100
++++ Makefile 2008-03-22 11:09:30 +0100
@@ -39,7 +39,7 @@
OPTIMIZE=-O6
@@ -10,6 +10,15 @@
CFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE
CFLAGS+=$(OPTIMIZE)
+@@ -54,7 +54,7 @@
+ CFLAGS+=-DASTERISK_VERSION=0
+ endif
+
+-LIBS+=-lm -lflite -lflite_cmulex -lflite_usenglish -lflite_cmu_us_kal
++LIBS+=-lflite_cmulex -lflite_usenglish -lflite_cmu_us_kal -lflite -lm
+
+ all: $(APPS)
+
@@ -68,7 +68,7 @@
$(CC) -pipe $(INCLUDE) $(CFLAGS) -c -o app_flite.o app_flite.c
@@ -21,7 +30,7 @@
@if [ -d $(ASTERISKMODDIR) ]; then \
Index: app_flite.c
--- app_flite.c.orig 2007-01-11 20:07:14 +0100
-+++ app_flite.c 2008-03-20 19:19:18 +0100
++++ app_flite.c 2008-03-22 11:07:56 +0100
@@ -38,10 +38,13 @@
0 == Asterisk 1.0.x
2 == Asterisk 1.2.x
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/asterisk-flite/asterisk-flite.spec
============================================================================
$ cvs diff -u -r1.2 -r1.3 asterisk-flite.spec
--- openpkg-src/asterisk-flite/asterisk-flite.spec 21 Mar 2008 16:51:01
-0000 1.2
+++ openpkg-src/asterisk-flite/asterisk-flite.spec 22 Mar 2008 10:10:59
-0000 1.3
@@ -32,7 +32,7 @@
Group: VoIP
License: GPL
Version: 0.5
-Release: 20080321
+Release: 20080322
# list of sources
Source0:
http://switch.dl.sourceforge.net/asterisk-flite/asterisk-flite-%{version}.tar.gz
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]