chiark / gitweb /
gst-plugins-bad: Fix building with openjpeg 2.3
[termux-packages] / packages / gst-plugins-bad / ext-openjpeg-gstopenjpeg.h.patch
1 --- ext/openjpeg/gstopenjpeg.h.orig     2017-08-17 05:39:18.000000000 -0500
2 +++ ./ext/openjpeg/gstopenjpeg.h        2017-10-05 20:36:20.000000000 -0500
3 @@ -38,13 +38,7 @@
4  #define OPJ_CPRL CPRL
5  #else
6  #include <stdio.h>
7 -# if defined(HAVE_OPENJPEG_2_2)
8 -#  include <openjpeg-2.2/openjpeg.h>
9 -# elif defined(HAVE_OPENJPEG_2_1)
10 -#  include <openjpeg-2.1/openjpeg.h>
11 -# else
12 -#  include <openjpeg-2.0/openjpeg.h>
13 -# endif
14 +#include <openjpeg-2.3/openjpeg.h>
15  #endif
16  
17  #endif /* __GST_OPENJPEG_H__ */