diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-02-10 03:30:16 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-02-10 03:30:16 +0000 |
commit | 8279fefa17db90860303fbd53a2e0fa79c3b8539 (patch) | |
tree | 5842254d6a7bcd8f807732777a754cce90e6f5a1 /packages | |
parent | f9b083e78b37f26877bdf769824ed8a20f3ef3c8 (diff) | |
parent | 3a5e610960e36d571ffaf39332a776c5e332e7e7 (diff) |
merge of '0cb718c4b71b8cd025b681dd7861a927c49006f9'
and '678aafb268a6d6220e4ccfcf905231ac20a5b722'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/kobodeluxe/files/buildfix.patch | 21 | ||||
-rw-r--r-- | packages/kobodeluxe/kobodeluxe_0.5.1.bb | 7 |
2 files changed, 27 insertions, 1 deletions
diff --git a/packages/kobodeluxe/files/buildfix.patch b/packages/kobodeluxe/files/buildfix.patch new file mode 100644 index 0000000000..01a97e14f2 --- /dev/null +++ b/packages/kobodeluxe/files/buildfix.patch @@ -0,0 +1,21 @@ +Index: kobodeluxe-0.5.1/graphics/gfxengine.cpp +=================================================================== +--- kobodeluxe-0.5.1.orig/graphics/gfxengine.cpp 2008-02-10 03:02:29.000000000 +0100 ++++ kobodeluxe-0.5.1/graphics/gfxengine.cpp 2008-02-10 03:03:45.000000000 +0100 +@@ -25,6 +25,7 @@ + + #include <string.h> + #include <math.h> ++#include <stdlib.h> + + #include "gfxengine.h" + #include "filters.h" +@@ -765,7 +766,7 @@ + return 0; + + if(_centered && !_fullscreen) +- SDL_putenv((char *)"SDL_VIDEO_CENTERED=1"); ++ putenv((char *)"SDL_VIDEO_CENTERED=1"); + + log_printf(DLOG, "Opening screen...\n"); + if(!SDL_WasInit(SDL_INIT_VIDEO)) diff --git a/packages/kobodeluxe/kobodeluxe_0.5.1.bb b/packages/kobodeluxe/kobodeluxe_0.5.1.bb index 0c9ae458f8..25f2f3ceb6 100644 --- a/packages/kobodeluxe/kobodeluxe_0.5.1.bb +++ b/packages/kobodeluxe/kobodeluxe_0.5.1.bb @@ -5,19 +5,24 @@ LICENSE = "GPL" AUTHOR = "David Olofson <david@olofson.net>" HOMEPAGE = "http://olofson.net/kobodl" +PR = "r1" + DEPENDS = "libsdl-image virtual/libsdl" RDEPENDS_${PN} = "${PN}-data" SRC_URI = "http://olofson.net/kobodl/download/KoboDeluxe-${PV}.tar.bz2 \ file://debian-kobo.patch;patch=1 \ + file://buildfix.patch;patch=1 \ " S = "${WORKDIR}/KoboDeluxe-${PV}" inherit autotools -EXTRA_OECONF = "--disable-sdltest" +export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config" + +EXTRA_OECONF = "--disable-opengl --disable-sdltest" PACKAGES += "${PN}-data" |