summaryrefslogtreecommitdiff
path: root/academic/gelemental/gelemental.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-06 21:48:00 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-06 21:42:28 -0500
commitcff2f8f628c2a44187cadc5f84ace88f9952c903 (patch)
tree8775b8341786acaa77c6af2ff32bb019df42d74b /academic/gelemental/gelemental.SlackBuild
parentb171a92cd86af7dd34c640fec350997d88608fb7 (diff)
downloadslackbuilds-cff2f8f628c2a44187cadc5f84ace88f9952c903.tar.gz
academic/gelemental: Patched for glib 2.32+.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/gelemental/gelemental.SlackBuild')
-rw-r--r--academic/gelemental/gelemental.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/academic/gelemental/gelemental.SlackBuild b/academic/gelemental/gelemental.SlackBuild
index da065fbbff..c477836766 100644
--- a/academic/gelemental/gelemental.SlackBuild
+++ b/academic/gelemental/gelemental.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=gelemental
VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,6 +80,10 @@ sed -i "s:Categories=GTK;Utility;Science;Chemistry;:Categories=Education;:" data
# Increase the info button size
sed -i "s:set_size_request (50, 50):set_size_request (64, 64):" src/buttons.cc
+# 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
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \