Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 12:21:37 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361776 - in head/multimedia/gstreamer1-libav: . files
Message-ID:  <201407141221.s6ECLb0b041421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Jul 14 12:21:36 2014
New Revision: 361776
URL: http://svnweb.freebsd.org/changeset/ports/361776
QAT: https://qat.redports.org/buildarchive/r361776/

Log:
  - Let clang realign the stack on a 16 byte boundary on i386 to fix a crash
    at libavcodec/x86/h264_deblock.asm:504 due to unaligned memory access
  - Remove a patch that is no longer needed now
  
  (Similar to r358825)
  
  Reported by:	Joseph Olatt <joji@eskimo.com> (on freebsd-questions)

Deleted:
  head/multimedia/gstreamer1-libav/files/patch-gst-libs_ext_libav_libavutil_x86_asm.h
Modified:
  head/multimedia/gstreamer1-libav/Makefile

Modified: head/multimedia/gstreamer1-libav/Makefile
==============================================================================
--- head/multimedia/gstreamer1-libav/Makefile	Mon Jul 14 11:24:32 2014	(r361775)
+++ head/multimedia/gstreamer1-libav/Makefile	Mon Jul 14 12:21:36 2014	(r361776)
@@ -4,6 +4,7 @@
 
 PORTNAME=	gstreamer1-libav
 PORTVERSION=	1.2.4
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://gstreamer.freedesktop.org/src/gst-libav/
 DISTNAME=	gst-libav-${PORTVERSION}
@@ -31,8 +32,8 @@ BUILD_DEPENDS+=	${LOCALBASE}/bin/as:${PO
 MAKE_ENV=	COMPILER_PATH=${LOCALBASE}/bin
 .endif
 
-.if ${COMPILER_TYPE} == "gcc"
-CFLAGS+=	-fno-force-addr
+.if ${COMPILER_TYPE} == clang && ${ARCH} == i386
+CFLAGS+=	-mstack-alignment=16 -mstackrealign
 .endif
 
 post-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407141221.s6ECLb0b041421>