summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/mono-debugger/glib-single-include.patch12
-rw-r--r--development/mono-debugger/mono-debugger.SlackBuild6
-rw-r--r--development/mono-debugger/mono-debugger.info2
3 files changed, 18 insertions, 2 deletions
diff --git a/development/mono-debugger/glib-single-include.patch b/development/mono-debugger/glib-single-include.patch
new file mode 100644
index 0000000000..4c5e1e51be
--- /dev/null
+++ b/development/mono-debugger/glib-single-include.patch
@@ -0,0 +1,12 @@
+Index: mono-debugger-2.10/sysdeps/server/breakpoints.c
+===================================================================
+--- mono-debugger-2.10.orig/sysdeps/server/breakpoints.c
++++ mono-debugger-2.10/sysdeps/server/breakpoints.c
+@@ -1,6 +1,6 @@
+ #include <server.h>
+ #include <breakpoints.h>
+-#include <glib/gthread.h>
++#include <glib.h>
+ #include <sys/stat.h>
+ #include <signal.h>
+ #ifdef HAVE_UNISTD_H
diff --git a/development/mono-debugger/mono-debugger.SlackBuild b/development/mono-debugger/mono-debugger.SlackBuild
index 2dc0c7ebef..48d6c3fbc1 100644
--- a/development/mono-debugger/mono-debugger.SlackBuild
+++ b/development/mono-debugger/mono-debugger.SlackBuild
@@ -23,7 +23,7 @@
PRGNAM=mono-debugger
VERSION=${VERSION:-2.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -68,6 +68,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 \
diff --git a/development/mono-debugger/mono-debugger.info b/development/mono-debugger/mono-debugger.info
index 6337884a9d..ca9bb0a049 100644
--- a/development/mono-debugger/mono-debugger.info
+++ b/development/mono-debugger/mono-debugger.info
@@ -1,7 +1,7 @@
PRGNAM="mono-debugger"
VERSION="2.10"
HOMEPAGE="http://www.mono-project.com/Debugger"
-DOWNLOAD="http://ftp.novell.com/pub/mono/sources/mono-debugger/mono-debugger-2.10.tar.bz2"
+DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/mono-debugger/mono-debugger-2.10.tar.bz2/02ee485f2aae279f2fa3a7051c7d580e/mono-debugger-2.10.tar.bz2"
MD5SUM="02ee485f2aae279f2fa3a7051c7d580e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""