aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kmplayer-kde4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kmplayer-kde4/Makefile')
-rw-r--r--multimedia/kmplayer-kde4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/kmplayer-kde4/Makefile b/multimedia/kmplayer-kde4/Makefile
index 57bfe6f52c07..2d4f4b6d61d8 100644
--- a/multimedia/kmplayer-kde4/Makefile
+++ b/multimedia/kmplayer-kde4/Makefile
@@ -27,9 +27,10 @@ CONFIGURE_TARGET=
CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug
post-patch:
+# remove -pedantic where possible to fix build errors on -CURRENT
# remove optimizations
@${REINPLACE_CMD} -e \
- 's|-O2||' \
+ 's|-O2||; s|-pedantic ||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# do not try to roll our own mimetypes
@${REINPLACE_CMD} -E -e \