Closes: https://bugs.gentoo.org/664288
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
--- /dev/null
+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 \
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