Date: Saturday, July 9, 2022 @ 01:53:22 Author: svenstaro Revision: 450545
upgpkg: assimp 5.2.4-2: Rebuild with new patch Modified: assimp/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-09 01:40:17 UTC (rev 450544) +++ PKGBUILD 2022-07-09 01:53:22 UTC (rev 450545) @@ -3,7 +3,7 @@ pkgname=assimp pkgver=5.2.4 -pkgrel=1 +pkgrel=2 pkgdesc="Library to import various well-known 3D model formats in an uniform manner" arch=('x86_64') license=('BSD') @@ -11,10 +11,15 @@ 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}