aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-15 00:35:40 +0800
committerlioux <lioux@FreeBSD.org>2002-05-15 00:35:40 +0800
commit2801f1263a4e7607c21a3492f9dfe5e23847d833 (patch)
treec7043d4c63daf0bed5095c6c8168c154fbec9da6
parente673e8af6ecc1ac8060d21dc1430f562125a5357 (diff)
downloadfreebsd-ports-graphics-2801f1263a4e7607c21a3492f9dfe5e23847d833.tar.gz
freebsd-ports-graphics-2801f1263a4e7607c21a3492f9dfe5e23847d833.tar.zst
freebsd-ports-graphics-2801f1263a4e7607c21a3492f9dfe5e23847d833.zip
Get rid of warnings from <values.h>
Submitted by: Alan E <ports@geeksrus.net> Approved by: will
-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 ac2b221f2d0..7b3c720a36b 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 ac2b221f2d0..7b3c720a36b 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 ac2b221f2d0..7b3c720a36b 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:"