bring code in shape for glibc-2.7
This commit is contained in:
parent
4201f50a16
commit
a4969b5269
11
sane-backends-1.0.18-glibc-2.7.patch
Normal file
11
sane-backends-1.0.18-glibc-2.7.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- sane-backends-1.0.18/backend/plustek_pp.c.glibc-2.7 2006-02-19 12:32:24.000000000 +0100
|
||||
+++ sane-backends-1.0.18/backend/plustek_pp.c 2007-08-08 14:34:45.000000000 +0200
|
||||
@@ -258,7 +258,7 @@ static int drvopen( Plustek_Device *dev
|
||||
|
||||
DBG( _DBG_INFO, "drvopen()\n" );
|
||||
|
||||
- handle = dev->open((const char*)dev->name, (void *)dev );
|
||||
+ handle = (dev->open)((const char*)dev->name, (void *)dev );
|
||||
|
||||
tsecs = 0;
|
||||
|
@ -37,6 +37,7 @@ Patch5: sane-backends-1.0.18-logical_vs_binary.patch
|
||||
Patch6: sane-backends-1.0.18-usb_reset.patch
|
||||
Patch7: sane-backends-1.0.18-udev-symlink.patch
|
||||
Patch8: sane-backends-1.0.18-udev-098.patch
|
||||
Patch9: sane-backends-1.0.18-glibc-2.7.patch
|
||||
URL: http://www.sane-project.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%__id_u -n)
|
||||
BuildRequires: tetex-latex libusb-devel libieee1284-devel libjpeg-devel
|
||||
@ -128,6 +129,8 @@ want to access digital cameras.
|
||||
%patch8 -p1 -b .udev-098
|
||||
%endif
|
||||
|
||||
%patch9 -p1 -b .glibc-2.7
|
||||
|
||||
for i in agfafocus avision coolscan2 umax_pp; do
|
||||
iconv -f iso-8859-1 -t utf-8 < "doc/sane-$i.man" > "doc/sane-$i.man_"
|
||||
mv "doc/sane-$i.man_" "doc/sane-$i.man"
|
||||
@ -248,6 +251,7 @@ rm -rf %{buildroot}
|
||||
%changelog
|
||||
* Wed Aug 08 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-14
|
||||
- make udev rules more robust (#243953)
|
||||
- bring code in shape for glibc-2.7
|
||||
|
||||
* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 1.0.18-13
|
||||
- rebuild for toolchain bug
|
||||
|
Loading…
Reference in New Issue
Block a user