mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/tilda: Patched for glib 2.32+
This commit is contained in:
parent
7bdb8e4c87
commit
4abefb44e4
2 changed files with 18 additions and 1 deletions
13
system/tilda/glib-single-include.patch
Normal file
13
system/tilda/glib-single-include.patch
Normal file
|
@ -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
|
||||
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue