aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>
+