summaryrefslogtreecommitdiff
path: root/x11-plugins/wmweather
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/wmweather
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'x11-plugins/wmweather')
-rw-r--r--x11-plugins/wmweather/Manifest3
-rw-r--r--x11-plugins/wmweather/files/wmweather-2.4.7-fno-common.patch23
-rw-r--r--x11-plugins/wmweather/wmweather-2.4.7.ebuild9
3 files changed, 33 insertions, 2 deletions
diff --git a/x11-plugins/wmweather/Manifest b/x11-plugins/wmweather/Manifest
index 4625f8979a3c..441ba41f2b98 100644
--- a/x11-plugins/wmweather/Manifest
+++ b/x11-plugins/wmweather/Manifest
@@ -1,3 +1,4 @@
+AUX wmweather-2.4.7-fno-common.patch 806 BLAKE2B f3cdb2969771cfa0db7f7cf41d3d57b32eb22efe3ea337e627649ee104c158ef02452b25807eb38d9541577af418d8a2064be96b419b2298d50f1293ed518545 SHA512 e8e19532f2040ee299c8282b44b75e419e13dc43aafdb9d039d869b93cc033fa79159adf13cce8af49ba81681ca6a4cc23e0b7c7d18b2e68f86135cbe00d1626
DIST wmweather_2.4.7.orig.tar.gz 86220 BLAKE2B 55eeab40bb4cdb30d8e82b801728e7d0b8a32f741769e098b6d61ba087af27ed8401391853f53e7f06e616d5a99e6f38714c438b9e66765c1159c07f6d324d12 SHA512 d9d0c46e85a24aaa278aa75e0fcd51fc417c3c094d9e69c5820a288955c3ebdde21a24b26964824d9275a41ec053e3d942b185b24088d806e033e311e6e09108
-EBUILD wmweather-2.4.7.ebuild 646 BLAKE2B 49a6a943af7d5d92af2087d59fdf7ae6d44ac741a0dad0a6c1bac7735e200d74e72de0f7379318fdbce1a6be3cb27d2de08ed8a70556f315c2e0851b4bd9a987 SHA512 11e33bcd29d921cb52ac7f293358cdf867534914b09b3ee3e6c7fe03a3221138b090daf406c64888ce4007ad42df111109670ec3c6282e8bf19861d40208db8d
+EBUILD wmweather-2.4.7.ebuild 751 BLAKE2B dfdf41717061c19f865a201fb6c7ac69fa80ebf02f5a8c8fe5dbfdbabb078a15e42b5cf7ffcba757807c1d8c7b5951a98058abc994422f5898e92c50c95e1c26 SHA512 364d700eae4a35041afd5f12646a384dec33a042ce770bc706b0f4e2a1c5c16114223f8dcba25e0fd69534ccf8c990d8e34326a078ae8616e02123ab05a8fa3b
MISC metadata.xml 624 BLAKE2B 749ad41f486ac2c7dda230ecb730bd4ed85f8ae0af9c255a5d0a9ef73b10aacd4bc6d22287c4be755a441294fc7e986dfaba26d02fea1ca43e1380e5793c40a6 SHA512 67438cee5e0e29f3519357fff49a638a78782c854b78fa10a9a5b2f1b079ae08d053963b49033187655a4830c63d38bdb5682bebdb3f1de15a640be15f8a0e92
diff --git a/x11-plugins/wmweather/files/wmweather-2.4.7-fno-common.patch b/x11-plugins/wmweather/files/wmweather-2.4.7-fno-common.patch
new file mode 100644
index 000000000000..5db5fbcc2e34
--- /dev/null
+++ b/x11-plugins/wmweather/files/wmweather-2.4.7-fno-common.patch
@@ -0,0 +1,23 @@
+diff -Naur wmweather-2.4.7.orig/src/wmgeneral.h wmweather-2.4.7/src/wmgeneral.h
+--- wmweather-2.4.7.orig/src/wmgeneral.h 2019-02-13 20:54:48.000000000 +0100
++++ wmweather-2.4.7/src/wmgeneral.h 2020-03-29 13:14:19.373976239 +0200
+@@ -36,7 +36,7 @@
+ /* Global variable */
+ /*******************/
+
+-Display *display;
++extern Display *display;
+
+ /***********************/
+ /* Function Prototypes */
+diff -Naur wmweather-2.4.7.orig/src/wmweather.c wmweather-2.4.7/src/wmweather.c
+--- wmweather-2.4.7.orig/src/wmweather.c 2019-02-13 20:54:49.000000000 +0100
++++ wmweather-2.4.7/src/wmweather.c 2020-03-29 13:14:57.254963956 +0200
+@@ -56,6 +56,7 @@
+ static void update(int);
+ static size_t curl_callback(void*, size_t, size_t, void*);
+
++Display *display;
+ CURL
+ *curl = NULL;
+ static struct memory
diff --git a/x11-plugins/wmweather/wmweather-2.4.7.ebuild b/x11-plugins/wmweather/wmweather-2.4.7.ebuild
index 2109007a6f6d..174e4977f14a 100644
--- a/x11-plugins/wmweather/wmweather-2.4.7.ebuild
+++ b/x11-plugins/wmweather/wmweather-2.4.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -27,3 +27,10 @@ DOCS=(
"${WORKDIR}"/${P}/CHANGES
"${WORKDIR}"/${P}/README
)
+
+src_prepare() {
+ default
+
+ pushd "${WORKDIR}"/${P} || die
+ eapply "${FILESDIR}"/${P}-fno-common.patch
+}