archrelease: copy trunk to staging-x86_64
[arch-packages.git] / gtkglext / trunk / gtkglext-gcc8.patch
blob266f5fefc1ed8a5eb0cd6e7fa1abf672f465f0a1
1 From 1fe275cd7dfa9f3a6db771b0cb945d96787e72cf Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
3 Date: Thu, 15 Mar 2018 15:56:20 +0100
4 Subject: [PATCH 2/2] GCC-8 fixes.
6 ---
7 gdk/gdkglshapes.c | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/gdk/gdkglshapes.c b/gdk/gdkglshapes.c
11 index f72abba..9d1197f 100644
12 --- a/gdk/gdkglshapes.c
13 +++ b/gdk/gdkglshapes.c
14 @@ -544,7 +544,7 @@ static GLfloat idata[12][3] =
15 {-Z, -X, 0}
18 -static int index[20][3] =
19 +static int iindex[20][3] =
21 {0, 4, 1},
22 {0, 9, 4},
23 @@ -574,7 +574,7 @@ icosahedron(GLenum shadeType)
24 int i;
26 for (i = 19; i >= 0; i--) {
27 - drawtriangle(i, idata, index, shadeType);
28 + drawtriangle(i, idata, iindex, shadeType);
32 --
33 2.14.3