summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/gtk30/files/patch-gtk_gtktextattributes.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-toolkits/gtk30/files/patch-gtk_gtktextattributes.h b/x11-toolkits/gtk30/files/patch-gtk_gtktextattributes.h
new file mode 100644
index 000000000..3f6d169a4
--- /dev/null
+++ b/x11-toolkits/gtk30/files/patch-gtk_gtktextattributes.h
@@ -0,0 +1,15 @@
+--- gtk/gtktextattributes.h.orig 2011-09-19 23:32:12.000000000 +0200
++++ gtk/gtktextattributes.h 2011-09-19 23:33:10.000000000 +0200
+@@ -104,10 +104,12 @@ struct _GtkTextAppearance
+
+ GdkRGBA *rgba[2];
+
++#if defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)
+ #if __SIZEOF_INT__ == __SIZEOF_POINTER__
+ /* unusable, just for ABI compat */
+ guint padding[2];
+ #endif
++#endif
+ };
+
+ struct _GtkTextAttributes