aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-09 16:19:06 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-09 16:19:06 -0300
commit975a86e8ff353cf6d06d9ab47b6fe7ed172a8abf (patch)
tree1c17806b405b8ebda43dd711a8f71140887760dc
parent48ea28dd75c7bedfaabcb1cf2f98926e433064b7 (diff)
downloadaports-975a86e8ff353cf6d06d9ab47b6fe7ed172a8abf.tar.gz
aports-975a86e8ff353cf6d06d9ab47b6fe7ed172a8abf.tar.bz2
aports-975a86e8ff353cf6d06d9ab47b6fe7ed172a8abf.tar.xz
community/ecl: try fixing build on 32bit arches
-rw-r--r--community/ecl/APKBUILD2
-rw-r--r--community/ecl/fix-build-with-libffi-3.3.patch14
2 files changed, 11 insertions, 5 deletions
diff --git a/community/ecl/APKBUILD b/community/ecl/APKBUILD
index bc3ae55b85..e95ceafbcb 100644
--- a/community/ecl/APKBUILD
+++ b/community/ecl/APKBUILD
@@ -31,4 +31,4 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="5d743f422f6bc24671abf4c739cde8273d08f056906a1ef8aed5145c703b6d52c7fa4b5e0be8c125f32240c20ce053007786bb3ae81cc34d47791f6fae0819c1 ecl-16.1.3.tgz
-5ec11d7b2195f86e0437419152da706b934687b0c942bf51e1ac0ca9346e52acd0ab0ccc6161de7269acbc59227e26747f46eca1b001217e33c9a249ad21b1e2 fix-build-with-libffi-3.3.patch"
+c954e79d5409ed7d25df3477686201755d66f3132f2f9121fbc90b8738c7ea176c9cb3184cd100bc51e6af3f30554dec3957be1c0a29de97316b3a9dc4e0f7e4 fix-build-with-libffi-3.3.patch"
diff --git a/community/ecl/fix-build-with-libffi-3.3.patch b/community/ecl/fix-build-with-libffi-3.3.patch
index dbb31fb24f..7859228cef 100644
--- a/community/ecl/fix-build-with-libffi-3.3.patch
+++ b/community/ecl/fix-build-with-libffi-3.3.patch
@@ -1,15 +1,21 @@
diff --git a/src/c/ffi.d b/src/c/ffi.d
-index 8174977..caa69f3 100644
+index 8174977..b42335c 100644
--- a/src/c/ffi.d
+++ b/src/c/ffi.d
-@@ -133,8 +133,8 @@ static struct {
+@@ -132,10 +132,13 @@ static struct {
+ {@':stdcall', FFI_STDCALL},
#elif defined(X86_WIN64)
{@':win64', FFI_WIN64},
- #elif defined(X86_ANY) || defined(X86) || defined(X86_64)
+-#elif defined(X86_ANY) || defined(X86) || defined(X86_64)
- {@':cdecl', FFI_SYSV},
- {@':sysv', FFI_SYSV},
-+ {@':cdecl', FFI_UNIX64},
++#elif defined (X86_64)
+ {@':sysv', FFI_UNIX64},
++ {@':cdecl', FFI_UNIX64},
{@':unix64', FFI_UNIX64},
++#elif defined(X86_ANY)
++ {@':sysv', FFI_SYSV},
++ {@':cdecl', FFI_SYSV},
#endif
};
+