desktop/gtk-engines: Patched for glib 2.32+.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
cff2f8f628
commit
92410e150a
|
@ -0,0 +1,13 @@
|
|||
Index: gtk-engines-2.20.2/engines/clearlooks/src/animation.c
|
||||
===================================================================
|
||||
--- gtk-engines-2.20.2.orig/engines/clearlooks/src/animation.c
|
||||
+++ gtk-engines-2.20.2/engines/clearlooks/src/animation.c
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "animation.h"
|
||||
|
||||
#ifdef HAVE_WORKING_ANIMATION
|
||||
-#include <glib/gtimer.h>
|
||||
+#include <glib.h>
|
||||
|
||||
struct _AnimationInfo {
|
||||
GTimer *timer;
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
PRGNAM=gtk-engines
|
||||
VERSION=${VERSION:-2.20.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -65,6 +65,10 @@ 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
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in New Issue