summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2016-06-18 19:16:58 -0600
committerBrian Bidulock2016-06-18 19:16:58 -0600
commit91d7f84dfa042f9780b01af1f6ea2e7c97bfe85b (patch)
tree903892ec5863a74af3e4cb7f612c05982f26e586
parent6e88fa2694555ef8837afbf134958581d611088d (diff)
parentff9d48d6268ba828222ad18a8aa1ad055b364715 (diff)
downloadaur-91d7f84dfa042f9780b01af1f6ea2e7c97bfe85b.tar.gz
Merge branch 'master' of https://aur.archlinux.org/afterstep
-rw-r--r--ChangeLog5
-rw-r--r--PKGBUILD6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 616520bc52d1..bc69af34a06f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-18 FoolEcho <foolecho at gmail dot com>
+
+ * 2.2.12-5 :
+ Porting to gcc 5 requires CFLAGS modification (thanks to Chazza).
+
* 2.2.12-4 :
Added staticlibs to options (now required).
diff --git a/PKGBUILD b/PKGBUILD
index 5483df75f299..dc77809c2e20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,6 +25,12 @@ prepare() {
#fix some problems about the launcher (Slim)
patch -p0 -i ${srcdir}/desktop_entry.patch
+ #porting to gcc 5
+ #see:
+ # https://gcc.gnu.org/gcc-5/porting_to.html
+ # https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html
+ export CFLAGS+=" -fgnu89-inline"
+
./configure --prefix=/usr --mandir=/usr/share/man
}