Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2015 14:12:20 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379037 - head/multimedia/libvpx/files
Message-ID:  <201502151412.t1FECKpi060725@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+ 



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