[oe-commits] Koen Kooi : e-uae: fix build

GIT User account git at amethyst.openembedded.net
Mon Nov 17 12:27:16 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9ee8384a6b7a2860999223e01d13dcd858da0349
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9ee8384a6b7a2860999223e01d13dcd858da0349

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Nov 17 13:26:25 2008 +0100

e-uae: fix build

---

 packages/uae/e-uae_0.8.28.bb       |    6 +++++-
 packages/uae/files/configure.patch |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/packages/uae/e-uae_0.8.28.bb b/packages/uae/e-uae_0.8.28.bb
index f8f95e8..388f3cc 100644
--- a/packages/uae/e-uae_0.8.28.bb
+++ b/packages/uae/e-uae_0.8.28.bb
@@ -3,7 +3,7 @@ SECTION = "base"
 PRIORITY = "optional"
 DEPENDS = "virtual/libsdl zlib"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://rcdrummond.net/uae/e-uae-${PV}/e-uae-${PV}.tar.bz2 \
            file://configure.patch;patch=1"
@@ -20,6 +20,10 @@ CFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
 CXXFLAGS_append = " -DSTAT_STATFS2_BSIZE=1 "
 PARALLEL_MAKE = ""
 
+export S
+export PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config"
+
 do_configure_prepend () {
+	sed -i -e s:getline:etline:g ./src/gui-none/nogui.c
 	touch NEWS AUTHORS ChangeLog
 }
diff --git a/packages/uae/files/configure.patch b/packages/uae/files/configure.patch
index bd2ecce..23df6b9 100644
--- a/packages/uae/files/configure.patch
+++ b/packages/uae/files/configure.patch
@@ -5,5 +5,5 @@
    export CFLAGS=$CFLAGS_FOR_BUILD
    mkdir -p src/tools
 -  cd  src/tools && ../../"$srcdir"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
-+  cd  src/tools && "$srcdir"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
++  cd  src/tools && "$S"/src/tools/configure --cache-file=/dev/null --host=$build --target=$host
  fi





More information about the Openembedded-commits mailing list