summaryrefslogtreecommitdiff
path: root/x11-plugins/wmifinfo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /x11-plugins/wmifinfo
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'x11-plugins/wmifinfo')
-rw-r--r--x11-plugins/wmifinfo/Manifest3
-rw-r--r--x11-plugins/wmifinfo/files/wmifinfo-0.10-fno-common.patch35
-rw-r--r--x11-plugins/wmifinfo/wmifinfo-0.10-r1.ebuild4
3 files changed, 40 insertions, 2 deletions
diff --git a/x11-plugins/wmifinfo/Manifest b/x11-plugins/wmifinfo/Manifest
index 79410df6322c..b96685c4f3ec 100644
--- a/x11-plugins/wmifinfo/Manifest
+++ b/x11-plugins/wmifinfo/Manifest
@@ -1,3 +1,4 @@
+AUX wmifinfo-0.10-fno-common.patch 890 BLAKE2B 2e844e9c84360bb0f7ad7c90bdf34b76d8e4e1dff82b81b1942d99983ecd832fb0b26a71a6e3983a1a8b74ac326e986444ba7a70cd9ab3cfdbe06d9db75dd2aa SHA512 249c8a62626ab3cc08dc5dc33caddff5e70baa3990f3bf280a0cf4cf2043319d71d10c0318cae86ceb44decf7299b3ebc4ac2b7efc3c0036b155277e114d5fe9
DIST wmifinfo-0.10.tar.gz 17418 BLAKE2B 74debc88268e45779131ad6587733343e8be51cfa871ea368ca305a755008fb0a7e3faa332157e79ecea7553d3e523cce4bb9b4a650c2ee73dc1b6acb3db4ff9 SHA512 57731f482b950e968e760315b99ceb715c3aa101f77e5363ee08db231369c5addc4d9cf4da4a24f624313073bc67cd8742030956c5f866fb02c1b24b3cc4e965
-EBUILD wmifinfo-0.10-r1.ebuild 675 BLAKE2B aba56e2111149f124dae87bcd1ed62131abb2ed95774755561ede72c963ff27b3bcac5864b3e5741b03f52b4e60f3d2d4a2487bf6620f24e71c2170c3c3013aa SHA512 8d470e4a2520fc4270e9c131bb3ba887fb1cfeb1cbfaa16f675cb0799b52343d7784a7de81ca02cef293ccf3ef6a46e0ae16d49f1156075ad6f98761fedb09bb
+EBUILD wmifinfo-0.10-r1.ebuild 721 BLAKE2B a6cdb3c7a7d5a42b670f6173eb656d32a337bd12c1e769e01f3e49004b7a1629806ee452649d1e1bc77bb710ee5da9a0e843e45726b75a735d0a1b5383d2cc84 SHA512 f814db77006f74a06b9ca32fc21d6b54a2dec04286631cd1d76ead35a1e182e312bd412d5b37e83659e780ef51e0c64e7c30ea54eb2c0d29795ef9e8b02bb2c7
MISC metadata.xml 252 BLAKE2B f7125c07f7cb9fe1a8d301f198091320ba83ef3547e579b9825298715066ba3506be216900b5317106da011f95df9411b99b100f14f741832ab500fda6acb788 SHA512 6a56c24e3731dd9512fa264d3dce1fe36ace891a17394c483586e0be1fffd153e901228d3ee9c471a226b04cec27d3f78ed2de491e46238de4b06538dab7e724
diff --git a/x11-plugins/wmifinfo/files/wmifinfo-0.10-fno-common.patch b/x11-plugins/wmifinfo/files/wmifinfo-0.10-fno-common.patch
new file mode 100644
index 000000000000..296c88a3541f
--- /dev/null
+++ b/x11-plugins/wmifinfo/files/wmifinfo-0.10-fno-common.patch
@@ -0,0 +1,35 @@
+diff -Naur dockapps.orig/xutils.c dockapps/xutils.c
+--- dockapps.orig/xutils.c 2014-12-09 20:31:13.000000000 +0100
++++ dockapps/xutils.c 2020-03-29 13:29:01.027698381 +0200
+@@ -54,6 +54,11 @@
+ XpmIcon wmgen;
+ Pixmap pixmask;
+
++Display *display;
++Window Root;
++Window iconwin, win;
++int screen;
++int DisplayDepth;
+
+
+
+diff -Naur dockapps.orig/xutils.h dockapps/xutils.h
+--- dockapps.orig/xutils.h 2014-12-09 20:31:13.000000000 +0100
++++ dockapps/xutils.h 2020-03-29 13:29:10.728695410 +0200
+@@ -18,11 +18,11 @@
+ /*
+ * Global variable
+ */
+-Display *display;
+-Window Root;
+-Window iconwin, win;
+-int screen;
+-int DisplayDepth;
++extern Display *display;
++extern Window Root;
++extern Window iconwin, win;
++extern int screen;
++extern int DisplayDepth;
+
+
+
diff --git a/x11-plugins/wmifinfo/wmifinfo-0.10-r1.ebuild b/x11-plugins/wmifinfo/wmifinfo-0.10-r1.ebuild
index a8cc36e93ef1..f02294e77cdf 100644
--- a/x11-plugins/wmifinfo/wmifinfo-0.10-r1.ebuild
+++ b/x11-plugins/wmifinfo/wmifinfo-0.10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,8 @@ RDEPEND="x11-libs/libX11
DEPEND="${RDEPEND}
x11-base/xorg-proto"
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
S="${WORKDIR}/dockapps"
src_compile() {