summaryrefslogtreecommitdiff
path: root/packages/gnash
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2008-05-12 00:14:42 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-05-12 00:14:42 +0000
commit3edc1f255e687f4c3033c13051a0cdc6b7277fc9 (patch)
treece8e72d7451be336834b16501c526763eb817da1 /packages/gnash
parent8b565072694f0dd213e48eb47a83ee31eecccab8 (diff)
gnash-minimal: Fix building for uclibc by working around faulty argz.h test for uclibc, using _GNU_SOURCE.
Diffstat (limited to 'packages/gnash')
-rw-r--r--packages/gnash/gnash-minimal.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gnash/gnash-minimal.inc b/packages/gnash/gnash-minimal.inc
index d0bc8d62a0..06b4b9c6ec 100644
--- a/packages/gnash/gnash-minimal.inc
+++ b/packages/gnash/gnash-minimal.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v7 featu
HOMEPAGE = "http://www.gnu.org/software/gnash"
LICENSE = "GPL-2"
DEPENDS = "agg libxml2 libmad zlib boost jpeg pango curl freetype"
-PR = "r4"
+PR = "r5"
SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2"
S = ${WORKDIR}/gnash-${PV}
@@ -39,6 +39,10 @@ EXTRA_OECONF="--enable-gui=gtk \
--with-top-level=${STAGING_DIR_HOST}/usr \
"
+# the test for error_t is wrong for uclibc, needs _GNU_SOURCE for correct
+# detection because uclibc does not have argz.h which enables error_t
+CFLAGS += " -D_GNU_SOURCE "
+
PACKAGES =+ " libgnashamf libgnashbase libgnashserver libgnashmedia libltdl"
FILES_libltdl = "${libdir}/gnash/libltdl*.so*"