libraries/equinox: Patched for glib 2.32+.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-06 15:18:55 -04:00 committed by Robby Workman
parent 80343e3789
commit f0745d2257
2 changed files with 19 additions and 1 deletions

View File

@ -6,8 +6,9 @@
PRGNAM=equinox
VERSION=${VERSION:-1.50}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
if [ -z "$ARCH" ]; then
@ -52,6 +53,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 \

View File

@ -0,0 +1,13 @@
Index: equinox-1.50/src/animation.c
===================================================================
--- equinox-1.50.orig/src/animation.c
+++ equinox-1.50/src/animation.c
@@ -7,7 +7,7 @@
#include "animation.h"
#ifdef HAVE_ANIMATION
-#include <glib/gtimer.h>
+#include <glib.h>
struct _AnimationInfo {
GTimer *timer;