[gtk-sharp2] Fix glib include
Christian Krause
chkr at fedoraproject.org
Sun Oct 23 23:22:43 UTC 2011
commit 361cc463887f8a2a9891f7b3b3d6856150cf7132
Author: Christian Krause <chkr at fedoraproject.org>
Date: Sun Oct 23 19:22:40 2011 -0400
Fix glib include
gtk-sharp2-2.12.11-glib-include.patch | 12 ++++++++++++
gtk-sharp2.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gtk-sharp2-2.12.11-glib-include.patch b/gtk-sharp2-2.12.11-glib-include.patch
new file mode 100644
index 0000000..ad082c0
--- /dev/null
+++ b/gtk-sharp2-2.12.11-glib-include.patch
@@ -0,0 +1,12 @@
+diff -uNr gtk-sharp-2.12.11.old/glib/glue/thread.c gtk-sharp-2.12.11/glib/glue/thread.c
+--- gtk-sharp-2.12.11.old/glib/glue/thread.c 2011-07-27 15:18:59.000000000 -0400
++++ gtk-sharp-2.12.11/glib/glue/thread.c 2011-10-23 19:03:37.427051642 -0400
+@@ -20,7 +20,7 @@
+ */
+
+
+-#include <glib/gthread.h>
++#include <glib.h>
+
+ gboolean glibsharp_g_thread_supported (void);
+
diff --git a/gtk-sharp2.spec b/gtk-sharp2.spec
index 529c58b..f000631 100644
--- a/gtk-sharp2.spec
+++ b/gtk-sharp2.spec
@@ -1,12 +1,13 @@
Name: gtk-sharp2
Version: 2.12.11
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: GTK+ and GNOME bindings for Mono
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.mono-project.com/GtkSharp
Source0: http://origin-download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{version}.tar.bz2
+Patch1: gtk-sharp2-2.12.11-glib-include.patch
BuildRequires: mono-devel gtk2-devel libglade2-devel monodoc
BuildRequires: automake, libtool
@@ -53,6 +54,7 @@ This package provides the Gtk# documentation for monodoc.
%prep
%setup -q -n gtk-sharp-%{version}
+%patch1 -p1 -b .glib-include
# Fix permissions of source files
find -name '*.c' -exec chmod a-x {} \;
@@ -103,6 +105,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_prefix}/lib/monodoc/sources/*
%changelog
+* Sun Oct 23 2011 Christian Krause <chkr at fedoraproject.org> - 2.12.11-3
+- Fix glib include
+
* Sun Oct 23 2011 Christian Krause <chkr at fedoraproject.org> - 2.12.11-2
- Change paths for mono assemblies according to updated packaging
guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
More information about the scm-commits
mailing list