Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MSYSでGtk# 2.12.10をビルドするためのパッチ
diff -ur gtk-sharp-2.12.10.orig/glib/glue/list.c gtk-sharp-2.12.10/glib/glue/list.c
--- gtk-sharp-2.12.10.orig/glib/glue/list.c 2009-01-08 01:54:06 +0900
+++ gtk-sharp-2.12.10/glib/glue/list.c 2012-05-06 03:24:17 +0900
@@ -20,7 +20,7 @@
*/
-#include <glib/glist.h>
+#include <glib.h>
/* Forward declarations */
gpointer gtksharp_list_get_data (GList *l);
diff -ur gtk-sharp-2.12.10.orig/glib/glue/slist.c gtk-sharp-2.12.10/glib/glue/slist.c
--- gtk-sharp-2.12.10.orig/glib/glue/slist.c 2009-01-08 01:54:06 +0900
+++ gtk-sharp-2.12.10/glib/glue/slist.c 2012-05-06 03:24:52 +0900
@@ -20,7 +20,7 @@
*/
-#include <glib/gslist.h>
+#include <glib.h>
/* Forward declarations */
gpointer gtksharp_slist_get_data (GSList *l);
diff -ur gtk-sharp-2.12.10.orig/glib/glue/thread.c gtk-sharp-2.12.10/glib/glue/thread.c
--- gtk-sharp-2.12.10.orig/glib/glue/thread.c 2009-01-08 01:54:06 +0900
+++ gtk-sharp-2.12.10/glib/glue/thread.c 2012-05-06 03:25:23 +0900
@@ -20,7 +20,7 @@
*/
-#include <glib/gthread.h>
+#include <glib.h>
gboolean glibsharp_g_thread_supported (void);
--- gtk-sharp-2.12.10/configure.orig 2012-05-05 04:17:32 +0900
+++ gtk-sharp-2.12.10/configure 2012-05-05 04:17:50 +0900
@@ -2765,7 +2765,7 @@
_ACEOF
if test "x$cross_compiling" = "xno"; then
- CC="gcc -mno-cygwin -g"
+ CC="gcc -g"
HOST_CC="gcc"
fi
;;
@@ -2777,7 +2777,7 @@
_ACEOF
if test "x$cross_compiling" = "xno"; then
- CC="gcc -mno-cygwin -g"
+ CC="gcc -g"
HOST_CC="gcc"
fi
;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment