aboutsummaryrefslogtreecommitdiff
path: root/system/tilda
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 19:06:56 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:42:18 -0400
commit4abefb44e4b41d5334b225cb239691260ecd630c (patch)
tree29c2d4c342635eccadfe6b7778efcaf5d3aa5af6 /system/tilda
parent7bdb8e4c87e2a18a49f684a9d6d6a774f767d5f6 (diff)
system/tilda: Patched for glib 2.32+
Diffstat (limited to 'system/tilda')
-rw-r--r--system/tilda/glib-single-include.patch13
-rw-r--r--system/tilda/tilda.SlackBuild6
2 files changed, 18 insertions, 1 deletions
diff --git a/system/tilda/glib-single-include.patch b/system/tilda/glib-single-include.patch
new file mode 100644
index 0000000000000..fcc734f771d99
--- /dev/null
+++ b/system/tilda/glib-single-include.patch
@@ -0,0 +1,13 @@
+Index: tilda-0.9.6/src/tomboykeybinder.h
+===================================================================
+--- tilda-0.9.6.orig/src/tomboykeybinder.h
++++ tilda-0.9.6/src/tomboykeybinder.h
+@@ -2,7 +2,7 @@
+ #ifndef __TOMBOY_KEY_BINDER_H__
+ #define __TOMBOY_KEY_BINDER_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
diff --git a/system/tilda/tilda.SlackBuild b/system/tilda/tilda.SlackBuild
index 972156ace8a4d..2b2013d2347bc 100644
--- a/system/tilda/tilda.SlackBuild
+++ b/system/tilda/tilda.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=tilda
VERSION=0.9.6
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,6 +60,10 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# 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" \
./configure \
--prefix=/usr \