summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libwapcaplet/files/libwapcaplet-0.4.1-makefile.patch12
-rw-r--r--dev-libs/libwapcaplet/libwapcaplet-0.4.1.ebuild5
2 files changed, 17 insertions, 0 deletions
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 000000000000..6d84e24de433
--- /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 a291732ab001..4e1c13da9b4d 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