mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
Fix stack alignment on i386, may cause runtime crashes
PR: 216837 Submitted by: cpm MFH: 2017Q1
This commit is contained in:
parent
1a52c51238
commit
cff69eae2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434477
2 changed files with 17 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= libass
|
||||
PORTVERSION= 0.13.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia devel
|
||||
|
||||
MAINTAINER= multimedia@FreeBSD.org
|
||||
|
|
16
multimedia/libass/files/patch-configure.ac
Normal file
16
multimedia/libass/files/patch-configure.ac
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- configure.ac.orig 2017-02-05 22:41:56 UTC
|
||||
+++ configure.ac
|
||||
@@ -79,7 +79,12 @@ AS_IF([test x$enable_asm != xno], [
|
||||
[*darwin*], [
|
||||
ASFLAGS="$ASFLAGS -f macho$BITS -DPREFIX -DHAVE_ALIGNED_STACK=1" ],
|
||||
[*linux*|*dragonfly*|*bsd*|*solaris*], [
|
||||
- ASFLAGS="$ASFLAGS -f elf -DHAVE_ALIGNED_STACK=1" ],
|
||||
+ AS_IF([test x$BITS = x64], [
|
||||
+ ASFLAGS="$ASFLAGS -f elf -DHAVE_ALIGNED_STACK=1"
|
||||
+ ], [
|
||||
+ ASFLAGS="$ASFLAGS -f elf -DHAVE_ALIGNED_STACK=0"
|
||||
+ ])
|
||||
+ ],
|
||||
[*cygwin*|*mingw*], [
|
||||
ASFLAGS="$ASFLAGS -f win$BITS"
|
||||
AS_IF([test x$BITS = x64], [
|
Loading…
Add table
Reference in a new issue