Package-Manager: Portage-2.3.86, Repoman-2.3.20
Closes: https://bugs.gentoo.org/707680
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
"
PATCHES=(
"${FILESDIR}"/${P}-r1-gentoo.patch
+ "${FILESDIR}"/${P}-fno-common.patch
)
src_compile() {
--- /dev/null
+--- aedesk.c
++++ b/aedesk.c
+@@ -11,10 +11,6 @@
+
+ #define UMOD(x, y) ((((long)(x) % (long)(y)) + (y)) % (y))
+
+-Display *dpy;
+-Window root;
+-Atom net_cur_desk, net_num_desks;
+-
+ static unsigned long parse_desk(char *spec);
+
+ int main(int argc, char **argv)
+--- aepanel.c
++++ b/aepanel.c
+@@ -36,9 +36,6 @@
+ void sig_handler(int);
+ void set_strut(Window, strut_t *);
+
+-Atom net_wm_strut;
+-Atom net_wm_strut_partial;
+-Atom net_wm_wintype;
+ Atom net_wm_wintype_dock;
+
+ #define NAME_SIZE 48