diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 5951196..0be15f2 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -11,9 +11,14 @@ depends=('zlib' 'gcc-libs') makedepends=('cmake' 'ninja') url='https://github.com/assimp/assimp' source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz" - https://github.com/gentoo/gentoo/raw/master/media-libs/assimp/files/assimp-5.2.3-drop-Werror-gcc-option.patch) + https://github.com/gentoo/gentoo/raw/master/media-libs/assimp/files/assimp-5.2.2-fix-usage-of-incompatible-minizip-data-structure.patch) sha512sums=('ee988b1806b46c78f97bb5b25237a3f56a7028ed37898fb9b243e379e29e8bfd29e4dffc616566941ed9bdcf502bd30568904ad2ef2ef7d0f63b40daefdc66bf' - '774abd8d0334605a1d48889036376d16fed683dd0f0f86fcfc39792e97d088383ca7eb49f8df842feedba1d2790b8a86c7d752aab38ca6fcf0f7819cc1a96d73') + '2103864934bd4a3469b419536da4604839b3b1a1b412612dd5a631f578d7c54538e7c97ca612e28425e5f1dd0ce71c11117165f1cbcb5f3604113ae4be259734') + +prepare() { + cd ${pkgname}-${pkgver} + patch -Np1 -i ../assimp-5.2.2-fix-usage-of-incompatible-minizip-data-structure.patch # https://github.com/assimp/assimp/issues/4334 +} build() { cd ${pkgname}-${pkgver}