summaryrefslogtreecommitdiff
path: root/dev-python/pygui/files/pygui-2.2-python-2.6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygui/files/pygui-2.2-python-2.6.patch')
-rw-r--r--dev-python/pygui/files/pygui-2.2-python-2.6.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/pygui/files/pygui-2.2-python-2.6.patch b/dev-python/pygui/files/pygui-2.2-python-2.6.patch
new file mode 100644
index 00000000000..3856cc7787c
--- /dev/null
+++ b/dev-python/pygui/files/pygui-2.2-python-2.6.patch
@@ -0,0 +1,18 @@
+diff -r -U1 PyGUI-2.2.orig/GUI/Gtk/GL.py PyGUI-2.2/GUI/Gtk/GL.py
+--- PyGUI-2.2.orig/GUI/Gtk/GL.py 2009-04-10 11:45:08.000000000 +0200
++++ PyGUI-2.2/GUI/Gtk/GL.py 2010-02-20 00:30:39.000000000 +0100
+@@ -44,3 +44,3 @@
+ cs = self._color_size
+- as = 0
++ as_ = 0
+ ds = 0
+@@ -50,3 +50,3 @@
+ if self._alpha:
+- as = self._alpha_size
++ as_ = self._alpha_size
+ if self._depth_buffer:
+@@ -64,3 +64,3 @@
+ gdkgl.BLUE_SIZE, cs,
+- gdkgl.ALPHA_SIZE, as,
++ gdkgl.ALPHA_SIZE, as_,
+ gdkgl.AUX_BUFFERS, self._aux_buffers,