diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-06-01 13:26:28 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-06-01 13:26:28 +0800 |
commit | 530706893f31269bbfa303e069f2e76cbbe2fce7 (patch) | |
tree | a8077a0d6e20d70b39e6a7fe3e57a6dafe7c7f33 /multimedia/mplayerxp | |
parent | 9d262811a145d3e715edefd1d5d64ceac41de547 (diff) | |
download | freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.gz freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.zst freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.zip |
- update png to 1.5.10
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); |