diff options
-rw-r--r-- | system/tilda/glib-single-include.patch | 13 | ||||
-rw-r--r-- | system/tilda/tilda.SlackBuild | 6 |
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 0000000000..fcc734f771 --- /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 972156ace8..2b2013d234 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 \ |