aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-06-23 17:16:45 +0800
committerahze <ahze@FreeBSD.org>2005-06-23 17:16:45 +0800
commit969b078b8b062b5615817b9e05b6e08123425608 (patch)
treeb095d94ee6a77d7f550c3a71c65697e8b97151e0
parent1875eda69227736231aa9ffa46a398a406603313 (diff)
downloadfreebsd-ports-gnome-969b078b8b062b5615817b9e05b6e08123425608.tar.gz
freebsd-ports-gnome-969b078b8b062b5615817b9e05b6e08123425608.tar.zst
freebsd-ports-gnome-969b078b8b062b5615817b9e05b6e08123425608.zip
- Add USE_PERL5_BUILD
- Add patch to fix build with older ffmpeg.
-rw-r--r--multimedia/vlc-devel/Makefile1
-rw-r--r--multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_encoder.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile
index 944a9263c93c..fd25e39d2abf 100644
--- a/multimedia/vlc-devel/Makefile
+++ b/multimedia/vlc-devel/Makefile
@@ -254,6 +254,7 @@ USE_GNOME= gnometarget libxml2
USE_REINPLACE= yes
WANT_SDL= yes
USE_ICONV= yes
+USE_PERL5_BUILD=yes
FAKEDIR= ${WRKDIR}/fake
PLIST= ${WRKDIR}/plist
diff --git a/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_encoder.c b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_encoder.c
new file mode 100644
index 000000000000..230fc6e14586
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_encoder.c
@@ -0,0 +1,12 @@
+--- modules/codec/ffmpeg/encoder.c.orig Thu Jun 23 05:09:11 2005
++++ modules/codec/ffmpeg/encoder.c Thu Jun 23 05:10:04 2005
+@@ -364,7 +364,9 @@
+ p_context->lumi_masking = p_sys->f_lumi_masking;
+ p_context->dark_masking = p_sys->f_dark_masking;
+ p_context->p_masking = p_sys->f_p_masking;
++#if LIBAVCODEC_BUILD >= 4754
+ p_context->border_masking = p_sys->f_border_masking;
++#endif
+ p_context->luma_elim_threshold = p_sys->i_luma_elim;
+ p_context->chroma_elim_threshold = p_sys->i_chroma_elim;
+