Index: net/unison/Makefile =================================================================== --- net/unison/Makefile +++ net/unison/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= unison -PORTVERSION= 2.51.2 +PORTVERSION= 2.51.3 DISTVERSIONPREFIX= v CATEGORIES= net Index: net/unison/distinfo =================================================================== --- net/unison/distinfo +++ net/unison/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1520431786 -SHA256 (bcpierce00-unison-v2.51.2_GH0.tar.gz) = a2efcbeab651be6df69cc9b253011a07955ecb91fb407a219719451197849d5e -SIZE (bcpierce00-unison-v2.51.2_GH0.tar.gz) = 1398790 +TIMESTAMP = 1603288220 +SHA256 (bcpierce00-unison-v2.51.3_GH0.tar.gz) = 0c287d17f52729440b2bdc28edf4d19b2d5ea5869983d78e780d501c5866914b +SIZE (bcpierce00-unison-v2.51.3_GH0.tar.gz) = 1370060 Index: net/unison232/files/patch-uigtk2.ml =================================================================== --- /dev/null +++ net/unison232/files/patch-uigtk2.ml @@ -0,0 +1,17 @@ +--- uigtk2.ml.orig 2009-05-14 15:59:33 UTC ++++ uigtk2.ml +@@ -93,12 +93,12 @@ let fontMonospaceMediumPango = lazy (Pango.Font.from_s + (* 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 + + (********************************************************************* Index: net/unison240/files/patch-uigtk2.ml =================================================================== --- /dev/null +++ net/unison240/files/patch-uigtk2.ml @@ -0,0 +1,17 @@ +--- uigtk2.ml.orig 2009-05-14 15:59:33 UTC ++++ uigtk2.ml +@@ -93,12 +93,12 @@ let fontMonospaceMediumPango = lazy (Pango.Font.from_s + (* 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 + + (********************************************************************* Index: net/unison248/files/patch-uigtk2.ml =================================================================== --- /dev/null +++ net/unison248/files/patch-uigtk2.ml @@ -0,0 +1,17 @@ +--- uigtk2.ml.orig 2009-05-14 15:59:33 UTC ++++ uigtk2.ml +@@ -93,12 +93,12 @@ let fontMonospaceMediumPango = lazy (Pango.Font.from_s + (* 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 + + (********************************************************************* Index: x11-toolkits/ocaml-lablgtk2/Makefile =================================================================== --- x11-toolkits/ocaml-lablgtk2/Makefile +++ x11-toolkits/ocaml-lablgtk2/Makefile @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= lablgtk2 -PORTVERSION= 2.18.5 +PORTVERSION= 2.18.11 CATEGORIES= x11-toolkits -MASTER_SITES= https://download.ocamlcore.org/lablgtk/Lablgtk2/${PORTVERSION}/ PKGNAMEPREFIX= ocaml- -DISTNAME= lablgtk-${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Objective Caml interface to GTK+ 2.x @@ -37,6 +35,10 @@ HAS_CONFIGURE= yes ALL_TARGET= all opt MAKE_JOBS_UNSAFE= yes + +USE_GITHUB= yes +GH_ACCOUNT= garrigue +GH_PROJECT= lablgtk CONFIGURE_ARGS= --prefix=${PREFIX} --with-libdir=${PREFIX}/${OCAML_LIBDIR} \ --without-gtksourceview Index: x11-toolkits/ocaml-lablgtk2/distinfo =================================================================== --- x11-toolkits/ocaml-lablgtk2/distinfo +++ x11-toolkits/ocaml-lablgtk2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1559922306 -SHA256 (lablgtk-2.18.5.tar.gz) = 2bf251db21c077fdd26c035ea03edd8fe609187f908e520e87a8ffdd9c36d233 -SIZE (lablgtk-2.18.5.tar.gz) = 808005 +TIMESTAMP = 1603308851 +SHA256 (garrigue-lablgtk-2.18.11_GH0.tar.gz) = ff3c551df4e220b0c0fb9a3da6429413bff14f8fc93f4dd6807a35463982c863 +SIZE (garrigue-lablgtk-2.18.11_GH0.tar.gz) = 1068587 Index: x11-toolkits/ocaml-lablgtk2/files/patch-fno-common =================================================================== --- x11-toolkits/ocaml-lablgtk2/files/patch-fno-common +++ /dev/null @@ -1,22 +0,0 @@ ---- src/ml_gdk.c.orig -+++ src/ml_gdk.c -@@ -48,6 +48,8 @@ - #include "gdk_tags.h" - - -+lookup_info *ml_table_extension_events; -+ - CAMLprim void ml_raise_gdk (const char *errmsg) - { - static const value * exn = NULL; ---- src/ml_gdk.h.orig -+++ src/ml_gdk.h -@@ -86,7 +86,7 @@ CAMLexport value Val_GdkEvent (GdkEvent *); - CAMLexport int OptFlags_GdkModifier_val (value); - CAMLexport int Flags_GdkModifier_val (value); - CAMLexport int Flags_Event_mask_val (value); --CAMLexport lookup_info *ml_table_extension_events; -+CAMLextern lookup_info *ml_table_extension_events; - #define Extension_events_val(key) ml_lookup_to_c(ml_table_extension_events,key) - - #define GdkDragContext_val(val) check_cast(GDK_DRAG_CONTEXT,val)