From owner-svn-ports-head@FreeBSD.ORG Sun Feb 15 14:12:20 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B8F3528; Sun, 15 Feb 2015 14:12:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 564E8C85; Sun, 15 Feb 2015 14:12:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1FECK0k060726; Sun, 15 Feb 2015 14:12:20 GMT (envelope-from ashish@FreeBSD.org) Received: (from ashish@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1FECKpi060725; Sun, 15 Feb 2015 14:12:20 GMT (envelope-from ashish@FreeBSD.org) Message-Id: <201502151412.t1FECKpi060725@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ashish set sender to ashish@FreeBSD.org using -f From: Ashish SHUKLA Date: Sun, 15 Feb 2015 14:12:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379037 - head/multimedia/libvpx/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 14:12:20 -0000 Author: ashish Date: Sun Feb 15 14:12:19 2015 New Revision: 379037 URL: https://svnweb.freebsd.org/changeset/ports/379037 QAT: https://qat.redports.org/buildarchive/r379037/ Log: - Fix build with GCC 5 PR: 197624 Submitted by: marino Added: head/multimedia/libvpx/files/patch-nestegg_halloc_src (contents, props changed) Added: head/multimedia/libvpx/files/patch-nestegg_halloc_src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libvpx/files/patch-nestegg_halloc_src Sun Feb 15 14:12:19 2015 (r379037) @@ -0,0 +1,31 @@ + +$FreeBSD$ + +Fix build on modern gcc which defines max_align_t for C11 +It renames the locale definition to avoid the name clash. + +--- nestegg/halloc/src/align.h.orig ++++ nestegg/halloc/src/align.h +@@ -30,7 +30,7 @@ + void (*q)(void); + }; + +-typedef union max_align max_align_t; ++typedef union max_align halloc_max_align_t; + + #endif + + +$FreeBSD$ + +--- nestegg/halloc/src/halloc.c.orig ++++ nestegg/halloc/src/halloc.c +@@ -30,7 +30,7 @@ + #endif + hlist_item_t siblings; /* 2 pointers */ + hlist_head_t children; /* 1 pointer */ +- max_align_t data[1]; /* not allocated, see below */ ++ halloc_max_align_t data[1]; /* not allocated, see below */ + + } hblock_t; +