summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2017-09-08 22:28:15 +0000
committerkamil <kamil@pkgsrc.org>2017-09-08 22:28:15 +0000
commitf19e2745fec9aa720f76d2ff1ad82ed950cb5c4d (patch)
tree1183f103d7a7c7aad437ed0f0ffbf252d56d7614 /graphics
parent5efd5624c177bd4cf51fe8cd820792a073902fcf (diff)
downloadpkgsrc-f19e2745fec9aa720f76d2ff1ad82ed950cb5c4d.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/distinfo3
-rw-r--r--graphics/cogl/patches/patch-tests_conform_test-backface-culling.c18
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");
+ }
+-