Fix OpenEXR C++ version requirement
- Remove -std=c++98 from OpenEXR's CFLAGS, it now requires at least
C++11.
Change-Id: Idd2dcf04e5651e272c537c07ad9e866072eff294
diff --git a/debian/patches/0004-openexr.patch b/debian/patches/0004-openexr.patch
new file mode 100644
index 0000000..e503adb
--- /dev/null
+++ b/debian/patches/0004-openexr.patch
@@ -0,0 +1,13 @@
+diff --git a/ext/openexr/Makefile.am b/ext/openexr/Makefile.am
+index 1a95fee6..137850f8 100644
+--- a/ext/openexr/Makefile.am
++++ b/ext/openexr/Makefile.am
+@@ -6,7 +6,7 @@ libgstopenexr_la_CFLAGS = \
+ $(OPENEXR_CFLAGS)
+ libgstopenexr_la_CXXFLAGS = \
+ $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) \
+- $(OPENEXR_CFLAGS) -std=c++98
++ $(OPENEXR_CFLAGS)
+ libgstopenexr_la_LIBADD = \
+ $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
+ $(GST_BASE_LIBS) $(GST_LIBS) $(OPENEXR_LIBS)
diff --git a/debian/patches/series b/debian/patches/series
index b73880f..1a14fcd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
0001-mtk-upgrade-gst-bad-to-1-14-4.patch
0002-mtk-gst-libs-gst-wayland-makefile.patch
0003-waylandsink-support-fullscreen.patch
+0004-openexr.patch