From 9dc3a6c90cc20f4f0b909ce67281cefc62d40bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 11 May 2018 00:49:19 +0200 Subject: [PATCH] gtkglext: fix name conflict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/gtkglext/patches/name_conflict.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/gtkglext/patches/name_conflict.patch diff --git a/srcpkgs/gtkglext/patches/name_conflict.patch b/srcpkgs/gtkglext/patches/name_conflict.patch new file mode 100644 index 00000000000..5295e9e026d --- /dev/null +++ b/srcpkgs/gtkglext/patches/name_conflict.patch @@ -0,0 +1,20 @@ +--- gdk/gdkglshapes.c 2004-02-20 10:38:12.000000000 +0100 ++++ gdk/gdkglshapes.c 2018-05-11 00:46:24.461433041 +0200 +@@ -544,7 +544,7 @@ + {-Z, -X, 0} + }; + +-static int index[20][3] = ++static int iindex[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, iindex, shadeType); + } + } +