summaryrefslogtreecommitdiff
path: root/libre/openttd
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-05-06 14:29:17 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-05-06 14:29:17 -0500
commitf730d9c78092e7920c09305c4b4ca95980951df1 (patch)
treefb308dadb7383828c668f69a7b429456955bd989 /libre/openttd
parentd07856e739aacf2fd6fd173059c2f9e97bb0046e (diff)
openttd 1.7.0-1.parabola1: updating version
Diffstat (limited to 'libre/openttd')
-rw-r--r--libre/openttd/PKGBUILD17
-rw-r--r--libre/openttd/openttd-1.5.3-gcc6.patch11
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
-