gnash-minimal: Fix building for uclibc by working around faulty argz.h test for uclib...
authorLeon Woestenberg <leon.woestenberg@gmail.com>
Mon, 12 May 2008 00:14:42 +0000 (00:14 +0000)
committerLeon Woestenberg <leon.woestenberg@gmail.com>
Mon, 12 May 2008 00:14:42 +0000 (00:14 +0000)
packages/gnash/gnash-minimal.inc

index d0bc8d6..06b4b9c 100644 (file)
@@ -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*"