summaryrefslogtreecommitdiff
path: root/package/comgt/patches
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/comgt/patches
Initial import
Diffstat (limited to 'package/comgt/patches')
-rw-r--r--package/comgt/patches/patch-comgt_0_32_Makefile33
-rw-r--r--package/comgt/patches/patch-comgt_h14
2 files changed, 47 insertions, 0 deletions
diff --git a/package/comgt/patches/patch-comgt_0_32_Makefile b/package/comgt/patches/patch-comgt_0_32_Makefile
new file mode 100644
index 000000000..29a6dbfdc
--- /dev/null
+++ b/package/comgt/patches/patch-comgt_0_32_Makefile
@@ -0,0 +1,33 @@
+$Id$
+--- comgt.0.32.orig/Makefile 2006-10-20 16:49:46.000000000 +0200
++++ comgt.0.32/Makefile 2006-12-05 18:03:37.000000000 +0100
+@@ -23,8 +23,6 @@
+ #
+ #
+
+-LIB = -L/usr/local/lib
+-INC = -I/usr/local/include
+ EXE = /usr/local/bin
+ MAN = /usr/share/man/man1
+ CPROG = comgt
+@@ -33,9 +31,6 @@ SCRIPTSRC = ./scripts/
+ BIN = $(CPROG)
+ MANP = comgt.1 sigmon.1
+
+-CFLAGS = -c
+-LDFLAGS =
+-
+ all: $(BIN)
+
+ install:
+@@ -72,8 +67,8 @@ clean:
+
+
+ comgt: comgt.o
+- cc comgt.o $(LDFLAGS) -o comgt
++ $(CC) comgt.o $(LDFLAGS) -o comgt
+
+ comgt.o: comgt.c comgt.h
+- cc comgt.c $(CFLAGS)
++ $(CC) comgt.c -c $(CFLAGS)
+
diff --git a/package/comgt/patches/patch-comgt_h b/package/comgt/patches/patch-comgt_h
new file mode 100644
index 000000000..fe715df4f
--- /dev/null
+++ b/package/comgt/patches/patch-comgt_h
@@ -0,0 +1,14 @@
+$Id$
+--- comgt.0.32.orig/comgt.h 2006-10-20 16:49:46.000000000 +0200
++++ comgt.0.32/comgt.h 2006-12-06 13:10:54.000000000 +0100
+@@ -470,8 +470,8 @@ char _SETAPN_code[]=
+ if a=0 goto apnerror\n\
+ if a>32 goto apnerror\n\
+ :enterapn\n\
+- send \"AT+CGDCONT=1,\\\"IP\\\",\\\"\n\
+- send $c\n\
++ send \"AT+CGDCONT=1,\\\"IP\\\",\\\"\"\n\
++ send $x\n\
+ send \"\\\"^m\"\n\
+ waitfor 20 \"OK\",\"ERR\"\n\
+ if % = -1 goto timeerror\n\