mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
libraries/equinox: Patched for glib 2.32+.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
80343e3789
commit
f0745d2257
2 changed files with 19 additions and 1 deletions
|
@ -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 \
|
||||
|
|
13
libraries/equinox/glib-single-include.patch
Normal file
13
libraries/equinox/glib-single-include.patch
Normal 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;
|
Loading…
Reference in a new issue