summaryrefslogtreecommitdiff
path: root/package/picocom/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-26 09:46:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-26 09:46:14 +0100
commitda3fa3594adb8ac87d60807e02693121e232910b (patch)
treeab400d2a77236fc33b61d59fd697e66bfcf5c7a3 /package/picocom/patches/patch-Makefile
parent8bdfdf2c8fe9726ee0e778f7e73949580c9c59da (diff)
fix musl compile, update to latest stable version
Diffstat (limited to 'package/picocom/patches/patch-Makefile')
-rw-r--r--package/picocom/patches/patch-Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/package/picocom/patches/patch-Makefile b/package/picocom/patches/patch-Makefile
index 621e7c211..6c08b9d12 100644
--- a/package/picocom/patches/patch-Makefile
+++ b/package/picocom/patches/patch-Makefile
@@ -1,13 +1,15 @@
---- picocom-1.4.orig/Makefile 2004-08-13 13:18:38.000000000 +0200
-+++ picocom-1.4/Makefile 2011-01-21 21:02:02.096749132 +0100
-@@ -2,11 +2,12 @@
- VERSION=1.4
+--- picocom-1.7.orig/Makefile 2012-02-21 06:42:24.000000000 +0100
++++ picocom-1.7/Makefile 2013-12-26 09:43:38.000000000 +0100
+@@ -4,13 +4,14 @@ VERSION=1.7
+ UUCP_LOCK_DIR=/var/lock
# CC = gcc
--CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
--CFLAGS = -Wall -g
+-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" \
+CPPFLAGS ?=
-+CPPFLAGS += -DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
++CPPFLAGS+=-DVERSION_STR=\"$(VERSION)\" \
+ -DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\" \
+ -DHIGH_BAUD
+-CFLAGS = -Wall -g
+CFLAGS ?= -Wall -g
# LD = gcc