1 |
commit: 46a633809e757e7a2579c883468d242ed0af0890 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 20:36:01 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 20:43:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a63380 |
7 |
|
8 |
x11-misc/obconf: fix build with clang16 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/870538 |
11 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
12 |
|
13 |
.../obconf/files/obconf-2.0.4_p20150213-clang16.patch | 19 +++++++++++++++++++ |
14 |
x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild | 4 ++++ |
15 |
2 files changed, 23 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/obconf/files/obconf-2.0.4_p20150213-clang16.patch b/x11-misc/obconf/files/obconf-2.0.4_p20150213-clang16.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..4775005da274 |
20 |
--- /dev/null |
21 |
+++ b/x11-misc/obconf/files/obconf-2.0.4_p20150213-clang16.patch |
22 |
@@ -0,0 +1,19 @@ |
23 |
+https://bugs.gentoo.org/870538 |
24 |
+--- a/src/appearance.c |
25 |
++++ b/src/appearance.c |
26 |
+@@ -19,2 +19,3 @@ |
27 |
+ |
28 |
++#include <ctype.h> |
29 |
+ #include "main.h" |
30 |
+--- a/src/desktops.h |
31 |
++++ b/src/desktops.h |
32 |
+@@ -26,2 +26,3 @@ |
33 |
+ void desktops_setup_names(GtkWidget *w); |
34 |
++void desktops_setup_tab(void); |
35 |
+ |
36 |
+--- a/src/main.c |
37 |
++++ b/src/main.c |
38 |
+@@ -26,2 +26,3 @@ |
39 |
+ #include "mouse.h" |
40 |
++#include "moveresize.h" |
41 |
+ #include "desktops.h" |
42 |
|
43 |
diff --git a/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild b/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild |
44 |
index 3d916d661ce9..18c3479ac255 100644 |
45 |
--- a/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild |
46 |
+++ b/x11-misc/obconf/obconf-2.0.4_p20150213-r1.ebuild |
47 |
@@ -33,6 +33,10 @@ BDEPEND=" |
48 |
virtual/pkgconfig |
49 |
nls? ( sys-devel/gettext )" |
50 |
|
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${P}-clang16.patch |
53 |
+) |
54 |
+ |
55 |
src_prepare() { |
56 |
default |