summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFoolEcho2016-06-18 18:36:47 +0200
committerFoolEcho2016-06-18 18:36:47 +0200
commitff9d48d6268ba828222ad18a8aa1ad055b364715 (patch)
tree52ccc0f60673863fffe75b2e0be55d3d8e5b5245
parent995dc5d883e30e4c3ba61c78861bae861ce12fdc (diff)
downloadaur-ff9d48d6268ba828222ad18a8aa1ad055b364715.tar.gz
Porting to gcc 5 means CFLAGS changes.
-rw-r--r--.SRCINFO6
-rw-r--r--ChangeLog5
-rw-r--r--PKGBUILD8
3 files changed, 15 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ccf32010b68..0e99a58f9e4e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
-# Generated by makepkg 4.2.0
-# Thu Jan 8 10:06:19 UTC 2015
+# Generated by mksrcinfo v8
+# Sat Jun 18 16:33:42 UTC 2016
pkgbase = afterstep
pkgdesc = A Window Manager based on NextStep Interface
pkgver = 2.2.12
- pkgrel = 4
+ pkgrel = 5
url = http://www.afterstep.org
changelog = ChangeLog
arch = i686
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 99a7f5e8cadf..dc77809c2e20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=afterstep
_name=AfterStep
pkgver=2.2.12
-pkgrel=4
+pkgrel=5
pkgdesc="A Window Manager based on NextStep Interface"
arch=('i686' 'x86_64')
url="http://www.afterstep.org"
@@ -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
}