Browse Source

fix building by using correct library link order

master
parent
commit
962ea0d711
  1. 13
      asterisk-flite/asterisk-flite.patch
  2. 2
      asterisk-flite/asterisk-flite.spec

13
asterisk-flite/asterisk-flite.patch

@ -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 @@ Index: Makefile
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 @@ Index: Makefile
@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

2
asterisk-flite/asterisk-flite.spec

@ -32,7 +32,7 @@ Class: EVAL
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

Loading…
Cancel
Save