1 |
commit: 41f212cc11c2cbe97edccd200c21a345dc88c6be |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 26 00:28:09 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 26 00:29:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f212cc |
7 |
|
8 |
dev-libs/libwapcaplet: fix compilation error with gcc 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/664288 |
11 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
.../libwapcaplet/files/libwapcaplet-0.4.1-makefile.patch | 12 ++++++++++++ |
15 |
dev-libs/libwapcaplet/libwapcaplet-0.4.1.ebuild | 5 +++++ |
16 |
2 files changed, 17 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/libwapcaplet/files/libwapcaplet-0.4.1-makefile.patch b/dev-libs/libwapcaplet/files/libwapcaplet-0.4.1-makefile.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..6d84e24de43 |
21 |
--- /dev/null |
22 |
+++ b/dev-libs/libwapcaplet/files/libwapcaplet-0.4.1-makefile.patch |
23 |
@@ -0,0 +1,12 @@ |
24 |
+diff --git a/Makefile b/Makefile |
25 |
+index a220258..0e0799e 100644 |
26 |
+--- a/Makefile |
27 |
++++ b/Makefile |
28 |
+@@ -24,7 +24,6 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ |
29 |
+ -Wmissing-declarations -Wnested-externs |
30 |
+ # BeOS/Haiku standard library headers issue warnings |
31 |
+ ifneq ($(BUILD),i586-pc-haiku) |
32 |
+- WARNFLAGS := $(WARNFLAGS) -Werror |
33 |
+ endif |
34 |
+ |
35 |
+ CFLAGS := -D_BSD_SOURCE -D_DEFAULT_SOURCE \ |
36 |
|
37 |
diff --git a/dev-libs/libwapcaplet/libwapcaplet-0.4.1.ebuild b/dev-libs/libwapcaplet/libwapcaplet-0.4.1.ebuild |
38 |
index a291732ab00..4e1c13da9b4 100644 |
39 |
--- a/dev-libs/libwapcaplet/libwapcaplet-0.4.1.ebuild |
40 |
+++ b/dev-libs/libwapcaplet/libwapcaplet-0.4.1.ebuild |
41 |
@@ -16,6 +16,11 @@ IUSE="test" |
42 |
|
43 |
DEPEND="test? ( >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] )" |
44 |
|
45 |
+PATCHES=( |
46 |
+ # bug 664288 |
47 |
+ "${FILESDIR}/${PN}-0.4.1-makefile.patch" |
48 |
+) |
49 |
+ |
50 |
src_prepare() { |
51 |
# working around broken netsurf eclass |
52 |
default |