tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libvpx and gcc 5.x



The attached patch fixes the libvpx build when using gcc5.x (on archlinux)

OK to commit now or wait till after freeze?

cheers
mark
Index: distinfo
===================================================================
RCS file: /src/cvs/netbsd/pkgsrc/multimedia/libvpx/distinfo,v
retrieving revision 1.26
diff -u -r1.26 distinfo
--- distinfo	14 Nov 2014 11:51:01 -0000	1.26
+++ distinfo	18 Jun 2015 22:45:32 -0000
@@ -10,6 +10,8 @@
 SHA1 (patch-af) = 3eb0c222433a62d044e712f572000d97b1d635a3
 SHA1 (patch-build_make_gen_asm_deps.sh) = db7f9abcf1bdd1ccb8e48c695de3f2276bb5f891
 SHA1 (patch-configure) = de25f725eb4fb693b663022fdc977ed87c1863cd
+SHA1 (patch-nestegg_halloc_src_align.h) = 8ad126c493be4c075c7c1a2d93f2a11f3ce4fd53
+SHA1 (patch-nestegg_halloc_src_halloc.c) = 0d2f7438d718b6ceb83fe11c05c86103e507128c
 SHA1 (patch-test_i420__video__source.h) = e67478f08339c4b7f4cccf96e4798d1972941a7c
 SHA1 (patch-test_sad__test.cc) = fb39c0ca4ce5f424d878779a2d58ebe77c41e8b3
 SHA1 (patch-test_sixtap__predict__test.cc) = d803819f3e5d282c3159e4410e7fbbd68cd403be
--- /dev/null	2015-06-19 10:45:29.000000000 +1200
+++ ./patches/patch-nestegg_halloc_src_align.h	2015-06-19 10:45:10.000000000 +1200
@@ -0,0 +1,15 @@
+$NetBSD$
+
+rename to avoid conflict with gcc5.x stddef.h
+
+--- nestegg/halloc/src/align.h.orig	2013-11-18 22:18:52.000000000 +0000
++++ nestegg/halloc/src/align.h
+@@ -30,7 +30,7 @@ union max_align
+ 	void (*q)(void);
+ };
+ 
+-typedef union max_align max_align_t;
++typedef union max_align h_max_align_t;
+ 
+ #endif
+ 
--- /dev/null	2015-06-19 10:45:29.000000000 +1200
+++ ./patches/patch-nestegg_halloc_src_halloc.c	2015-06-19 10:45:21.000000000 +1200
@@ -0,0 +1,15 @@
+$NetBSD$
+
+rename to avoid conflict with gcc5.x stddef.h
+
+--- nestegg/halloc/src/halloc.c.orig	2013-11-18 22:18:52.000000000 +0000
++++ nestegg/halloc/src/halloc.c
+@@ -30,7 +30,7 @@ typedef struct hblock
+ #endif
+ 	hlist_item_t  siblings; /* 2 pointers */
+ 	hlist_head_t  children; /* 1 pointer  */
+-	max_align_t   data[1];  /* not allocated, see below */
++	h_max_align_t   data[1];  /* not allocated, see below */
+ 	
+ } hblock_t;
+ 


Home | Main Index | Thread Index | Old Index