]> git.pld-linux.org Git - packages/dotnet-gtk-sharp2.git/commitdiff
- fix building with recent glib2 auto/ti/dotnet-gtk-sharp2-2.12.11-2
authorMarcin Krol <hawk@tld-linux.org>
Wed, 24 Apr 2013 10:21:00 +0000 (10:21 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 24 Apr 2013 10:21:00 +0000 (10:21 +0000)
dotnet-gtk-sharp2-glib.patch [new file with mode: 0644]
dotnet-gtk-sharp2.spec

diff --git a/dotnet-gtk-sharp2-glib.patch b/dotnet-gtk-sharp2-glib.patch
new file mode 100644 (file)
index 0000000..abea569
--- /dev/null
@@ -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);
index 3d7f7fba24e2ae5e8b1c5a7c6ec18db17dfc5065..359aa759884fcca9144781b8820ed1ed1e25d674 100644 (file)
@@ -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}
This page took 0.056473 seconds and 4 git commands to generate.