diff options
author | lioux <lioux@FreeBSD.org> | 2002-05-15 00:35:40 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-05-15 00:35:40 +0800 |
commit | 2801f1263a4e7607c21a3492f9dfe5e23847d833 (patch) | |
tree | c7043d4c63daf0bed5095c6c8168c154fbec9da6 /multimedia | |
parent | e673e8af6ecc1ac8060d21dc1430f562125a5357 (diff) | |
download | freebsd-ports-gnome-2801f1263a4e7607c21a3492f9dfe5e23847d833.tar.gz freebsd-ports-gnome-2801f1263a4e7607c21a3492f9dfe5e23847d833.tar.zst freebsd-ports-gnome-2801f1263a4e7607c21a3492f9dfe5e23847d833.zip |
Get rid of warnings from <values.h>
Submitted by: Alan E <ports@geeksrus.net>
Approved by: will
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kdemultimedia3/Makefile | 8 | ||||
-rw-r--r-- | multimedia/kdemultimedia4/Makefile | 8 |
2 files changed, 16 insertions, 0 deletions
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:" |