[oe-commits] org.oe.dev gnash-minimal: Fix building for uclibc by working around faulty argz.h test for uclibc, using _GNU_SOURCE.

likewise commit oe at amethyst.openembedded.net
Mon May 12 00:17:26 UTC 2008


gnash-minimal: Fix building for uclibc by working around faulty argz.h test for uclibc, using _GNU_SOURCE.

Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: 28f2be15a1987cef44b7ffbdc930f5e483a49de4
ViewMTN: http://monotone.openembedded.org/revision/info/28f2be15a1987cef44b7ffbdc930f5e483a49de4
Files:
1
packages/gnash/gnash-minimal.inc
Diffs:

#
# mt diff -r4b02add2b83e66d45ff3e840056487a7274d9011 -r28f2be15a1987cef44b7ffbdc930f5e483a49de4
#
#
#
# patch "packages/gnash/gnash-minimal.inc"
#  from [1bee048015c6fd48b776cf485a13dbb2f2e82b77]
#    to [4f073317393d7ee6d728899ab795f4b07e013bf5]
#
============================================================
--- packages/gnash/gnash-minimal.inc	1bee048015c6fd48b776cf485a13dbb2f2e82b77
+++ packages/gnash/gnash-minimal.inc	4f073317393d7ee6d728899ab795f4b07e013bf5
@@ -2,7 +2,7 @@ DEPENDS = "agg libxml2 libmad zlib boost
 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*"






More information about the Openembedded-commits mailing list