aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-24 22:45:33 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-25 00:14:05 -0400
commitbf5ebfb38f56cde5330dbcdf68af865116554b06 (patch)
tree5c84d59d91fcf0f79944d0447d7be9bc8d76f208 /development
parentf086b5e29947b62e7d59b7a7f046437581288190 (diff)
development/mono-debugger: Fixed download link & added glib patch
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development')
-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 0000000000000..4c5e1e51bee70
--- /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 2dc0c7ebef279..48d6c3fbc193c 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 6337884a9dae9..ca9bb0a049790 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=""