diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2019-02-21 09:10:42 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:28:14 -0500 |
commit | be314b62bf83af25bd30857346a915242063c7a8 (patch) | |
tree | 6df9fb42e1b2caaba1d3d483149e4961e0b435cb /libraries/gtkglext/0002-GCC-8-fixes.patch | |
parent | 4ebb72105a0c7e86a8b72a302dc22c62018a1f43 (diff) |
libraries/gtkglext: Patch for a conflicting definition.
Avoid problems with the newer gtk-doc
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/gtkglext/0002-GCC-8-fixes.patch')
-rw-r--r-- | libraries/gtkglext/0002-GCC-8-fixes.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libraries/gtkglext/0002-GCC-8-fixes.patch b/libraries/gtkglext/0002-GCC-8-fixes.patch new file mode 100644 index 0000000000000..266f5fefc1ed8 --- /dev/null +++ b/libraries/gtkglext/0002-GCC-8-fixes.patch @@ -0,0 +1,34 @@ +From 1fe275cd7dfa9f3a6db771b0cb945d96787e72cf Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org> +Date: Thu, 15 Mar 2018 15:56:20 +0100 +Subject: [PATCH 2/2] GCC-8 fixes. + +--- + gdk/gdkglshapes.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gdk/gdkglshapes.c b/gdk/gdkglshapes.c +index f72abba..9d1197f 100644 +--- a/gdk/gdkglshapes.c ++++ b/gdk/gdkglshapes.c +@@ -544,7 +544,7 @@ static GLfloat idata[12][3] = + {-Z, -X, 0} + }; + +-static int index[20][3] = ++static int iindex[20][3] = + { + {0, 4, 1}, + {0, 9, 4}, +@@ -574,7 +574,7 @@ icosahedron(GLenum shadeType) + int i; + + for (i = 19; i >= 0; i--) { +- drawtriangle(i, idata, index, shadeType); ++ drawtriangle(i, idata, iindex, shadeType); + } + } + +-- +2.14.3 + |