From: Khem Raj Date: Tue, 26 Oct 2010 23:41:01 +0000 (-0700) Subject: kstars-embedded_0.8.5.bb: Fix complilation with gcc 4.5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9feccf3a7374f6ac7ffe2ec42855585c6ccdf515;p=openembedded.git kstars-embedded_0.8.5.bb: Fix complilation with gcc 4.5 Signed-off-by: Khem Raj --- diff --git a/recipes/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch b/recipes/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch new file mode 100644 index 0000000000..4004edebc4 --- /dev/null +++ b/recipes/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch @@ -0,0 +1,34 @@ +Index: kstars/kstars.cpp +=================================================================== +--- kstars.orig/kstars.cpp ++++ kstars/kstars.cpp +@@ -37,9 +37,9 @@ + #include + #include + +-#include +-#include +-#include ++#include ++#include ++#include + + #include "timedialog.h" + #include "locationdialog.h" +Index: kstars/skymap.cpp +=================================================================== +--- kstars.orig/skymap.cpp ++++ kstars/skymap.cpp +@@ -36,9 +36,9 @@ + #include + #include + +-#include +-#include +-#include ++#include ++#include ++#include + #include + + #include "kstars.h" diff --git a/recipes/kstars/kstars-embedded_0.8.5.bb b/recipes/kstars/kstars-embedded_0.8.5.bb index 8dac901873..a792972c48 100644 --- a/recipes/kstars/kstars-embedded_0.8.5.bb +++ b/recipes/kstars/kstars-embedded_0.8.5.bb @@ -5,9 +5,11 @@ LICENSE = "GPL" APPNAME = "kstars" APPTYPE = "binary" APPDESKTOP = "${WORKDIR}/apps/Applications" -PR = "r1" +PR = "r2" -SRC_URI = "http://kstars.sourceforge.net/kstars-embedded-${PV}.tar.gz" +SRC_URI = "http://kstars.sourceforge.net/kstars-embedded-${PV}.tar.gz \ + file://gcc45-compilation-fixes.patch \ + " S = "${WORKDIR}/kstars" inherit opie