Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/polyml Fix broken build on NetBSD amd64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e7a4a452a50
branches:  trunk
changeset: 436986:0e7a4a452a50
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Thu Aug 13 23:49:20 2020 +0000

description:
Fix broken build on NetBSD amd64.

diffstat:

 lang/polyml/distinfo                            |   3 ++-
 lang/polyml/patches/patch-libpolyml_polyffi.cpp |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r fd353de6f69b -r 0e7a4a452a50 lang/polyml/distinfo
--- a/lang/polyml/distinfo      Thu Aug 13 21:36:14 2020 +0000
+++ b/lang/polyml/distinfo      Thu Aug 13 23:49:20 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2019/05/02 18:24:58 alnsn Exp $
+$NetBSD: distinfo,v 1.15 2020/08/13 23:49:20 dholland Exp $
 
 SHA1 (polyml-5.7.1.tar.gz) = 454d3827263f514004a2465a2db0cd64ebe6e561
 RMD160 (polyml-5.7.1.tar.gz) = cc0061f191783c4749ef08fee33db4c3a2a269c6
@@ -7,4 +7,5 @@
 SHA1 (patch-configure) = 3df85bb0adac4bfd68fffa32c41944f21eaf8c40
 SHA1 (patch-configure.ac) = 63817ba1fd42bae03da67f74b5b97dda32b02118
 SHA1 (patch-libpolyml_elfexport.cpp) = 3dfde6483eca0778504265a8e92cad8ef86d72d3
+SHA1 (patch-libpolyml_polyffi.cpp) = 2a0ae4ce0e0d1238e79c629b27d4fc4e5363e1c7
 SHA1 (patch-modules_IntInfAsInt_Makefile.in) = f29e43ce8b832abdef73dce1d50a3b3e4db821ba
diff -r fd353de6f69b -r 0e7a4a452a50 lang/polyml/patches/patch-libpolyml_polyffi.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/polyml/patches/patch-libpolyml_polyffi.cpp   Thu Aug 13 23:49:20 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-libpolyml_polyffi.cpp,v 1.1 2020/08/13 23:49:20 dholland Exp $
+
+Fix build failure on amd64 with current libffi.
+
+--- libpolyml/polyffi.cpp~     2017-11-18 13:45:15.000000000 +0000
++++ libpolyml/polyffi.cpp
+@@ -109,7 +109,9 @@ static struct _abiTable { const char *ab
+ #elif defined(X86_WIN64)
+     {"win64", FFI_WIN64},
+ #elif defined(X86_ANY)
++#if !defined(X86_64)
+     {"sysv", FFI_SYSV},
++#endif
+     {"unix64", FFI_UNIX64},
+ #endif
+     { "default", FFI_DEFAULT_ABI}



Home | Main Index | Thread Index | Old Index