summaryrefslogtreecommitdiff
path: root/recipes/libgsm/libgsm-1.0.10/libgsm_patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/libgsm/libgsm-1.0.10/libgsm_patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/libgsm/libgsm-1.0.10/libgsm_patch')
-rw-r--r--recipes/libgsm/libgsm-1.0.10/libgsm_patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/libgsm/libgsm-1.0.10/libgsm_patch b/recipes/libgsm/libgsm-1.0.10/libgsm_patch
new file mode 100644
index 0000000000..854f2fc8cc
--- /dev/null
+++ b/recipes/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