Description: patch libffi usage for s390x/ppc64
Bug: https://github.com/rakudo/rakudo/issues/1663
Author: Robert Lemmen <robertle@semistable.com>
--- a/src/core/nativecall_libffi.c        
+++ b/src/core/nativecall_libffi.c   
@@ -359,7 +359,7 @@
             *(signed short *)cb_result = MVM_nativecall_unmarshal_short(tc, res.o);
             break;
         case MVM_NATIVECALL_ARG_INT:
-            *(signed int *)cb_result = MVM_nativecall_unmarshal_int(tc, res.o);
+            *(signed long *)cb_result = MVM_nativecall_unmarshal_int(tc, res.o);
             break;
         case MVM_NATIVECALL_ARG_LONG:
             *(signed long *)cb_result = MVM_nativecall_unmarshal_long(tc, res.o);
