diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-14 16:35:40 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-14 16:35:40 +0000 |
commit | 316bfc50ead1754a62afd393e0801459b4c024ca (patch) | |
tree | dd1c76b875392e2a155082888293683b0f6b50a2 /multimedia | |
parent | dd438e78dee6162597293cf31df2b64534a8e3c9 (diff) | |
download | ports-316bfc50ead1754a62afd393e0801459b4c024ca.tar.gz ports-316bfc50ead1754a62afd393e0801459b4c024ca.zip |
Get rid of warnings from <values.h>
Submitted by: Alan E <ports@geeksrus.net>
Approved by: will
Notes
Notes:
svn path=/head/; revision=59088
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:" |