diff options
author | kamil <kamil@pkgsrc.org> | 2017-09-08 22:28:15 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2017-09-08 22:28:15 +0000 |
commit | 59b94a7362773314e34f065d55c49039870904d5 (patch) | |
tree | 6d07c9d63aacce09f44108549672034fe51ace65 /graphics | |
parent | e7b4374febda4b0b3a816901ea596cebd0bfb660 (diff) | |
download | pkgsrc-59b94a7362773314e34f065d55c49039870904d5.tar.gz |
coql: Fix build with GCC 5.4.0 on NetBSD
Silent maybe-unitialized warning made fatal with -Werror.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/cogl/distinfo | 3 | ||||
-rw-r--r-- | graphics/cogl/patches/patch-tests_conform_test-backface-culling.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/cogl/distinfo b/graphics/cogl/distinfo index fd85403b1af..e6e066d1479 100644 --- a/graphics/cogl/distinfo +++ b/graphics/cogl/distinfo @@ -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 @@ Size (cogl-1.22.0.tar.xz) = 1654120 bytes 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 --git a/graphics/cogl/patches/patch-tests_conform_test-backface-culling.c b/graphics/cogl/patches/patch-tests_conform_test-backface-culling.c new file mode 100644 index 00000000000..33315cfc613 --- /dev/null +++ b/graphics/cogl/patches/patch-tests_conform_test-backface-culling.c @@ -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"); + } +- |