package/assimp: fix musl zlib/zip related compile failure
authorPeter Seiderer <ps.report@gmx.net>
Fri, 10 Apr 2020 16:32:37 +0000 (18:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 10 Apr 2020 20:45:24 +0000 (22:45 +0200)
commitb529a582ba4d7671597e95d7ab54ee652cbbc261
treeb702b718731fdab3f91851fc5406e73920385c2a
parentafeae17c365f15d810cc974db06da9a1c8eb4bc9
package/assimp: fix musl zlib/zip related compile failure

As assimp fails to use system provided zlib/zip (and is picky
about the provided versions) use assimp contributed one
and backport one part of upstream patch to fix musl compile.

Fixes:

  http://autobuild.buildroot.net/results/4b373ae7d8fd40efe3e2592f94f2d769d6a77669

  In file included from .../assimp-5.0.1/code/3MF/D3MFExporter.cpp:61:
  .../assimp-5.0.1/contrib/zip/src/zip.h:30:15: error: conflicting declaration 'typedef long int ssize_t'
   typedef long  ssize_t;  /* byte count or error */
                 ^~~~~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/assimp/0002-contrib-zip-fix-ssize_t-typedef-mismatch-for-musl-co.patch [new file with mode: 0644]
package/assimp/Config.in
package/assimp/assimp.mk