summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygui/files')
-rw-r--r--dev-python/pygui/files/pygui-2.2-python-2.6.patch18
-rw-r--r--dev-python/pygui/files/pygui-2.2-resources.patch8
2 files changed, 26 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 000000000000..3856cc7787c7
--- /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,
diff --git a/dev-python/pygui/files/pygui-2.2-resources.patch b/dev-python/pygui/files/pygui-2.2-resources.patch
new file mode 100644
index 000000000000..dbf3f3fdf7fa
--- /dev/null
+++ b/dev-python/pygui/files/pygui-2.2-resources.patch
@@ -0,0 +1,8 @@
+diff -r -U1 PyGUI-2.2.orig/setup.py PyGUI-2.2/setup.py
+--- PyGUI-2.2.orig/setup.py 2009-04-12 07:36:14.000000000 +0200
++++ PyGUI-2.2/setup.py 2010-02-21 00:52:21.000000000 +0100
+@@ -15,3 +15,3 @@
+ dst_rsrc_dir = os.path.join(dst_gui_dir, "Resources", "cursors")
+-src_rsrc_files = glob(os.path.join("GUI", "Resources", "Cursors", "*"))
++src_rsrc_files = glob(os.path.join("GUI", "Resources", "cursors", "*"))
+