summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFoolEcho2017-06-05 10:41:43 +0200
committerFoolEcho2017-06-05 10:41:43 +0200
commit3aa01ffadda7788237addd83e9203b1e945b56aa (patch)
treea3572c6caca40ce2f95b5d78bb665761d16a7a9d
parent1363c6b0bffbb518a8ae32d72c82b70963349639 (diff)
downloadaur-3aa01ffadda7788237addd83e9203b1e945b56aa.tar.gz
Update to 6.11.5
Fixed preprocessor options (SDL.h not found)
-rw-r--r--ChangeLog4
-rw-r--r--PKGBUILD6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f2edd1b2167e..d314e1558a3b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-06-05
+ * 6.11-5 :
+ Fixed preprocessor options (SDL.h not found)
+
2013-02-28 FoolEcho <foolecho at gmail dot com>
* 6-11-4 :
diff --git a/PKGBUILD b/PKGBUILD
index 4fd41ceef2ea..4a84a171df7c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zelda-roth-fr
_name=zelda-roth
pkgver=6.11
-pkgrel=4
+pkgrel=5
pkgdesc="Zelda: Return of the Hylian (french version)"
arch=('i686' 'x86_64')
url="http://www.zeldaroth.fr/"
@@ -37,6 +37,10 @@ prepare () {
# Create the directory $HOME/.zelda-roth if it doesnt exist
sed -i -e s~'(NULL));'~'&\n\tif (system(\"stat $HOME/.'$_name' \&> /dev/null")) system (\"mkdir $HOME/.'$_name'\");'~ main.cpp
+
+ #Fix the preprocessor options (SDL.h not found)
+ sed -i -e "s#CFLAGS =#CFLAGS += -I/usr/include/SDL#g" Makefile
+ sed -i -e "s#LDFLAGS =#LDFLAGS +=#g" Makefile
}
build () {