Restore the stack alignment patch that was lost during the last update.
This fixes crashes in firefox, gnome-shell,... on i386. reported by Christian Schulte. figured out by kettenis@ and guenther@
This commit is contained in:
parent
836a7c1d81
commit
bf27c65553
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2013/08/11 09:09:03 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2013/09/10 06:18:41 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
# based on ffx 17 engine
|
||||
@ -15,6 +15,7 @@ MOZILLA_VERSION = 17.0
|
||||
DISTNAME = mozjs17.0.0
|
||||
PKGNAME = spidermonkey-${MOZILLA_VERSION}
|
||||
PKGSPEC = spidermonkey->=17.0,<18.0
|
||||
REVISION = 0
|
||||
|
||||
SO_VERSION = 0.0
|
||||
SHARED_LIBS = mozjs-17.0 ${SO_VERSION}
|
||||
|
@ -0,0 +1,13 @@
|
||||
$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 */
|
Loading…
Reference in New Issue
Block a user