summaryrefslogtreecommitdiff
path: root/dev-python/imaging/files/imaging-1.1.7-sane.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/imaging/files/imaging-1.1.7-sane.patch')
-rw-r--r--dev-python/imaging/files/imaging-1.1.7-sane.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/imaging/files/imaging-1.1.7-sane.patch b/dev-python/imaging/files/imaging-1.1.7-sane.patch
new file mode 100644
index 00000000000..4970e50033a
--- /dev/null
+++ b/dev-python/imaging/files/imaging-1.1.7-sane.patch
@@ -0,0 +1,13 @@
+--- Imaging-1.1.6/Sane/_sane.c.orig 2006-12-03 13:12:22.000000000 +0100
++++ Imaging-1.1.6/Sane/_sane.c 2009-02-28 11:41:19.000000000 +0200
+@@ -1152,8 +1152,8 @@
+ static PyObject *
+ PySane_get_devices(PyObject *self, PyObject *args)
+ {
+- SANE_Device **devlist;
+- SANE_Device *dev;
++ const SANE_Device **devlist;
++ const SANE_Device *dev;
+ SANE_Status st;
+ PyObject *list;
+ int local_only, i;