diff options
author | riggs <riggs@FreeBSD.org> | 2017-02-21 01:51:19 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2017-02-21 01:51:19 +0800 |
commit | 6111ccdd2723f72a11fb38e033d239a48e3f7d98 (patch) | |
tree | d60a91cd5876b1b6b79f7adf6e133469d9f543c6 /multimedia | |
parent | 5a45d49b865f6abbd3a76653f24848079ae49464 (diff) | |
download | freebsd-ports-gnome-6111ccdd2723f72a11fb38e033d239a48e3f7d98.tar.gz freebsd-ports-gnome-6111ccdd2723f72a11fb38e033d239a48e3f7d98.tar.zst freebsd-ports-gnome-6111ccdd2723f72a11fb38e033d239a48e3f7d98.zip |
Fix stack alignment on i386, may cause runtime crashes
PR: 216837
Submitted by: cpm
MFH: 2017Q1
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libass/Makefile | 1 | ||||
-rw-r--r-- | multimedia/libass/files/patch-configure.ac | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/libass/Makefile b/multimedia/libass/Makefile index 371437fea2b5..6be2b4877cbb 100644 --- a/multimedia/libass/Makefile +++ b/multimedia/libass/Makefile @@ -2,6 +2,7 @@ PORTNAME= libass PORTVERSION= 0.13.6 +PORTREVISION= 1 CATEGORIES= multimedia devel MAINTAINER= multimedia@FreeBSD.org diff --git a/multimedia/libass/files/patch-configure.ac b/multimedia/libass/files/patch-configure.ac new file mode 100644 index 000000000000..bf52d2b34854 --- /dev/null +++ b/multimedia/libass/files/patch-configure.ac @@ -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], [ |