]> git.pld-linux.org Git - packages/sox.git/blobdiff - sox-gsm.patch
- updated for 13.0.0
[packages/sox.git] / sox-gsm.patch
index 53bc49bfb1876e77bb6699198382fea3128a8cb1..b41bac45dffa555c51df9e1ca9970914e4603d5b 100644 (file)
@@ -1,9 +1,9 @@
---- sox-12.18.2/src/gsm.c.orig 2006-09-02 04:12:36.000000000 +0200
-+++ sox-12.18.2/src/gsm.c      2006-09-11 22:17:12.895313500 +0200
-@@ -31,7 +31,11 @@
- #if defined(ENABLE_GSM)
+--- sox-13.0.0/src/gsm.c.orig  2007-01-25 02:02:01.000000000 +0100
++++ sox-13.0.0/src/gsm.c       2007-02-17 21:35:51.300359570 +0100
+@@ -29,7 +29,11 @@
+ #include "st_i.h"
  
- #if defined(EXTERNAL_GSM)
+ #ifdef EXTERNAL_GSM
 +#ifdef HAVE_GSM_H
 +#include <gsm.h>
 +#else
  #else
  #include "libgsm/gsm.h"
  #endif
---- sox-12.18.2/src/wav.c.orig 2006-09-02 04:12:36.000000000 +0200
-+++ sox-12.18.2/src/wav.c      2006-09-11 22:17:35.360717500 +0200
-@@ -73,7 +73,11 @@
+--- sox-13.0.0/src/wav.c.orig  2007-02-06 14:45:37.000000000 +0100
++++ sox-13.0.0/src/wav.c       2007-02-17 21:36:08.057314493 +0100
+@@ -24,7 +24,11 @@
+ #include "ima_rw.h"
  #include "adpcm.h"
- #ifdef ENABLE_GSM
- #if defined(EXTERNAL_GSM)
+ #ifdef EXTERNAL_GSM
 +#ifdef HAVE_GSM_H
 +#include <gsm.h>
 +#else
  #else
  #include "libgsm/gsm.h"
  #endif
---- sox-12.18.2/configure.in.orig      2006-08-28 01:04:51.000000000 +0200
-+++ sox-12.18.2/configure.in   2006-09-11 22:18:03.286462750 +0200
-@@ -232,7 +232,7 @@
- then
-     if test "$enable_external_gsm" = yes
-     then
--        AC_CHECK_HEADERS(gsm/gsm.h, found_libgsm=yes)
-+        AC_CHECK_HEADERS(gsm/gsm.h, found_libgsm=yes, [AC_CHECK_HEADERS(gsm.h, [AC_DEFINE(HAVE_GSM_H) found_libgsm=yes])])
+--- sox-13.0.0/configure.ac.orig       2007-02-11 20:48:22.000000000 +0100
++++ sox-13.0.0/configure.ac    2007-02-17 21:36:55.888040211 +0100
+@@ -96,7 +96,7 @@
+ fi
  
-         if test "$found_libgsm" = yes
-         then
+ dnl Check for libgsm
+-AC_CHECK_HEADERS(gsm/gsm.h, found_libgsm=yes)
++AC_CHECK_HEADERS(gsm/gsm.h, found_libgsm=yes, [AC_CHECK_HEADERS(gsm.h, [AC_DEFINE(HAVE_GSM_H) found_libgsm=yes])])
+ if test "$found_libgsm" = yes; then
+     AC_CHECK_LIB(gsm, gsm_create, LIBS="$LIBS -lgsm")
+     AC_DEFINE(EXTERNAL_GSM, 1, [Define if you are using an external GSM library])
This page took 0.088037 seconds and 4 git commands to generate.