Group :: Sound
RPM: sox
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: sox-13.0.0-alt-gsm.patch
Download
Download
diff --git a/sox/Makefile.am b/sox/Makefile.am
index 55a8b70..4963dd1 100644
--- a/sox/Makefile.am
+++ b/sox/Makefile.am
@@ -2,8 +2,8 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = lpc10 libgsm src
-DIST_SUBDIRS = lpc10 libgsm src
+SUBDIRS = lpc10 src
+DIST_SUBDIRS = lpc10 src
RM = rm -f
diff --git a/sox/configure.ac b/sox/configure.ac
index c769e59..6c9b95b 100755
--- a/sox/configure.ac
+++ b/sox/configure.ac
@@ -412,7 +412,7 @@ AC_SUBST(LADSPA_PATH)
dnl Generate output files.
AX_CREATE_STDINT_H(src/soxstdint.h)
-AC_CONFIG_FILES(Makefile src/Makefile libgsm/Makefile lpc10/Makefile)
+AC_CONFIG_FILES(Makefile src/Makefile lpc10/Makefile)
AC_OUTPUT
if test "$found_libgsm" = "yes"; then
diff --git a/sox/src/gsm.c b/sox/src/gsm.c
index e1a8e63..54fb134 100644
--- a/sox/src/gsm.c
+++ b/sox/src/gsm.c
@@ -29,7 +29,7 @@
#include "sox_i.h"
#ifdef EXTERNAL_GSM
-#include <gsm/gsm.h>
+#include <gsm.h>
#else
#include "../libgsm/gsm.h"
#endif
diff --git a/sox/src/wav.c b/sox/src/wav.c
index ec917bb..4a478a1 100644
--- a/sox/src/wav.c
+++ b/sox/src/wav.c
@@ -24,7 +24,7 @@
#include "ima_rw.h"
#include "adpcm.h"
#ifdef EXTERNAL_GSM
-#include <gsm/gsm.h>
+#include <gsm.h>
#else
#include "../libgsm/gsm.h"
#endif