diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
commit | 2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch) | |
tree | c04604583d8be53b3ed7f10975be828c731f87cb /multimedia/mplayerxp | |
parent | 24315159daa0089f08acea4ba1b130fb6721ad5c (diff) | |
download | ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip |
Notes
Diffstat (limited to 'multimedia/mplayerxp')
-rw-r--r-- | multimedia/mplayerxp/Makefile | 4 | ||||
-rw-r--r-- | multimedia/mplayerxp/files/patch-mplayerxp__libvo__screenshot.c | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile index 769010803fd0..eb90ae4c1ab8 100644 --- a/multimedia/mplayerxp/Makefile +++ b/multimedia/mplayerxp/Makefile @@ -7,7 +7,7 @@ PORTNAME= mplayerxp PORTVERSION= 0.7.2 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= multimedia audio MASTER_SITES= SF @@ -15,7 +15,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Multi-threaded branch of the well known mplayer media player LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ - png.6:${PORTSDIR}/graphics/png \ + png15:${PORTSDIR}/graphics/png \ vcdinfo.2:${PORTSDIR}/multimedia/vcdimager RUN_DEPENDS= ${LOCALBASE}/share/mplayer/fonts:${PORTSDIR}/multimedia/mplayer-fonts diff --git a/multimedia/mplayerxp/files/patch-mplayerxp__libvo__screenshot.c b/multimedia/mplayerxp/files/patch-mplayerxp__libvo__screenshot.c new file mode 100644 index 000000000000..c79e3dfd515c --- /dev/null +++ b/multimedia/mplayerxp/files/patch-mplayerxp__libvo__screenshot.c @@ -0,0 +1,19 @@ +--- mplayerxp/libvo/screenshot.c.orig 2006-11-30 07:28:10.000000000 +0100 ++++ mplayerxp/libvo/screenshot.c 2012-05-06 20:04:09.000000000 +0200 +@@ -20,6 +20,7 @@ + #include <libpng/png.h> + #else + #include <png.h> ++#include <zlib.h> + #endif + #endif + +@@ -67,7 +68,7 @@ + return png; + } + +- if (setjmp(png.png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png.png_ptr))) { + MSG_V("PNG Internal error!\n"); + png_destroy_write_struct(&png.png_ptr, &png.info_ptr); + fclose(png.fp); |