diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-03-12 07:54:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-03-12 07:54:19 +0000 |
commit | 31919e6fe94364633281f85620cd2290f445f2b5 (patch) | |
tree | 9d52e72124191e8acef5a3c864fbe38fa167131a /packages/picocom | |
parent | 74e9870920e9526454dfadcd0d086c940c625d12 (diff) |
picocom: add UUCP_LOCK_DIR define and one patch to get it built with gcc4
Diffstat (limited to 'packages/picocom')
-rw-r--r-- | packages/picocom/picocom/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/picocom/picocom/gcc4.patch | 12 | ||||
-rw-r--r-- | packages/picocom/picocom_1.4.bb | 9 |
3 files changed, 18 insertions, 3 deletions
diff --git a/packages/picocom/picocom/.mtn2git_empty b/packages/picocom/picocom/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/picocom/picocom/.mtn2git_empty diff --git a/packages/picocom/picocom/gcc4.patch b/packages/picocom/picocom/gcc4.patch new file mode 100644 index 0000000000..867ca11bf3 --- /dev/null +++ b/packages/picocom/picocom/gcc4.patch @@ -0,0 +1,12 @@ +Index: picocom-1.4/picocom.c +=================================================================== +--- picocom-1.4.orig/picocom.c 2004-08-12 13:45:11.000000000 +0200 ++++ picocom-1.4/picocom.c 2007-03-08 14:40:30.000000000 +0100 +@@ -37,6 +37,7 @@ + #include <sys/stat.h> + #include <sys/wait.h> + #include <limits.h> ++#include <bits/posix1_lim.h> + + #define _GNU_SOURCE + #include <getopt.h> diff --git a/packages/picocom/picocom_1.4.bb b/packages/picocom/picocom_1.4.bb index 04640903b5..8bc3b89e8c 100644 --- a/packages/picocom/picocom_1.4.bb +++ b/packages/picocom/picocom_1.4.bb @@ -1,10 +1,13 @@ -DESCRIPTION = "Picocom is a lightweight and minimal (~20K) dumb-terminal emulation program. " +DESCRIPTION = "Lightweight and minimal (~20K) dumb-terminal emulation program." SECTION = "console/utils" PRIORITY = "optional" LICENSE = "GPL" -SRC_URI = "http://efault.net/npat/hacks/picocom/dist/picocom-${PV}.tar.gz" +PR = "r1" -CFLAGS_append = ' -DVERSION_STR=\\"${PV}\\"' +SRC_URI = "http://efault.net/npat/hacks/picocom/dist/picocom-${PV}.tar.gz \ + file://gcc4.patch;patch=1" + +CFLAGS_append = ' -DVERSION_STR=\\"${PV}\\" -DUUCP_LOCK_DIR' do_install () { install -d ${D}${bindir} |