Hello ports,

Please find attached the patch to update picom to its latest release.
8.2 is a bugfix release.  Changelog here[0].

I also took the liberty to fix the formatting string: uint64_t requires
%llu and not %lu (AFAIK this should be the case on all platforms, and I
didn’t want to include inttypes.h as the diff would be a bit more
verbose).

Comments? OK?

[0]: https://github.com/yshui/picom/releases/tag/v8.2

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/picom/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    16 Sep 2020 08:04:43 -0000      1.2
+++ Makefile    28 Oct 2020 12:46:32 -0000
@@ -4,7 +4,7 @@ COMMENT =       lightweight compositor for X11
 
 GH_ACCOUNT =   yshui
 GH_PROJECT =   picom
-GH_TAGNAME =   v8.1
+GH_TAGNAME =   v8.2
 
 CATEGORIES =   x11
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/picom/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    16 Sep 2020 08:04:43 -0000      1.2
+++ distinfo    28 Oct 2020 12:46:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (picom-8.1.tar.gz) = eTcAqHNoEgaAorKB2wLHCyP+eDLlDNsEkUkTnjJojwI=
-SIZE (picom-8.1.tar.gz) = 242262
+SHA256 (picom-8.2.tar.gz) = nQwlM5helnD/F15xekK1vxoqAMzeXKweEAn11u55Euw=
+SIZE (picom-8.2.tar.gz) = 242653
Index: patches/patch-src_picom_c
===================================================================
RCS file: patches/patch-src_picom_c
diff -N patches/patch-src_picom_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_picom_c   28 Oct 2020 12:46:32 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/picom.c
+--- src/picom.c.orig
++++ src/picom.c
+@@ -99,7 +99,7 @@ const char *const BACKEND_STRS[] = {[BKEND_XRENDER] = 
+ session_t *ps_g = NULL;
+ 
+ void set_root_flags(session_t *ps, uint64_t flags) {
+-      log_debug("Setting root flags: %lu", flags);
++      log_debug("Setting root flags: %llu", flags);
+       ps->root_flags |= flags;
+       ps->pending_updates = true;
+ }
Index: patches/patch-src_win_c
===================================================================
RCS file: patches/patch-src_win_c
diff -N patches/patch-src_win_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_win_c     28 Oct 2020 12:46:32 -0000
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: src/win.c
+--- src/win.c.orig
++++ src/win.c
+@@ -2343,7 +2343,7 @@ win_is_fullscreen_xcb(xcb_connection_t *c, const struc
+ 
+ /// Set flags on a window. Some sanity checks are performed
+ void win_set_flags(struct managed_win *w, uint64_t flags) {
+-      log_debug("Set flags %lu to window %#010x (%s)", flags, w->base.id, 
w->name);
++      log_debug("Set flags %llu to window %#010x (%s)", flags, w->base.id, 
w->name);
+       if (unlikely(w->state == WSTATE_DESTROYING)) {
+               log_error("Flags set on a destroyed window %#010x (%s)", 
w->base.id, w->name);
+               return;
+@@ -2354,7 +2354,7 @@ void win_set_flags(struct managed_win *w, uint64_t fla
+ 
+ /// Clear flags on a window. Some sanity checks are performed
+ void win_clear_flags(struct managed_win *w, uint64_t flags) {
+-      log_debug("Clear flags %lu from window %#010x (%s)", flags, w->base.id, 
w->name);
++      log_debug("Clear flags %llu from window %#010x (%s)", flags, 
w->base.id, w->name);
+       if (unlikely(w->state == WSTATE_DESTROYING)) {
+               log_warn("Flags cleared on a destroyed window %#010x (%s)", 
w->base.id,
+                        w->name);

Reply via email to