aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2014-12-26 06:43:59 +0800
committerriggs <riggs@FreeBSD.org>2014-12-26 06:43:59 +0800
commit7385b80726cf18a6d30e2c2bd6e8e45c02f872c5 (patch)
tree47d2d6abd46ddd0925c4195eaed0b3802e977d3a
parent175eac9c0092475f1a48364658d44ee1c97dae8e (diff)
downloadfreebsd-ports-gnome-7385b80726cf18a6d30e2c2bd6e8e45c02f872c5.tar.gz
freebsd-ports-gnome-7385b80726cf18a6d30e2c2bd6e8e45c02f872c5.tar.zst
freebsd-ports-gnome-7385b80726cf18a6d30e2c2bd6e8e45c02f872c5.zip
Fix build on 8.x systems
PR: 195600 Submitted by: truckman@FreeBSD.org Approved by: clutton@zoho.com (maintainer)
-rw-r--r--multimedia/ffmpegthumbnailer/Makefile2
-rw-r--r--multimedia/ffmpegthumbnailer/files/patch-libffmpegthumbnailer_jpegwriter.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/ffmpegthumbnailer/Makefile b/multimedia/ffmpegthumbnailer/Makefile
index 2f65d6c9d31c..44aa444f91c1 100644
--- a/multimedia/ffmpegthumbnailer/Makefile
+++ b/multimedia/ffmpegthumbnailer/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= libtool pathfix pkgconfig
+USES= compiler:c++11-lib libtool pathfix pkgconfig
USE_GNOME= glib20
USE_LDCONFIG= yes
diff --git a/multimedia/ffmpegthumbnailer/files/patch-libffmpegthumbnailer_jpegwriter.h b/multimedia/ffmpegthumbnailer/files/patch-libffmpegthumbnailer_jpegwriter.h
new file mode 100644
index 000000000000..4b853a9d6e57
--- /dev/null
+++ b/multimedia/ffmpegthumbnailer/files/patch-libffmpegthumbnailer_jpegwriter.h
@@ -0,0 +1,10 @@
+--- libffmpegthumbnailer/jpegwriter.h.orig 2014-05-30 02:04:59.000000000 -0700
++++ libffmpegthumbnailer/jpegwriter.h 2014-12-02 18:20:46.000000000 -0800
+@@ -17,6 +17,7 @@
+ #ifndef JPEG_WRITER_H
+ #define JPEG_WRITER_H
+
++#include <cstdio>
+ #include <string>
+ #include <vector>
+