[Midnightbsd-cvs] mports [18659] trunk/multimedia/libvpx/files/patch-nestegg_halloc_src: libvpx 1.3.0

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Apr 12 02:41:22 EDT 2015


Revision: 18659
          http://svnweb.midnightbsd.org/mports/?rev=18659
Author:   laffer1
Date:     2015-04-12 02:41:22 -0400 (Sun, 12 Apr 2015)
Log Message:
-----------
libvpx 1.3.0

Added Paths:
-----------
    trunk/multimedia/libvpx/files/patch-nestegg_halloc_src

Added: trunk/multimedia/libvpx/files/patch-nestegg_halloc_src
===================================================================
--- trunk/multimedia/libvpx/files/patch-nestegg_halloc_src	                        (rev 0)
+++ trunk/multimedia/libvpx/files/patch-nestegg_halloc_src	2015-04-12 06:41:22 UTC (rev 18659)
@@ -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;
+ 


Property changes on: trunk/multimedia/libvpx/files/patch-nestegg_halloc_src
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list