mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/libdmapsharing: Patched for glib 2.32+
This commit is contained in:
parent
2ae817b123
commit
7bdb8e4c87
2 changed files with 19 additions and 1 deletions
14
libraries/libdmapsharing/glib-single-include.patch
Normal file
14
libraries/libdmapsharing/glib-single-include.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
Index: libdmapsharing-2.1.9/libdmapsharing/dpap-share.c
|
||||
===================================================================
|
||||
--- libdmapsharing-2.1.9.orig/libdmapsharing/dpap-share.c
|
||||
+++ libdmapsharing-2.1.9/libdmapsharing/dpap-share.c
|
||||
@@ -29,8 +29,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
-#include <glib/gslist.h>
|
||||
-#include <glib/gmappedfile.h>
|
||||
+#include <glib.h>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
PRGNAM=libdmapsharing
|
||||
VERSION=${VERSION:-2.1.9}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -51,6 +51,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 a new issue