mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
desktop/cairo-dock: Patched for glib 2.32+
This commit is contained in:
parent
9bd329be05
commit
c82ea210ef
2 changed files with 18 additions and 1 deletions
|
@ -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" \
|
||||
|
|
13
desktop/cairo-dock/glib-single-include.patch
Normal file
13
desktop/cairo-dock/glib-single-include.patch
Normal 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"
|
||||
|
Loading…
Reference in a new issue