summaryrefslogtreecommitdiff
path: root/libopie
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2004-05-09 16:38:32 +0000
committerGerald Britton <gbritton@doomcom.org>2004-05-09 16:38:32 +0000
commitf3bd8ce1505b4fc05c307e24f05af43381af88d9 (patch)
tree63ad62e6dffb52e30b1ba1fed1a26d73dd960ab0 /libopie
parent22d5e501977a8106cd49b98884031b2392a8c0ca (diff)
add libopie2 patch to follow posix rules for including regex.h
BKrev: 409e5e889twL9adDXiCiFmxQwXwgjw
Diffstat (limited to 'libopie')
-rw-r--r--libopie/libopie2/ossqlitedriver-posix-regex-include.patch0
-rw-r--r--libopie/libopie2_cvs.oe10
2 files changed, 9 insertions, 1 deletions
diff --git a/libopie/libopie2/ossqlitedriver-posix-regex-include.patch b/libopie/libopie2/ossqlitedriver-posix-regex-include.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/libopie/libopie2/ossqlitedriver-posix-regex-include.patch
diff --git a/libopie/libopie2_cvs.oe b/libopie/libopie2_cvs.oe
index 005d171697..af30b37fbe 100644
--- a/libopie/libopie2_cvs.oe
+++ b/libopie/libopie2_cvs.oe
@@ -8,7 +8,8 @@ DEPENDS = "virtual/libc libqpe-opie sqlite libpcap-0.7.2"
PROVIDES = "libopiecore2 libopiedb2 libopiemm2 libopienet2 libopiepim2 libopieui2"
PV = "1.1.4-cvs-${CVSDATE}"
-SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/libopie2;date=${CVSDATE}"
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/libopie2;date=${CVSDATE} \
+ file://${FILESDIR}/ossqlitedriver-posix-regex-include.patch;patch=1"
S = "${WORKDIR}/libopie2"
inherit qmake
@@ -22,6 +23,13 @@ EXTRA_QMAKEVARS_POST = ' DEFINES+=OPIE_NEW_MALLOC \
DEFINES+="OPIE_SOUND_FRAGMENT_SHIFT=16" \
DEFINES+="OPIE_WE_VERSION=15" '
+# uclibc doesn't have backtrace()
+python __anonymous () {
+ import oe, re
+ if (re.match('.*uclibc$', oe.data.getVar('TARGET_OS', d, 1)) != None):
+ oe.data.setVar("EXTRA_QMAKEVARS_POST_append", " DEFINES+=OPIE_NO_BACKTRACE ", d)
+}
+
do_compile() {
install -d ${STAGING_INCDIR}/opie2
for i in `find . -name "*.h"`