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