Mailinglist Archive: opensuse-commit (999 mails)
| < Previous | Next > |
commit sane-backends for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Thu, 30 Jul 2009 16:59:55 +0200
- Message-id: <20090730150005.8D7B961B6@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package sane-backends for openSUSE:Factory
checked in at Thu Jul 30 16:59:55 CEST 2009.
--------
--- sane-backends/sane-backends.changes 2009-06-12 10:41:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/sane-backends/sane-backends.changes
2009-07-30 13:37:07.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Jul 29 16:46:53 CEST 2009 - jsmeix@xxxxxxx
+
+- fix-hp3900_config.c.patch fixes a possible for loop overflow
+ in hp3900_config.c (see Novell/Suse Bugzilla bnc#517281).
+- fix-mustek_pp_ccd300.c.patch fixes undefined operations
+ in mustek_pp_ccd300.c (see Novell/Suse Bugzilla bnc#498435).
+
+-------------------------------------------------------------------
@@ -498 +506 @@
- %{_defaultdocdir}/sane/sane-backends/*.html
+ _defaultdocdir/sane/sane-backends/*.html
@@ -745 +753 @@
-- Also use -L/%_lib, so we find -lresmgr on x86_64.
+- Also use -L/..._lib, so we find -lresmgr on x86_64.
@@ -1121 +1129 @@
-- moved man pages to %{_mandir}
+- moved man pages to _mandir
calling whatdependson for head-i586
New:
----
fix-hp3900_config.c.patch
fix-mustek_pp_ccd300.c.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sane-backends.spec ++++++
--- /var/tmp/diff_new_pack.m5N6g7/_old 2009-07-30 16:59:12.000000000 +0200
+++ /var/tmp/diff_new_pack.m5N6g7/_new 2009-07-30 16:59:12.000000000 +0200
@@ -20,12 +20,12 @@
Name: sane-backends
BuildRequires: libgphoto2-devel libieee1284 libjpeg-devel net-snmp-devel
pkg-config texlive-latex
-License: GPL v2 only; GPL v2 or later; LGPL v2.1 or later; Public
Domain, Freeware
+License: GPL v2 only ; GPL v2 or later ; LGPL v2.1 or later ; Public
Domain, Freeware
Group: Hardware/Scanner
AutoReqProv: on
Summary: SANE (Scanner Access Now Easy) Scanner Drivers
Version: 1.0.20
-Release: 2
+Release: 3
Url: http://www.sane-project.org/
# URL for Source0:
http://alioth.debian.org/frs/download.php/2318/sane-backends-1.0.19.tar.gz
Source0: sane-backends-%{version}.tar.bz2
@@ -83,6 +83,12 @@
# removed in sane-backends-1.0.20 so that sane-frontends and xsane can no
longer build,
# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527675
Patch8: re-add-SANE_CAP_ALWAYS_SETTABLE.patch
+# Patch9 fixes a possible for loop overflow in hp3900_config.c
+# see https://bugzilla.novell.com/show_bug.cgi?id=517281
+Patch9: fix-hp3900_config.c.patch
+# Patch10 fixes undefined 'foo = ++foo modulo bar' operations in
mustek_pp_ccd300.c
+# see https://bugzilla.novell.com/show_bug.cgi?id=498435
+Patch10: fix-mustek_pp_ccd300.c.patch
# Patch100... is SUSE specific stuff:
# Patch100 lets the "canon" backend do scanner auto-recognition:
Patch100: canon-backend-autoprobing.patch
@@ -239,7 +245,7 @@
Wittawat Yamwong <wittawat@xxxxxx>
%package autoconfig
-License: GPL v2 or later; LGPL v2.1 or later; Public Domain, Freeware
+License: GPL v2 or later ; LGPL v2.1 or later ; Public Domain, Freeware
Group: Hardware/Scanner
Summary: USB Scanner Autoconfiguration
Requires: sane-backends
@@ -288,6 +294,10 @@
%patch2
# Patch8 re-adds SANE_CAP_ALWAYS_SETTABLE to sane.h which was erroneously
removed:
%patch8
+# Patch9 fixes a possible for loop overflow in hp3900_config.c:
+%patch9
+# Patch10 fixes undefined 'foo = ++foo modulo bar' operations in
mustek_pp_ccd300.c:
+%patch10
# Patch100... is SUSE specific stuff:
# Patch100 lets the "canon" backend do scanner auto-recognition:
%patch100
++++++ fix-hp3900_config.c.patch ++++++
--- backend/hp3900_config.c.orig 2009-02-23 15:37:00.000000000 +0100
+++ backend/hp3900_config.c 2009-07-29 15:03:46.000000000 +0200
@@ -935,7 +935,7 @@ static void ua4900_offset(SANE_Int resol
{
SANE_Int a;
- for (a = 0; a < 12; a++)
+ for (a = 0; a < 6; a++)
{
if (myreg[a].resolution == resolution)
{
++++++ fix-mustek_pp_ccd300.c.patch ++++++
--- backend/mustek_pp_ccd300.c.orig 2003-12-01 12:52:19.000000000 +0100
+++ backend/mustek_pp_ccd300.c 2009-07-29 16:29:54.000000000 +0200
@@ -940,10 +940,10 @@ get_color_line_101x (Mustek_pp_Handle *
wait_bank_change (dev, priv->bank_count, 1);
reset_bank_count (dev);
if (priv->ccd_line >= (priv->line_step >> SANE_FIXED_SCALE_SHIFT))
- priv->redline = ++priv->redline % priv->green_offs;
+ priv->redline = (priv->redline + 1) % priv->green_offs;
if (priv->ccd_line >=
priv->blue_offs + (priv->line_step >> SANE_FIXED_SCALE_SHIFT))
- priv->blueline = ++priv->blueline % priv->blue_offs;
+ priv->blueline = (priv->blueline + 1) % priv->blue_offs;
continue;
}
@@ -979,7 +979,7 @@ get_color_line_101x (Mustek_pp_Handle *
}
- priv->redline = ++priv->redline % priv->green_offs;
+ priv->redline = (priv->redline + 1) % priv->green_offs;
if (priv->ccd_line >= priv->green_offs && gogreen)
{
@@ -1013,7 +1013,7 @@ get_color_line_101x (Mustek_pp_Handle *
if (priv->ccd_line >=
priv->blue_offs + (priv->line_step >> SANE_FIXED_SCALE_SHIFT))
- priv->blueline = ++priv->blueline % priv->blue_offs;
+ priv->blueline = (priv->blueline + 1) % priv->blue_offs;
if (gogreen)
{
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |