diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 19:07:51 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 19:42:18 -0400 |
commit | bfcae663de5e52aef2e39febc8a7b3281b6c1d14 (patch) | |
tree | 91b4e0c7181b9bd54f7e1200fc501f40fae82757 /network/gq/gq.SlackBuild | |
parent | 4abefb44e4b41d5334b225cb239691260ecd630c (diff) |
network/gq: Patched for glib 2.32 and gcc 4.7
Diffstat (limited to 'network/gq/gq.SlackBuild')
-rw-r--r-- | network/gq/gq.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/network/gq/gq.SlackBuild b/network/gq/gq.SlackBuild index f30203de1b5dc..6cec583b2748e 100644 --- a/network/gq/gq.SlackBuild +++ b/network/gq/gq.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=gq VERSION=${VERSION:-1.2.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -52,7 +52,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -67,6 +67,12 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Starting with glib 2.32 it is now mandatory to +# include glib.h instead of individual headers. +patch -p1 -i $CWD/glib-single-include.patch +# Fix for gcc 4.7 +patch -p1 -i $CWD/gcc-4.7.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |