From: twittner Date: Sat, 27 Jan 2007 13:42:54 +0000 (+0000) Subject: - an attempt to take into account bigendian archs (define -DARCH_BIG) X-Git-Tag: auto/th/espeak-1_19-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fespeak.git;a=commitdiff_plain;h=e02973f0349392e0f5a4cd45b5e083f830afd32f - an attempt to take into account bigendian archs (define -DARCH_BIG) - rel. 0.3 Changed files: espeak-ac_am.patch -> 1.6 espeak.spec -> 1.15 --- diff --git a/espeak-ac_am.patch b/espeak-ac_am.patch index 6f95cbc..eaaa67d 100644 --- a/espeak-ac_am.patch +++ b/espeak-ac_am.patch @@ -10,7 +10,7 @@ diff -Nur o.speak-1.14-source/Makefile.am n.speak-1.14-source/Makefile.am diff -Nur o.speak-1.14-source/configure.ac n.speak-1.14-source/configure.ac --- o.speak-1.14-source/configure.ac 1970-01-01 01:00:00.000000000 +0100 +++ n.speak-1.14-source/configure.ac 2006-09-23 20:45:27.000000000 +0200 -@@ -0,0 +1,43 @@ +@@ -0,0 +1,45 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + @@ -46,6 +46,8 @@ diff -Nur o.speak-1.14-source/configure.ac n.speak-1.14-source/configure.ac +AC_FUNC_STAT +AC_CHECK_FUNCS([memset pow setlocale sqrt strchr Pa_IsStreamActive]) + ++AC_C_BIGENDIAN(AC_SUBST(ARCH_BIG,[-DARCH_BIG]),AC_SUBST(ARCH_BIG,[]),) ++ +if test "$datadir" = "\${prefix}/share" ; then + datadirectory=$ac_default_prefix/share +else @@ -58,7 +60,7 @@ diff -Nur o.speak-1.14-source/src/Makefile.am n.speak-1.14-source/src/Makefile.a --- o.speak-1.14-source/src/Makefile.am 1970-01-01 01:00:00.000000000 +0100 +++ n.speak-1.14-source/src/Makefile.am 2006-09-23 22:18:52.000000000 +0200 @@ -0,0 +1,16 @@ -+AM_CXXFLAGS = -Wall -pedantic -fno-exceptions ++AM_CXXFLAGS = -Wall -pedantic -fno-exceptions @ARCH_BIG@ + +bin_PROGRAMS = speak +speak_SOURCES = speak.cpp diff --git a/espeak.spec b/espeak.spec index b69271a..a2ec32e 100644 --- a/espeak.spec +++ b/espeak.spec @@ -6,7 +6,7 @@ Summary: eSpeak - speech synthesizer for English and other languages Summary(pl): eSpeak - syntezator mowy dla jêzyka angielskiego i innych Name: espeak Version: 1.19 -Release: 0.2 +Release: 0.3 License: GPL v2 Group: Applications Source0: http://dl.sourceforge.net/espeak/%{name}-%{version}-source.zip