diff options
Diffstat (limited to 'community/unison/fix-for-lablgtk-2.18.6.patch')
-rw-r--r-- | community/unison/fix-for-lablgtk-2.18.6.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/unison/fix-for-lablgtk-2.18.6.patch b/community/unison/fix-for-lablgtk-2.18.6.patch new file mode 100644 index 0000000000..888649a239 --- /dev/null +++ b/community/unison/fix-for-lablgtk-2.18.6.patch @@ -0,0 +1,20 @@ +Patch-Source: http://svnweb.mageia.org/packages/cauldron/unison/current/SOURCES/unison-2.51.2-fix-for-lablgtk-2.18.6.patch?view=markup&pathrev=1205069 +Upstream-Issue: https://github.com/bcpierce00/unison/issues/153 + +--- a/uigtk2.ml ++++ b/uigtk2.ml +@@ -89,12 +89,12 @@ + (* This does not work with the current version of Lablgtk, due to a bug + let icon = + GdkPixbuf.from_data ~width:48 ~height:48 ~has_alpha:true +- (Gpointer.region_of_string Pixmaps.icon_data) ++ (Gpointer.region_of_bytes Pixmaps.icon_data) + *) + let icon = + let p = GdkPixbuf.create ~width:48 ~height:48 ~has_alpha:true () in + Gpointer.blit +- (Gpointer.region_of_string Pixmaps.icon_data) (GdkPixbuf.get_pixels p); ++ (Gpointer.region_of_bytes Pixmaps.icon_data) (GdkPixbuf.get_pixels p); + p + + let leftPtrWatch = |