From 31459e63971ac3b08706bba949851d93c45043c3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 30 Sep 2022 15:24:40 +0100 Subject: gentoo auto-resync : 30:09:2022 - 15:24:40 --- x11-misc/xsnap/files/xsnap-1.5.15-clang.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 x11-misc/xsnap/files/xsnap-1.5.15-clang.patch (limited to 'x11-misc/xsnap/files') diff --git a/x11-misc/xsnap/files/xsnap-1.5.15-clang.patch b/x11-misc/xsnap/files/xsnap-1.5.15-clang.patch new file mode 100644 index 000000000000..9b51bcb33e5b --- /dev/null +++ b/x11-misc/xsnap/files/xsnap-1.5.15-clang.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/870811 +--- a/xsnap.c ++++ b/xsnap.c +@@ -150,2 +150,3 @@ + Window win; ++int init_cursor; + { +@@ -1706,3 +1707,3 @@ + static Window win0 = None; +- static w0 = 0, h0 = 0; ++ static int w0 = 0, h0 = 0; + int i, j, d, w, h; +@@ -2254,3 +2255,3 @@ + if (op_mode == 0) +- exitXsnap (NULL, NULL, snap_pixmap, copy_gc); ++ exitXsnap ((Window)0, (Window)0, snap_pixmap, copy_gc); + -- cgit v1.2.3