diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /x11-plugins/wmdots | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'x11-plugins/wmdots')
-rw-r--r-- | x11-plugins/wmdots/Manifest | 3 | ||||
-rw-r--r-- | x11-plugins/wmdots/files/wmdots-0.2_beta-gcc-10.patch | 27 | ||||
-rw-r--r-- | x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild | 4 |
3 files changed, 33 insertions, 1 deletions
diff --git a/x11-plugins/wmdots/Manifest b/x11-plugins/wmdots/Manifest index c60a6ecd4643..cec608f9fbe8 100644 --- a/x11-plugins/wmdots/Manifest +++ b/x11-plugins/wmdots/Manifest @@ -1,4 +1,5 @@ +AUX wmdots-0.2_beta-gcc-10.patch 876 BLAKE2B bd8419a77c301d04934b72113e5294f3dac1e1adcc29ba3aa97de20b41e43bf4d195f6e6e3db8dc6d5dfc8c8c7b56bbef200a9061db9cfd468c0485610c00256 SHA512 43c43fc6a4f3364a8ce7800f8f998b02ef237c2a64b75d04d39de88f2548b813ba9a6bc29ad04ebf7516b11c8d4c879e4301cd4e669397cab40165331fc0d577 AUX wmdots-0.2_beta-stringh.patch 325 BLAKE2B fdd3cc86c6eab458926bdb1a33f6050c36716e9840e2d20b60e4835a4895cd3083760c0f01953ab9470691b23fda40e7001f135dfa994d16aee3253205d6e741 SHA512 b2da0950f0b74f6a25bb57d5fd27e315e5e4a1cca41c5cf413bbcf5a7d50ff5312a8d2903a646b2ba7c79007b8804e6518fb9a14b25fdd1028104d7800726f60 DIST wmdots-0.2beta.tar.gz 94933 BLAKE2B 76a722b60989855b47dcf08539299c7bdf57485595d0f452d8ec10ef57f350810396bda396757c266dda8cb1db9bb3f1823b0f9759b1cb85c7e1ff469f5d2a60 SHA512 2e9d42c4086f240ece0a29cb6131bad2d499bb7f08e8a444cf72ce1a9813f9919f9d47c4dd5ae015e6c2e76601f1e7ab421a67daed1cefed45dcb06e4cbd8488 -EBUILD wmdots-0.2_beta-r1.ebuild 863 BLAKE2B 703416d7b326cf66592fe4152b8db30447c27e2b6f35fc421a57565bbb433b0a20f8f0882b84a95dfb0e639be47850c82da61e88c531f81f2ab8a181b63c1a6f SHA512 f4ada3e178c26e6dd7613fa9f36fcad624aad93be43652ac2c557da462f727a06afec22069f002637fc0f601bdb28533e937772398eace91a800ada913779da3 +EBUILD wmdots-0.2_beta-r1.ebuild 944 BLAKE2B 62ff638289d87e340bf3cf4bd8c867d81cb8b7fe36fae16e3562ce5c00145041176e08b5c4a34419ba29afd23d99b909baffc336c5e477073f78bd9bb7df6956 SHA512 2ac87d025e1255712ca70bae87e62143962af1b524184dbc8fac0ff7c79f9c3a42baf18e9547093d12d57d7f516f9adae9e515063b68d50ec83ab72f2c76d893 MISC metadata.xml 249 BLAKE2B ba223d81d4cf6b9ca1ba3a63e356bec0d9aa6f4cdf2ad3b29a6c97a6e5bad854154f8b9e6fc3d65d155c93daa706d03c84395b53951e3e326ffc19c8d0df0eb5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d diff --git a/x11-plugins/wmdots/files/wmdots-0.2_beta-gcc-10.patch b/x11-plugins/wmdots/files/wmdots-0.2_beta-gcc-10.patch new file mode 100644 index 000000000000..f4e522fe5cff --- /dev/null +++ b/x11-plugins/wmdots/files/wmdots-0.2_beta-gcc-10.patch @@ -0,0 +1,27 @@ +diff -Naur wmdots.orig/wmdots/wmdots.c wmdots/wmdots/wmdots.c +--- wmdots.orig/wmdots/wmdots.c 1999-10-11 21:39:11.000000000 +0200 ++++ wmdots/wmdots/wmdots.c 2020-03-01 16:08:39.492275206 +0100 +@@ -315,6 +315,9 @@ + // 10,30,&y_off,-5,30,10 + // }; + ++Display *display; ++Window Root, iconwin, win; ++ + // ----------------------------------------------------------------------- + // draw a point at x/y in specified colour + +diff -Naur wmdots.orig/wmgeneral/wmgeneral.h wmdots/wmgeneral/wmgeneral.h +--- wmdots.orig/wmgeneral/wmgeneral.h 1998-10-16 02:16:59.000000000 +0200 ++++ wmdots/wmgeneral/wmgeneral.h 2020-03-01 16:08:45.412276631 +0100 +@@ -36,8 +36,8 @@ + /* Global variable */ + /*******************/ + +-Display *display; +-Window Root, iconwin, win; ++extern Display *display; ++extern Window Root, iconwin, win; + + + /***********************/ diff --git a/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild b/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild index 5aaba6401e1c..7c4b91c7072a 100644 --- a/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild +++ b/x11-plugins/wmdots/wmdots-0.2_beta-r1.ebuild @@ -21,6 +21,10 @@ DEPEND="${RDEPEND}" S="${WORKDIR}/${PN}" src_prepare() { + pushd "${WORKDIR}" || die + eapply "${FILESDIR}"/${P}-gcc-10.patch + popd || die + default eapply "${FILESDIR}"/${P}-stringh.patch sed -e "s|cc|$(tc-getCC)|g" \ |