For convenience, this is the crude fix I did to the PKGBUILD.
diff --git a/PKGBUILD b/PKGBUILD
index 7d2f26d..cdc9db6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Platform and API toolkit to transfer existing content into the FBX format.'
arch=('x86_64')
url='http://www.autodesk.com/products/fbx/overview'
-depends=(gcc-libs libxml2 zlib glibc)
+depends=(gcc-libs libxml2-legacy zlib glibc)
makedepends=(rsync)
license=('LicenseRef-Autodesk-FBX-SDK-2020-License')
install='fbx-sdk.install'
@@ -19,6 +19,9 @@ build() {
mkdir -p "${srcdir}/fbx-sdk"
chmod 755 "${srcdir}/fbx${pkgver//./}_fbxsdk_linux"
printf "yes\nn\n" | "${srcdir}/fbx${pkgver//./}_fbxsdk_linux" "${srcdir}/fbx-sdk"
+
+ # fix typo in sdk file, replace mLefttChild with mLeftChild
+ sed -i 's/mLefttChild/mLeftChild/g' "${srcdir}/fbx-sdk/include/fbxsdk/core/base/fbxredblacktree.h"
}
package_fbx-sdk() {
Ideally you would create a patchfile for the source and apply that instead.
Pinned Comments
bartus commented on 2022-03-14 10:34 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post