summaryrefslogtreecommitdiff
path: root/packages/libgsm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libgsm')
-rw-r--r--packages/libgsm/.mtn2git_empty0
-rw-r--r--packages/libgsm/libgsm-1.0.10/.mtn2git_empty0
-rw-r--r--packages/libgsm/libgsm-1.0.10/libgsm_patch34
3 files changed, 34 insertions, 0 deletions
diff --git a/packages/libgsm/.mtn2git_empty b/packages/libgsm/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libgsm/.mtn2git_empty
diff --git a/packages/libgsm/libgsm-1.0.10/.mtn2git_empty b/packages/libgsm/libgsm-1.0.10/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libgsm/libgsm-1.0.10/.mtn2git_empty
diff --git a/packages/libgsm/libgsm-1.0.10/libgsm_patch b/packages/libgsm/libgsm-1.0.10/libgsm_patch
index e69de29bb2..854f2fc8cc 100644
--- a/packages/libgsm/libgsm-1.0.10/libgsm_patch
+++ b/packages/libgsm/libgsm-1.0.10/libgsm_patch
@@ -0,0 +1,34 @@
+--- Makefile 1996-07-02 16:36:06.000000000 +0200
++++ Makefile.new 2004-09-16 13:12:28.000000000 +0200
+@@ -80,7 +80,7 @@
+
+ GSM_INSTALL_ROOT = $(INSTALL_ROOT)
+ GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
+-GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc
++GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include/gsm
+ GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
+
+
+@@ -131,6 +131,7 @@
+
+ CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
+ $(WAV49) $(CCINC) -I$(INC)
++CFLAGS_append = -I $(INC) -c
+ ######### It's $(CC) $(CFLAGS)
+
+ LFLAGS = $(LDFLAGS) $(LDINC)
+@@ -274,12 +275,12 @@
+ # Default rules
+
+ .c.o:
+- $(CC) $(CFLAGS) $?
++ $(CC) $(CFLAGS_append) $?
+ @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
+
+ # Target rules
+
+-all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
++all: $(LIBGSM)
+ @-echo $(ROOT): Done.
+
+ tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result