[packages/dotnet-gtk-sharp2] - fix building with recent glib2

hawk hawk at pld-linux.org
Wed Apr 24 11:58:09 CEST 2013


commit cc6b7a62ddbf2e299fe6309f09117aa0031e8dfe
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Wed Apr 24 10:21:00 2013 +0000

    - fix building with recent glib2

 dotnet-gtk-sharp2-glib.patch | 12 ++++++++++++
 dotnet-gtk-sharp2.spec       |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/dotnet-gtk-sharp2.spec b/dotnet-gtk-sharp2.spec
index 3d7f7fb..359aa75 100644
--- a/dotnet-gtk-sharp2.spec
+++ b/dotnet-gtk-sharp2.spec
@@ -3,7 +3,7 @@ Summary:	.NET language bindings for GTK+
 Summary(pl.UTF-8):	Wiązania GTK+ dla .NET
 Name:		dotnet-gtk-sharp2
 Version:	2.12.11
-Release:	1
+Release:	2
 License:	LGPL v2
 Group:		Libraries
 # latest downloads summary at http://download.mono-project.com/sources-stable/
@@ -13,6 +13,7 @@ Source0:	http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{versi
 #Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtk-sharp/2.12/gtk-sharp-%{version}.tar.bz2
 Patch0:		%{name}-destdir.patch
 Patch1:		%{name}-mint.patch
+Patch2:		%{name}-glib.patch
 URL:		http://www.mono-project.com/GtkSharp
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -70,6 +71,7 @@ Biblioteki statyczne gtk-sharp.
 %setup -q -n gtk-sharp-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
diff --git a/dotnet-gtk-sharp2-glib.patch b/dotnet-gtk-sharp2-glib.patch
new file mode 100644
index 0000000..abea569
--- /dev/null
+++ b/dotnet-gtk-sharp2-glib.patch
@@ -0,0 +1,12 @@
+diff -ur gtk-sharp-2.12.11.orig/glib/glue/thread.c gtk-sharp-2.12.11/glib/glue/thread.c
+--- gtk-sharp-2.12.11.orig/glib/glue/thread.c	2011-07-27 19:18:59.000000000 +0000
++++ gtk-sharp-2.12.11/glib/glue/thread.c	2013-04-24 10:17:29.408509424 +0000
+@@ -20,7 +20,7 @@
+  */
+ 
+ 
+-#include <glib/gthread.h>
++#include <glib.h>
+ 
+ gboolean glibsharp_g_thread_supported (void);
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-gtk-sharp2.git/commitdiff/cc6b7a62ddbf2e299fe6309f09117aa0031e8dfe



More information about the pld-cvs-commit mailing list