aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg0
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-12-25 05:22:21 +0800
committerkwm <kwm@FreeBSD.org>2013-12-25 05:22:21 +0800
commit3602daba968a0e16ff8817cb961f23cd54730acc (patch)
tree93506aaee5230ee46b75930c4b3a6b8e0f243d74 /multimedia/ffmpeg0
parentb6e03796b2af561162757d9125b17f9d15197d64 (diff)
downloadfreebsd-ports-gnome-3602daba968a0e16ff8817cb961f23cd54730acc.tar.gz
freebsd-ports-gnome-3602daba968a0e16ff8817cb961f23cd54730acc.tar.zst
freebsd-ports-gnome-3602daba968a0e16ff8817cb961f23cd54730acc.zip
Update freetype to 2.5.2.
Remove patch to add -I/usr/local/include in freetype-config --cflags. If ports need extra headers they should look for them, and not get them via a side-effect. Freetype had a header resuffle in 2.5.1, patch ports to use the new header style. Thanks go to bdrewery for the two exp-runs and rakuco for helping me with some troublesome cmake ports. PR: ports/184587
Diffstat (limited to 'multimedia/ffmpeg0')
-rw-r--r--multimedia/ffmpeg0/Makefile1
-rw-r--r--multimedia/ffmpeg0/files/patch-libavfilter_vf-drawtext.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/ffmpeg0/Makefile b/multimedia/ffmpeg0/Makefile
index e99c980908d4..113e1b338c6d 100644
--- a/multimedia/ffmpeg0/Makefile
+++ b/multimedia/ffmpeg0/Makefile
@@ -413,6 +413,7 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|-ldl||; s|$$(LIBMAJOR)|${SHLIB_VER}|g;' \
-e 's|opencv opencv/cxcore.h|opencv-core opencv2/core/core_c.h|g' \
+ -e 's|freetype/freetype.h|freetype.h|g' \
-e 's|check_ldflags -Wl,--as-needed||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL5}|g' \
diff --git a/multimedia/ffmpeg0/files/patch-libavfilter_vf-drawtext.c b/multimedia/ffmpeg0/files/patch-libavfilter_vf-drawtext.c
new file mode 100644
index 000000000000..86ac852ccc79
--- /dev/null
+++ b/multimedia/ffmpeg0/files/patch-libavfilter_vf-drawtext.c
@@ -0,0 +1,10 @@
+--- libavfilter/vf_drawtext.c.orig 2013-12-06 18:18:29.000000000 +0100
++++ libavfilter/vf_drawtext.c 2013-12-06 18:18:49.000000000 +0100
+@@ -41,7 +41,6 @@
+ #undef time
+
+ #include <ft2build.h>
+-#include <freetype/config/ftheader.h>
+ #include FT_FREETYPE_H
+ #include FT_GLYPH_H
+