aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-11-14 14:48:25 +0800
committerdinoex <dinoex@FreeBSD.org>2016-11-14 14:48:25 +0800
commitb9059de6d7e72c74b4e42f88a24439561a698618 (patch)
tree6374f837dc5067dbc3622ad039b8510f68370c8d
parent392ff0906f5bb19ab5086ce92ecede3fa771aac5 (diff)
downloadfreebsd-ports-gnome-b9059de6d7e72c74b4e42f88a24439561a698618.tar.gz
freebsd-ports-gnome-b9059de6d7e72c74b4e42f88a24439561a698618.tar.zst
freebsd-ports-gnome-b9059de6d7e72c74b4e42f88a24439561a698618.zip
- fix build with ffmpeg3
PR: 214189
-rw-r--r--emulators/vice/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 93542e471a7c..fc3ba0ad2d6b 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vice
PORTVERSION= 2.4
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= emulators
MASTER_SITES= http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/ \
ftp://ftp.zimmers.net/pub/cbm/crossplatform/emulators/VICE/
@@ -155,6 +155,9 @@ post-patch:
${REINPLACE_CMD} -e 's|CODEC_ID_|AV_CODEC_ID_|' \
-e 's|PIX_FMT_|AV_PIX_FMT_|' \
${WRKSRC}/src/gfxoutputdrv/ffmpegdrv.c
+ ${REINPLACE_CMD} \
+ -e 's|enum PixelFormat|enum AVPixelFormat|g' \
+ ${WRKSRC}/src/gfxoutputdrv/ffmpeglib.h
.for i in da.po de.po fr.po hu.po it.po nl.po pl.po sv.po tr.po
${MV} "${WRKSRC}/po/${i}" "${WRKSRC}/po/${i}.latin"
${ICONV_CMD} -f latin1 -t utf-8 < "${WRKSRC}/po/${i}.latin" > "${WRKSRC}/po/${i}"