[mono-debugger] Add patch to fix glib include
Christian Krause
chkr at fedoraproject.org
Sat Nov 12 14:58:00 UTC 2011
commit d4c6f05a887f31442a71d5ba75cd741216e154c0
Author: Christian Krause <chkr at fedoraproject.org>
Date: Sat Nov 12 15:57:48 2011 +0100
Add patch to fix glib include
mono-debugger-2.10-glib.patch | 11 +++++++++++
mono-debugger.spec | 3 +++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/mono-debugger-2.10-glib.patch b/mono-debugger-2.10-glib.patch
new file mode 100644
index 0000000..ea0538a
--- /dev/null
+++ b/mono-debugger-2.10-glib.patch
@@ -0,0 +1,11 @@
+diff -uNr mono-debugger-2.10.old/sysdeps/server/breakpoints.c mono-debugger-2.10/sysdeps/server/breakpoints.c
+--- mono-debugger-2.10.old/sysdeps/server/breakpoints.c 2011-01-13 23:41:31.000000000 +0100
++++ mono-debugger-2.10/sysdeps/server/breakpoints.c 2011-11-12 15:46:57.909192866 +0100
+@@ -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/mono-debugger.spec b/mono-debugger.spec
index a53be47..a0ce175 100644
--- a/mono-debugger.spec
+++ b/mono-debugger.spec
@@ -5,6 +5,7 @@ Release: 2%{?dist}
License: MIT
URL: http://www.mono-project.com/Main_Page
Source0: http://ftp.novell.com/pub/mono/sources/%{name}/%{name}-%{version}.tar.bz2
+Patch0: mono-debugger-2.10-glib.patch
BuildRequires: readline-devel ncurses-devel libtool
BuildRequires: mono-devel >= 2.8.1 mono-nunit
BuildRequires: mono-nunit-devel xsp-devel
@@ -33,6 +34,7 @@ Development package for mono-debugger
%prep
%setup -q
+%patch0 -p1 -b .glib
rm -rf build/*.dll
# Copy something that we know got built from source.
@@ -73,6 +75,7 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
* Sat Nov 12 2011 Christian Krause <chkr at fedoraproject.org> - 2.10-2
- Change paths for mono assemblies according to updated packaging
guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
+- Add patch to fix glib include
* Wed Mar 30 2011 Christian Krause <chkr at fedoraproject.org> - 2.10-1
- Update to 2.10
More information about the scm-commits
mailing list