diff options
-rw-r--r-- | libre/openttd/PKGBUILD | 17 | ||||
-rw-r--r-- | libre/openttd/openttd-1.5.3-gcc6.patch | 11 |
2 files changed, 4 insertions, 24 deletions
diff --git a/libre/openttd/PKGBUILD b/libre/openttd/PKGBUILD index 29a3ef664..e05236710 100644 --- a/libre/openttd/PKGBUILD +++ b/libre/openttd/PKGBUILD @@ -3,25 +3,16 @@ # Maintainer: André Silva <emulatorman@parabola.nu> pkgname=openttd -pkgver=1.6.1 -pkgrel=2.parabola1 +pkgver=1.7.0 +pkgrel=1.parabola1 pkgdesc='An engine for running Transport Tycoon Deluxe, without nonfree openttd-opensfx recommendation' arch=('i686' 'x86_64' 'armv7h') url='http://www.openttd.org' license=('GPL') depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz') optdepends=('openttd-opengfx: free graphics') -source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz" - openttd-1.5.3-gcc6.patch) -sha256sums=('9b08996e31c3485ef8dedfa1ab65147091593f3f11bd51eb7662ce5ea41363aa' - '3e9652e1401150c287b71595afbf268dc4379908519d7939ec4e46548026b7e9') - -prepare() { - cd ${pkgname}-${pkgver} - - # patch from fedora - patch -Np1 -i ../openttd-1.5.3-gcc6.patch -} +source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz") +sha256sums=('df9307f42a45ac57dff23fe5cfb9bdb2a3d676456e7c771de173de060c2a99e0') build() { cd ${pkgname}-${pkgver} diff --git a/libre/openttd/openttd-1.5.3-gcc6.patch b/libre/openttd/openttd-1.5.3-gcc6.patch deleted file mode 100644 index 65d9991d6..000000000 --- a/libre/openttd/openttd-1.5.3-gcc6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- openttd-1.5.3/src/safeguards.h.orig 2016-02-02 16:21:10.378533175 +0000 -+++ openttd-1.5.3/src/safeguards.h 2016-02-02 16:21:15.269555568 +0000 -@@ -21,6 +21,8 @@ - #ifndef SAFEGUARDS_H - #define SAFEGUARDS_H - -+#include <stdlib.h> -+ - /* Use MallocT instead. */ - #define malloc SAFEGUARD_DO_NOT_USE_THIS_METHOD - |