[oe-commits] org.oe.dev picocom: add UUCP_LOCK_DIR define and one patch to get it built with gcc4
hrw commit
openembedded-commits at lists.openembedded.org
Mon Mar 12 08:24:45 UTC 2007
picocom: add UUCP_LOCK_DIR define and one patch to get it built with gcc4
Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: d475ef60528ca38e050166ebe1d3b28dfd9d3efa
ViewMTN: http://monotone.openembedded.org/revision.psp?id=d475ef60528ca38e050166ebe1d3b28dfd9d3efa
Files:
1
packages/picocom/picocom
packages/picocom/picocom/gcc4.patch
packages/picocom/picocom_1.4.bb
Diffs:
#
# mt diff -rccbbf95d21d99ceeb1ff4499e3e502f86ff66645 -rd475ef60528ca38e050166ebe1d3b28dfd9d3efa
#
#
#
# add_dir "packages/picocom/picocom"
#
# add_file "packages/picocom/picocom/gcc4.patch"
# content [afd42af62d8e3849896810a2dd4f839320a6dc3b]
#
# patch "packages/picocom/picocom_1.4.bb"
# from [9d09e4db989cf86761eba302cf6b2b26c650d8db]
# to [f85612521e94f0f4526a2b4bb121b141affa9b91]
#
============================================================
--- packages/picocom/picocom/gcc4.patch afd42af62d8e3849896810a2dd4f839320a6dc3b
+++ packages/picocom/picocom/gcc4.patch afd42af62d8e3849896810a2dd4f839320a6dc3b
@@ -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>
============================================================
--- packages/picocom/picocom_1.4.bb 9d09e4db989cf86761eba302cf6b2b26c650d8db
+++ packages/picocom/picocom_1.4.bb f85612521e94f0f4526a2b4bb121b141affa9b91
@@ -1,11 +1,14 @@
-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}
install -m 0755 ${PN} pcasc pcxm pcym pczm ${D}${bindir}/
More information about the Openembedded-commits
mailing list