summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-09-20 05:38:04 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-09-20 05:38:04 +0800
commit8ebb8d2bea77433ccd89af506041919ca0347c56 (patch)
tree173e15f4d3bec1c10e639f9e9a5ff0b2a889e9de
parent023be131c98bf17d61200b700694192f205712c3 (diff)
downloadmarcuscom-ports-8ebb8d2bea77433ccd89af506041919ca0347c56.tar
marcuscom-ports-8ebb8d2bea77433ccd89af506041919ca0347c56.tar.gz
marcuscom-ports-8ebb8d2bea77433ccd89af506041919ca0347c56.tar.bz2
marcuscom-ports-8ebb8d2bea77433ccd89af506041919ca0347c56.tar.lz
marcuscom-ports-8ebb8d2bea77433ccd89af506041919ca0347c56.tar.xz
marcuscom-ports-8ebb8d2bea77433ccd89af506041919ca0347c56.tar.zst
marcuscom-ports-8ebb8d2bea77433ccd89af506041919ca0347c56.zip
make building stuff that uses this header a little bit quieter.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16303 df743ca5-7f9a-e211-a948-0013205c9059
-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