gtkglext: fix name conflict
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
061f8f7128
commit
9dc3a6c90c
20
srcpkgs/gtkglext/patches/name_conflict.patch
Normal file
20
srcpkgs/gtkglext/patches/name_conflict.patch
Normal file
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user