diff options
author | Mike Sullivan <mksully22@gmail.com> | 2018-05-11 19:34:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-05-16 16:20:14 +0000 |
commit | 7151ceb8929179657c74ab10712965d39f417c44 (patch) | |
tree | f3e592a746dad3baf22630f087f768d20d62df99 /main/gtkglext/gtkglext-local-parm.patch | |
parent | 270c161fba7add4b908591655a196ccaef5865da (diff) | |
download | aports-7151ceb8929179657c74ab10712965d39f417c44.tar.bz2 aports-7151ceb8929179657c74ab10712965d39f417c44.tar.xz |
main/gtkglext: fix build break by modifying local variable name conflict
Diffstat (limited to 'main/gtkglext/gtkglext-local-parm.patch')
-rw-r--r-- | main/gtkglext/gtkglext-local-parm.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/gtkglext/gtkglext-local-parm.patch b/main/gtkglext/gtkglext-local-parm.patch new file mode 100644 index 0000000000..5320394e0a --- /dev/null +++ b/main/gtkglext/gtkglext-local-parm.patch @@ -0,0 +1,20 @@ +--- a/gdk/gdkglshapes.c ++++ b/gdk/gdkglshapes.c +@@ -544,7 +544,7 @@ + {-Z, -X, 0} + }; + +-static int index[20][3] = ++static int loc_index[20][3] = + { + {0, 4, 1}, + {0, 9, 4}, +@@ -574,7 +574,7 @@ + int i; + + for (i = 19; i >= 0; i--) { +- drawtriangle(i, idata, index, shadeType); ++ drawtriangle(i, idata, loc_index, shadeType); + } + } + |