diff --git a/community/simutrans/PKGBUILD b/community/simutrans/PKGBUILD index a12b38cd4..31c9578d7 100644 --- a/community/simutrans/PKGBUILD +++ b/community/simutrans/PKGBUILD @@ -9,8 +9,8 @@ # - get rid of a bad gcc flag in Makefile pkgname=simutrans -pkgver=120.1.1 -_pkgver=120-1-1 +pkgver=120.1.2 +_pkgver=120-1-2 pkgrel=1 pkgdesc="An open source transportation simulation game" arch=('i686' 'x86_64') @@ -25,8 +25,8 @@ source=(http://downloads.sourceforge.net/$pkgname/$pkgname-src-$_pkgver.zip path-for-game-data.patch config.patch simutrans.desktop) -md5sums=('56e8fe355ba7dc92e64fff935ea74d27' - 'f64ec240c1582b863f748bf190b3bd1b' +md5sums=('516c7c6fbd0882a2ef0e29589cb3b7bd' + '4ab1d787772fc279181c1bc89dd42bf9' 'c87d9a9910bc371df5d50f7f1ec298bb' 'e716340d372af264ca05510facfe5d2c' 'c2f4e494168e235380373974c91a0803' diff --git a/community/simutrans/no-optimise.patch b/community/simutrans/no-optimise.patch index 1c46dcda3..bcf2ff15c 100644 --- a/community/simutrans/no-optimise.patch +++ b/community/simutrans/no-optimise.patch @@ -1,14 +1,16 @@ diff -Naur simutrans.orig/Makefile simutrans/Makefile --- simutrans.orig/Makefile 2014-11-20 17:50:34.948410000 +0100 +++ simutrans/Makefile 2014-11-20 17:51:43.936577860 +0100 -@@ -76,15 +76,6 @@ +@@ -76,17 +76,6 @@ SDL_CONFIG ?= sdl-config SDL2_CONFIG ?= sdl2-config -ifneq ($(OPTIMISE),) - CFLAGS += -O3 - ifeq ($(findstring $(OSTYPE), amiga),) -- CFLAGS += -minline-all-stringops +- ifneq ($(findstring $(CXX), clang),) +- CFLAGS += -minline-all-stringops +- endif - endif -else - CFLAGS += -O