diff options
Diffstat (limited to 'packages/openttd')
-rw-r--r-- | packages/openttd/files/openttd_0.6.2-buildfix.patch (renamed from packages/openttd/files/openttd_0.6.0-buildfix.patch) | 10 | ||||
-rw-r--r-- | packages/openttd/openttd.inc | 4 | ||||
-rw-r--r-- | packages/openttd/openttd_0.6.0.bb | 8 | ||||
-rw-r--r-- | packages/openttd/openttd_0.6.2.bb | 9 |
4 files changed, 16 insertions, 15 deletions
diff --git a/packages/openttd/files/openttd_0.6.0-buildfix.patch b/packages/openttd/files/openttd_0.6.2-buildfix.patch index d815cfc9c6..483ff492a9 100644 --- a/packages/openttd/files/openttd_0.6.0-buildfix.patch +++ b/packages/openttd/files/openttd_0.6.2-buildfix.patch @@ -1,8 +1,8 @@ -Index: openttd-0.6.0-beta4/config.lib +Index: openttd-0.6.2/config.lib =================================================================== ---- openttd-0.6.0-beta4.orig/config.lib 2008-02-20 20:24:58.000000000 +0100 -+++ openttd-0.6.0-beta4/config.lib 2008-02-20 20:26:55.000000000 +0100 -@@ -1255,7 +1255,7 @@ +--- openttd-0.6.2.orig/config.lib 2008-08-02 01:52:22.000000000 +0200 ++++ openttd-0.6.2/config.lib 2008-09-23 08:57:53.000000000 +0200 +@@ -1247,7 +1247,7 @@ if [ -z "$6" ]; then compiler="$3" else @@ -11,7 +11,7 @@ Index: openttd-0.6.0-beta4/config.lib fi machine=`eval $compiler $9 2>/dev/null` ret=$? -@@ -1271,11 +1271,6 @@ +@@ -1263,11 +1263,6 @@ exit 1 fi diff --git a/packages/openttd/openttd.inc b/packages/openttd/openttd.inc index a27da0fd4c..b1a5e956d7 100644 --- a/packages/openttd/openttd.inc +++ b/packages/openttd/openttd.inc @@ -9,7 +9,7 @@ LICENSE = "GPLv2" DEPENDS = "libsdl-net libpng zlib freetype fontconfig" -SRC_URI = "${SOURCEFORGE_MIRROR}/openttd/openttd-${PV}-source.tar.bz2" +SRC_URI = "http://binaries.openttd.org/releases/${PV}/${P}-source.tar.bz2" APPIMAGE = "media/openttd.48.png" @@ -30,7 +30,7 @@ do_configure() { --prefix-dir=${prefix} \ --binary-dir=bin \ --with-midi=/bin/true \ - --with-zlib \ + --with-zlib=${STAGING_LIBDIR} \ --with-png \ --with-freetype \ --cc-build=gcc \ diff --git a/packages/openttd/openttd_0.6.0.bb b/packages/openttd/openttd_0.6.0.bb deleted file mode 100644 index 893551ac59..0000000000 --- a/packages/openttd/openttd_0.6.0.bb +++ /dev/null @@ -1,8 +0,0 @@ -require openttd.inc - -PR = "r1" - -SRC_URI += "file://openttd_0.6.0-buildfix.patch;patch=1" - - - diff --git a/packages/openttd/openttd_0.6.2.bb b/packages/openttd/openttd_0.6.2.bb new file mode 100644 index 0000000000..a8a06738f4 --- /dev/null +++ b/packages/openttd/openttd_0.6.2.bb @@ -0,0 +1,9 @@ +require openttd.inc + +PR = "r0" + +# When upgrading this recipe make sure to refresh this patch. +SRC_URI += "file://openttd_${PV}-buildfix.patch;patch=1" + + + |