pkgsrc/net/unison/patches/patch-src_uigtk2.ml
jaapb b7e16f091a Updated net/unison to latest version, 2.48.15.
I can't find a good changelog, but upstream changes seem to be fairly
minor.

A lot of local patches have been added to ensure compatibility with the
latest version of OCaml and lablgtk, and I have cleaned up the package
Makefile a little.
2017-11-14 13:03:35 +00:00

14 lines
482 B
OCaml

$NetBSD: patch-src_uigtk2.ml,v 1.1 2017/11/14 13:03:35 jaapb Exp $
Lablgtk now has safe_string
--- src/uigtk2.ml.orig 2015-10-05 18:14:23.000000000 +0000
+++ src/uigtk2.ml
@@ -94,7 +94,7 @@ let icon =
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 =