desktop/cairo-dock: Patched for glib 2.32+

This commit is contained in:
dsomero 2012-09-16 19:04:02 -04:00
parent 9bd329be05
commit c82ea210ef
2 changed files with 18 additions and 1 deletions

View file

@ -23,7 +23,7 @@
PRGNAM=cairo-dock
VERSION=${VERSION:-2.3.0~2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCBUILD=1
@ -66,6 +66,10 @@ cd $PRGNAM-$VERSION
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
cmake \
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \

View file

@ -0,0 +1,13 @@
Index: cairo-dock-2.3.0~2/src/gldit/cairo-dock-keybinder.h
===================================================================
--- cairo-dock-2.3.0~2.orig/src/gldit/cairo-dock-keybinder.h
+++ cairo-dock-2.3.0~2/src/gldit/cairo-dock-keybinder.h
@@ -31,7 +31,7 @@
#ifndef __CD_KEY_BINDER_H__
#define __CD_KEY_BINDER_H__
-#include <glib/gtypes.h>
+#include <glib.h>
#include "cairo-dock-struct.h"
#include "cairo-dock-manager.h"