summaryrefslogtreecommitdiff
path: root/x11-plugins/wmcms
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmcms')
-rw-r--r--x11-plugins/wmcms/Manifest3
-rw-r--r--x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch11
-rw-r--r--x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild (renamed from x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild)7
3 files changed, 18 insertions, 3 deletions
diff --git a/x11-plugins/wmcms/Manifest b/x11-plugins/wmcms/Manifest
index 7c7ab078c68b..d1efb6af309f 100644
--- a/x11-plugins/wmcms/Manifest
+++ b/x11-plugins/wmcms/Manifest
@@ -1,4 +1,5 @@
+AUX wmcms-0.3.5-fno-common.patch 286 BLAKE2B a54b0379ad65661d373cf4011dbf0dcaf5841b3b1256b1139c479460cd9efb815d0787e96a7a88885f9e5f619f9d8d43a724147e1e731a12b7cae2cfb738632a SHA512 38dfd1b553897c95814737e0bcea1028e291cc08bd78ce332dace914862685d54b4726c337617c3ce4ab527eff77fd008cfa8b0a38d1420a8c8150fb00c816e8
AUX wmcms-0.3.5-s4t4n.patch 8562 BLAKE2B d1b99dc03a8dd0fd2f1e5d387ee8b763a0b1633199c20ab231fa8496a253f9124ad7508bd66cf742660b7aa9ddca16b5eaa887f08ddb4e8de0dd10b7cf490370 SHA512 ad25dead5271907845ae96efec52844de1005f31ddbf4d2e43996633ef8c54c89f9137421b019079462227a16052df950c7f589d112815c8b02b435f863e8b09
DIST wmcms-0.3.5.tar.gz 19855 BLAKE2B ac97dc403e6adeebc85b386ae7c78a8537c33858950f41059aadb750909b22fabef5bed3114e9552b381d3fb9d603e90236c88a614ee168a46214f64b9ca50f5 SHA512 ef57e6b278c14163de0792e6af8be40ef721020594fb2871aad34543471869ecf468210c173861a93b4f22e1dfca8f1e4254aec6508adfdf143f3a0f1a49f549
-EBUILD wmcms-0.3.5-r3.ebuild 714 BLAKE2B b6d9de254675c3a46810b9e45447a847dc96d10d840b08a161937f83b36098ef92eec9548bc3f671825f2a9980b564e126afdcbf526c73c7e551451331643591 SHA512 8c69602105195342c72a3f6d449f0e5f713890e4ebb03f1de041be1f1f98df32b133ace7f91b36c9dbe173b41a0d98c405b91bb57648cb022c4a8be2082cd3fa
+EBUILD wmcms-0.3.5-r4.ebuild 710 BLAKE2B dc90bba96a414e8d91bd704f86b847b782fde93b8385e4b9557f730f365691f98c4921bf1cc54e102143a656ffd283524c3dc20f1b815b56dc5e2e2214b5ac34 SHA512 ea7f7584dbf73efd20cde1315124f0a328f3f83d2918403a203552e4bdf32114b7e64340d7a2f28d2a5f5b8189adafdbe74648af595529208fbc31079025a9b0
MISC metadata.xml 249 BLAKE2B ba223d81d4cf6b9ca1ba3a63e356bec0d9aa6f4cdf2ad3b29a6c97a6e5bad854154f8b9e6fc3d65d155c93daa706d03c84395b53951e3e326ffc19c8d0df0eb5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d
diff --git a/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch b/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch
new file mode 100644
index 000000000000..3b060769667c
--- /dev/null
+++ b/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch
@@ -0,0 +1,11 @@
+diff -Naur wmcms-0.3.5.orig/wmcms.c wmcms-0.3.5/wmcms.c
+--- wmcms-0.3.5.orig/wmcms.c 2001-09-24 00:57:06.000000000 +0200
++++ wmcms-0.3.5/wmcms.c 2020-03-29 13:04:56.465162877 +0200
+@@ -28,6 +28,7 @@
+ GC gc;
+ Pixmap pixmap;
+ Pixmap backdrop;
++Display *display;
+
+ int advanced;
+ int up;
diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
index 3c00c746459e..70c2fcf3f058 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r4.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
@@ -13,9 +13,12 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
DEPEND=">=x11-libs/libdockapp-0.7:="
+PATCHES=(
+ "${FILESDIR}"/${P}-s4t4n.patch
+)
+
src_prepare() {
default
- eapply "${FILESDIR}"/wmcms-0.3.5-s4t4n.patch
# Respect LDFLAGS, see bug #335031
sed -e 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' -i Makefile || die