gtk-sharp-1: fix include problem

This commit is contained in:
Sergey Mironov 2014-01-09 15:17:32 +04:00 committed by Rok Garbas
parent 674f21c668
commit 0209d478a8
2 changed files with 28 additions and 1 deletions

View File

@ -23,7 +23,10 @@ stdenv.mkDerivation {
md5 = "2651d14fe77174ab20b8af53d150ee11";
};
patches = [ ./dllmap-glue.patch ];
patches = [
./dllmap-glue.patch
./glib-include.patch
];
buildInputs = [
pkgconfig mono glib pango gtk GConf libglade libgnomecanvas

View File

@ -0,0 +1,24 @@
diff -ru gtk-sharp-1.0.6.orig/glib/glue/list.c gtk-sharp-1.0.6/glib/glue/list.c
--- gtk-sharp-1.0.6.orig/glib/glue/list.c 2014-01-09 10:58:06.727352451 +0000
+++ gtk-sharp-1.0.6/glib/glue/list.c 2014-01-09 11:00:34.256583614 +0000
@@ -20,7 +20,7 @@
*/
-#include <glib/glist.h>
+#include <glib.h>
/* Forward declarations */
gpointer gtksharp_list_get_data (GList *l);
diff -ru gtk-sharp-1.0.6.orig/glib/glue/slist.c gtk-sharp-1.0.6/glib/glue/slist.c
--- gtk-sharp-1.0.6.orig/glib/glue/slist.c 2014-01-09 10:58:06.727352451 +0000
+++ gtk-sharp-1.0.6/glib/glue/slist.c 2014-01-09 11:00:47.572695223 +0000
@@ -20,7 +20,7 @@
*/
-#include <glib/gslist.h>
+#include <glib.h>
/* Forward declarations */
gpointer gtksharp_slist_get_data (GSList *l);