summaryrefslogtreecommitdiff
path: root/dev-python/imaging/files/imaging-1.1.7-sane.patch
blob: 4970e50033a467de7ec3c84ba614ae5b6d2ce650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;