Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 714739 Details for
Bug 924912
python-{imaging|pillow} doesn't support remote scanners (proposal fix included)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for discovering remote scanners
python-imaging-remote-scanners.patch (text/plain), 2.26 KB, created by
Damian Wrobel
on 2013-03-22 19:44:04 UTC
(
hide
)
Description:
Fix for discovering remote scanners
Filename:
MIME Type:
Creator:
Damian Wrobel
Created:
2013-03-22 19:44:04 UTC
Size:
2.26 KB
patch
obsolete
>diff --git a/python-imaging-sane-uninitialized-value.patch b/python-imaging-sane-uninitialized-value.patch >new file mode 100644 >index 0000000..0501f3d >--- /dev/null >+++ b/python-imaging-sane-uninitialized-value.patch >@@ -0,0 +1,20 @@ >+Fixes an uninitialized value for an optional parameter. >+Effectively, this prevented any remote scanners to be discovered. >+ >+Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl> >+ >+--- >+ >+Index: Imaging-1.1.7/Sane/_sane.c >+=================================================================== >+--- Imaging-1.1.7.orig/Sane/_sane.c >++++ Imaging-1.1.7/Sane/_sane.c >+@@ -1156,7 +1156,7 @@ PySane_get_devices(PyObject *self, PyObj >+ const SANE_Device *dev; >+ SANE_Status st; >+ PyObject *list; >+- int local_only, i; >++ int local_only = 0, i; >+ >+ if (!PyArg_ParseTuple(args, "|i", &local_only)) >+ { >diff --git a/python-imaging.spec b/python-imaging.spec >index e5e4750..27b1482 100644 >--- a/python-imaging.spec >+++ b/python-imaging.spec >@@ -5,7 +5,7 @@ > Summary: Python's own image processing library > Name: python-imaging > Version: 1.1.7 >-Release: 7%{?dist} >+Release: 8%{?dist} > > License: MIT > Group: System Environment/Libraries >@@ -18,6 +18,10 @@ Patch4: %{name}-shebang.patch > > # buffer overflow patch, bz 703212 > Patch5: %{name}-buffer.patch >+# Fixes an uninitialized value for an optional parameter. >+# Effectively, this prevented any remote scanners to be discovered. >+# Mail has been sent to: image-sig@python.org >+Patch6: %{name}-sane-uninitialized-value.patch > URL: http://www.pythonware.com/products/pil/ > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >@@ -79,6 +83,7 @@ This package contains a Tk interface for python-imaging. > %patch3 -p1 -b .sane-types > %patch4 -p1 -b .shebang > %patch5 -p1 -b .buffer >+%patch6 -p1 -b .sane > > # fix the interpreter path for Scripts/*.py > cd Scripts >@@ -173,6 +178,9 @@ rm -rf $RPM_BUILD_ROOT > %files tk -f files.tk > > %changelog >+* Fri Mar 22 2013 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.1.7-8 >+- Fix for discovering remote scanners >+ > * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-7 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 924912
: 714739