Skip to content

Instantly share code, notes, and snippets.

@ksophocleous
Created March 23, 2015 23:43
Show Gist options
  • Save ksophocleous/e068edf74e72cc03a607 to your computer and use it in GitHub Desktop.
Save ksophocleous/e068edf74e72cc03a607 to your computer and use it in GitHub Desktop.
diff patch to make gtk-sharp compile
diff -Naur gtk-sharp-2.12.10/glib/glue/list.c gtk-sharp-2.12.10-mine/glib/glue/list.c
--- gtk-sharp-2.12.10/glib/glue/list.c 2009-01-07 16:54:06.000000000 +0000
+++ gtk-sharp-2.12.10-mine/glib/glue/list.c 2015-03-23 23:33:56.470499598 +0000
@@ -20,7 +20,7 @@
*/
-#include <glib/glist.h>
+#include <glib.h>
/* Forward declarations */
gpointer gtksharp_list_get_data (GList *l);
diff -Naur gtk-sharp-2.12.10/glib/glue/slist.c gtk-sharp-2.12.10-mine/glib/glue/slist.c
--- gtk-sharp-2.12.10/glib/glue/slist.c 2009-01-07 16:54:06.000000000 +0000
+++ gtk-sharp-2.12.10-mine/glib/glue/slist.c 2015-03-23 23:34:13.510499930 +0000
@@ -20,7 +20,7 @@
*/
-#include <glib/gslist.h>
+#include <glib.h>
/* Forward declarations */
gpointer gtksharp_slist_get_data (GSList *l);
diff -Naur gtk-sharp-2.12.10/glib/glue/thread.c gtk-sharp-2.12.10-mine/glib/glue/thread.c
--- gtk-sharp-2.12.10/glib/glue/thread.c 2009-01-07 16:54:06.000000000 +0000
+++ gtk-sharp-2.12.10-mine/glib/glue/thread.c 2015-03-23 23:34:38.982500427 +0000
@@ -20,7 +20,7 @@
*/
-#include <glib/gthread.h>
+#include <glib.h>
gboolean glibsharp_g_thread_supported (void);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment