aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/kdemultimedia3/Makefile8
-rw-r--r--multimedia/kdemultimedia3/Makefile8
-rw-r--r--multimedia/kdemultimedia4/Makefile8
3 files changed, 24 insertions, 0 deletions
diff --git a/audio/kdemultimedia3/Makefile b/audio/kdemultimedia3/Makefile
index ac2b221f2d01..7b3c720a36b1 100644
--- a/audio/kdemultimedia3/Makefile
+++ b/audio/kdemultimedia3/Makefile
@@ -34,6 +34,14 @@ MAKE_ENV= ${CONFIGURE_ENV}
# spurious, but i don't care
.include <bsd.port.pre.mk>
+post-patch:
+ @${PERL} -pi -e 's@values\.h@limits.h@' \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.h \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.h
+ @${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
+
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "In order to run the kscd program properly, please run as root:"
diff --git a/multimedia/kdemultimedia3/Makefile b/multimedia/kdemultimedia3/Makefile
index ac2b221f2d01..7b3c720a36b1 100644
--- a/multimedia/kdemultimedia3/Makefile
+++ b/multimedia/kdemultimedia3/Makefile
@@ -34,6 +34,14 @@ MAKE_ENV= ${CONFIGURE_ENV}
# spurious, but i don't care
.include <bsd.port.pre.mk>
+post-patch:
+ @${PERL} -pi -e 's@values\.h@limits.h@' \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.h \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.h
+ @${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
+
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "In order to run the kscd program properly, please run as root:"
diff --git a/multimedia/kdemultimedia4/Makefile b/multimedia/kdemultimedia4/Makefile
index ac2b221f2d01..7b3c720a36b1 100644
--- a/multimedia/kdemultimedia4/Makefile
+++ b/multimedia/kdemultimedia4/Makefile
@@ -34,6 +34,14 @@ MAKE_ENV= ${CONFIGURE_ENV}
# spurious, but i don't care
.include <bsd.port.pre.mk>
+post-patch:
+ @${PERL} -pi -e 's@values\.h@limits.h@' \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.h \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.h
+ @${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
+ ${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
+
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "In order to run the kscd program properly, please run as root:"