From 0a7bc6c97b83d3531b8ea0b71ff87ad123944a9d Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 15 Oct 2017 20:25:11 +0200 Subject: [PATCH] gst-plugins-bad: Fix building with openjpeg 2.3 --- .../gst-plugins-bad/ext-openjpeg-gstopenjpeg.h.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/gst-plugins-bad/ext-openjpeg-gstopenjpeg.h.patch diff --git a/packages/gst-plugins-bad/ext-openjpeg-gstopenjpeg.h.patch b/packages/gst-plugins-bad/ext-openjpeg-gstopenjpeg.h.patch new file mode 100644 index 00000000..273d9acd --- /dev/null +++ b/packages/gst-plugins-bad/ext-openjpeg-gstopenjpeg.h.patch @@ -0,0 +1,17 @@ +--- ext/openjpeg/gstopenjpeg.h.orig 2017-08-17 05:39:18.000000000 -0500 ++++ ./ext/openjpeg/gstopenjpeg.h 2017-10-05 20:36:20.000000000 -0500 +@@ -38,13 +38,7 @@ + #define OPJ_CPRL CPRL + #else + #include +-# if defined(HAVE_OPENJPEG_2_2) +-# include +-# elif defined(HAVE_OPENJPEG_2_1) +-# include +-# else +-# include +-# endif ++#include + #endif + + #endif /* __GST_OPENJPEG_H__ */ -- 2.11.0