gtk-sharp-1: fix include problem
This commit is contained in:
parent
674f21c668
commit
0209d478a8
@ -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
|
||||
|
24
pkgs/development/libraries/gtk-sharp-1/glib-include.patch
Normal file
24
pkgs/development/libraries/gtk-sharp-1/glib-include.patch
Normal 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);
|
Loading…
Reference in New Issue
Block a user