pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cogl coql: Fix build with GCC 5.4.0 on NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2698e65c156a
branches:  trunk
changeset: 367962:2698e65c156a
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Fri Sep 08 22:28:15 2017 +0000

description:
coql: Fix build with GCC 5.4.0 on NetBSD

Silent maybe-unitialized warning made fatal with -Werror.

diffstat:

 graphics/cogl/distinfo                                            |   3 +-
 graphics/cogl/patches/patch-tests_conform_test-backface-culling.c |  18 ++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 9d60e6e84d02 -r 2698e65c156a graphics/cogl/distinfo
--- a/graphics/cogl/distinfo    Fri Sep 08 22:27:05 2017 +0000
+++ b/graphics/cogl/distinfo    Fri Sep 08 22:28:15 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2015/11/04 17:41:19 agc Exp $
+$NetBSD: distinfo,v 1.14 2017/09/08 22:28:15 kamil Exp $
 
 SHA1 (cogl-1.22.0.tar.xz) = 30bef68b5ccffb06df033c5f3f9758ef3e48dc01
 RMD160 (cogl-1.22.0.tar.xz) = 26ae4ec92f142902998343dfe8b93ab4ef00f7d3
@@ -7,3 +7,4 @@
 SHA1 (patch-cogl-winsys-cogl-winsys-glx.c) = 52be226fb3c62a3275ebec470597937e0b017f96
 SHA1 (patch-cogl_driver_gl_gl_cogl-driver-gl.c) = 41d0010a6e2a6a1fb03b6fb23f34db59cb867e14
 SHA1 (patch-configure) = aee31057c06af64ec04bcd1b5750ed9a62658661
+SHA1 (patch-tests_conform_test-backface-culling.c) = e5141784424aed0f9a9e59b2a32e375d1a41e73b
diff -r 9d60e6e84d02 -r 2698e65c156a graphics/cogl/patches/patch-tests_conform_test-backface-culling.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cogl/patches/patch-tests_conform_test-backface-culling.c Fri Sep 08 22:28:15 2017 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-tests_conform_test-backface-culling.c,v 1.1 2017/09/08 22:28:15 kamil Exp $
+
+--- tests/conform/test-backface-culling.c.orig 2015-04-29 16:27:56.000000000 +0000
++++ tests/conform/test-backface-culling.c
+@@ -164,7 +164,7 @@ validate_result (CoglFramebuffer *frameb
+ 
+   for (draw_num = 0; draw_num < 16; draw_num++)
+     {
+-      CoglBool cull_front, cull_back;
++      CoglBool cull_front = FALSE, cull_back = FALSE;
+       CoglPipelineCullFaceMode cull_mode;
+ 
+       if (USE_LEGACY_STATE (draw_num))
+@@ -308,4 +308,3 @@ test_backface_culling (void)
+   if (cogl_test_verbose ())
+     g_print ("OK\n");
+ }
+-



Home | Main Index | Thread Index | Old Index