openjpeg: fix build without C++ support
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 23 Sep 2017 17:18:12 +0000 (19:18 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 23 Sep 2017 17:20:18 +0000 (19:20 +0200)
commitd2911fec6a02cfd9324c96a4dada9c493929c26b
treeb5f225ff87ca3056c0563f5675528c4aafa2b770
parent4d597d70ec20d48b9a73d8987854bb0ff8f2e0d6
openjpeg: fix build without C++ support

Fixes:
http://autobuild.buildroot.net/results/e2f/e2ff0a7fa2b911157edf6c43a8eed797b22edd46/
http://autobuild.buildroot.net/results/670/6706339e7df2f2e7d0d7a15663bed185ca55c2a1/

Openjpeg is written in C, but with the move to CMake the build system now
errors out if a C++ compiler isn't available.  Fix it by patching the
CMakeLists.txt to not require C++ support.

Patch submitted upstream:
https://github.com/uclouvain/openjpeg/pull/1027

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/openjpeg/0004-CMakeLists.txt-Don-t-require-a-C-compiler.patch [new file with mode: 0644]