summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files/patch-configure
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2015-04-12 14:37:50 +0000
committerThomas Zander <riggs@FreeBSD.org>2015-04-12 14:37:50 +0000
commit30a5a15085eb1f1d16ac6477bf1a1aa025b78c5c (patch)
treed48e9dcc7f426b913c4b380ec22f9c763b931b99 /multimedia/mplayer/files/patch-configure
parent- Update to version 0.6.0 and clean up the Makefile (diff)
Fix runtime crash with certain MPEG2 files on pre-10 systems.
PR: 199283 MFH: 2015Q2
Notes
Notes: svn path=/head/; revision=383871
Diffstat (limited to 'multimedia/mplayer/files/patch-configure')
-rw-r--r--multimedia/mplayer/files/patch-configure24
1 files changed, 0 insertions, 24 deletions
diff --git a/multimedia/mplayer/files/patch-configure b/multimedia/mplayer/files/patch-configure
index fbebd20efe24..8bbd97b6da6f 100644
--- a/multimedia/mplayer/files/patch-configure
+++ b/multimedia/mplayer/files/patch-configure
@@ -62,30 +62,6 @@
echocheck "softfloat ABI"
softfloat=yes
cpp_condition_check '' 'defined(__ARM_PCS_VFP) || (!defined(__ARM_PCS) && !defined(__SOFTFP__))' && softfloat=no
-@@ -3798,17 +3808,17 @@
- echores "$aligned_malloc"
-
-
--echocheck "memalign()"
-+echocheck "aligned_alloc()"
- # XXX restrict to x86 ? extend to other CPUs/cacheline sizes ?
--def_memalign_hack='#define CONFIG_MEMALIGN_HACK 0'
-+def_memalign='#define HAVE_MEMALIGN 0'
- _memalign=no
--statement_check malloc.h 'memalign(64, sizeof(char))' && _memalign=yes
-+statement_check stdlib.h 'aligned_alloc(32, 32*sizeof(char))' && _memalign=yes
- if test "$_memalign" = yes ; then
-- def_memalign='#define HAVE_MEMALIGN 1'
-+ def_map_memalign='#define memalign(a, b) aligned_alloc(a, b)'
-+ def_memalign_hack='#define CONFIG_MEMALIGN_HACK 0'
- else
-- def_memalign='#define HAVE_MEMALIGN 0'
- def_map_memalign='#define memalign(a, b) malloc(b)'
-- darwin || def_memalign_hack='#define CONFIG_MEMALIGN_HACK 1'
-+ def_memalign_hack='#define CONFIG_MEMALIGN_HACK 1'
- fi
- echores "$_memalign"
-
@@ -3914,7 +3924,7 @@
if linux ; then
THREAD_CFLAGS=-D_REENTRANT