$OpenBSD: patch-ctypes_libffi_src_x86_freebsd_S,v 1.3 2013/09/10 06:18:41 ajacoutot Exp $
--- ctypes/libffi/src/x86/freebsd.S.orig	Thu Mar 31 21:08:36 2011
+++ ctypes/libffi/src/x86/freebsd.S	Mon Apr  1 11:28:19 2013
@@ -49,6 +49,9 @@ ffi_call_SYSV:
 	movl  16(%ebp),%ecx
 	subl  %ecx,%esp
 
+	/* Align the stack pointer to 16-bytes */
+	andl  $0xfffffff0, %esp
+
 	movl  %esp,%eax
 
 	/* Place all of the ffi_prep_args in position  */
