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/wmbio | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'x11-plugins/wmbio')
-rw-r--r-- | x11-plugins/wmbio/Manifest | 3 | ||||
-rw-r--r-- | x11-plugins/wmbio/files/wmbio-1.02-fno-common.patch | 26 | ||||
-rw-r--r-- | x11-plugins/wmbio/wmbio-1.02.ebuild | 6 |
3 files changed, 31 insertions, 4 deletions
diff --git a/x11-plugins/wmbio/Manifest b/x11-plugins/wmbio/Manifest index 63acde5bcd8a..eed297e87491 100644 --- a/x11-plugins/wmbio/Manifest +++ b/x11-plugins/wmbio/Manifest @@ -1,3 +1,4 @@ +AUX wmbio-1.02-fno-common.patch 740 BLAKE2B d53e54a24ee0a7271746632cffed02475406ce5048bf8c37d3b1b7ee0932e8c8927db8cd22aa32e7d509dbcac0e1438c2aa44cd62e48822edffe28802aef05c6 SHA512 38881970a52f20ec721ab944c43c80586a65c35f704e4103f996d6276897850754a5f912386e01c6f4c32ee48f03ca4ccef504a8c8c7fc367c4c982cab9061a7 DIST wmbio-1.02.tar.gz 21799 BLAKE2B f3736ad83e4441f027b8091d398f7f819de79d29d9d48dff0f1ab3c159e1da2fc367f8faa92addedb770d7137e7a93f8e91a29935264a6505d16c9598daad64b SHA512 bebe8de364f782c38164fdd3910c3f63ff8313fa46fce1215218a4d14b9be0c793ee1d234fdb694798c1ab49b17eca90957d22c076920bf50ecf24b563a07d5b -EBUILD wmbio-1.02.ebuild 770 BLAKE2B 41bacd72cd557d6ee2312e96a27cff79477d158f54bd987eb0c4e01306783c0a0e41a1ca8bc6ca32c132b65d4f5be0510ce115366905fae7b01dc9a8ece17d2f SHA512 379b4b3174023ef0e542b9ad898306db30a05eb27ce1c76b5425ae571d98d69582ae0422374f269f7d4aea160d98cfa6f1ae64aecf3abb6e031b61b5ab7793ec +EBUILD wmbio-1.02.ebuild 768 BLAKE2B 67390e3a14265a6e0215fe4ea704e21cf2c347c7cf80c6acb9f9178f44b61d7888e73d0da986d92cbfe6ad6780e855444f71409c7bde0a2154937785752d7e11 SHA512 e0b3ded12d598815617f09f5a97a3aedf29b326e8bf1f83075fcdb509226e9c9805c91b1778d65144148a29e3a5272fe6f64eb879b5243d3368431dc68491378 MISC metadata.xml 603 BLAKE2B 80e4c0fe2c556274da84f248b415737be477445c3da6e9fce5fd6a66480a2c2455c3100d6e2466d124ca6f2c6d6939dff229eb948ac9ef30127b68e9172d25f8 SHA512 fd27767ae3ef58f3eae5cb89cb62257989d5d574b2cdda8b2acdf25fb35091c1903037121cb127189f7c35343d588c4ea99741f292097854a6aebdda01ed3e3b diff --git a/x11-plugins/wmbio/files/wmbio-1.02-fno-common.patch b/x11-plugins/wmbio/files/wmbio-1.02-fno-common.patch new file mode 100644 index 000000000000..ce53876b7ecd --- /dev/null +++ b/x11-plugins/wmbio/files/wmbio-1.02-fno-common.patch @@ -0,0 +1,26 @@ +diff -Naur src.orig/wmbio.c src/wmbio.c +--- src.orig/wmbio.c 2004-01-21 13:58:12.000000000 +0100 ++++ src/wmbio.c 2020-03-08 12:13:32.177944932 +0100 +@@ -78,6 +78,8 @@ + struct tm *local; // for the local time + time_t tempo; + ++Display *display; ++Window Root, iconwin, win; + + /* MAIN */ + int main (int argc, char *argv[]); +diff -Naur src.orig/wmgeneral.h src/wmgeneral.h +--- src.orig/wmgeneral.h 2002-04-27 16:02:09.000000000 +0200 ++++ src/wmgeneral.h 2020-03-08 12:13:24.853941688 +0100 +@@ -24,8 +24,8 @@ + } XpmIcon; + + +-Display *display; +-Window Root, iconwin, win; ++extern Display *display; ++extern Window Root, iconwin, win; + + + void AddMouseRegion(int index, int left, int top, int right, int bottom); diff --git a/x11-plugins/wmbio/wmbio-1.02.ebuild b/x11-plugins/wmbio/wmbio-1.02.ebuild index 6f9afadd6ebf..d2d2e7ccc5fb 100644 --- a/x11-plugins/wmbio/wmbio-1.02.ebuild +++ b/x11-plugins/wmbio/wmbio-1.02.ebuild @@ -18,15 +18,15 @@ RDEPEND="x11-libs/libX11 DEPEND="${RDEPEND} x11-base/xorg-proto" +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) S=${WORKDIR}/${P}/src src_prepare() { default # Honour Gentoo CFLAGS - sed -i "s/-g -O2/\$(CFLAGS)/" Makefile || die "sed for CFLAGS failed" - + sed -i "s/-g -O2/\$(CFLAGS)/" Makefile || die # Honour Gentoo LDFLAGS - sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile || die "sed for LDFLAGS failed" + sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile || die } src_install() { |