diff --git a/xsane-0.99-medium-definitions.patch b/xsane-0.99-medium-definitions.patch new file mode 100644 index 0000000..691efe1 --- /dev/null +++ b/xsane-0.99-medium-definitions.patch @@ -0,0 +1,16 @@ +--- xsane-0.99/src/xsane-preferences.c.medium-definitions 2005-12-29 12:18:09.000000000 +0100 ++++ xsane-0.99/src/xsane-preferences.c 2006-04-04 17:53:11.000000000 +0200 +@@ -446,6 +446,13 @@ + { + break; + } ++ else if (!strcmp(name, "medium-definitions")) ++ { ++ /* Ignore medium_definitions */ ++ SANE_Word discard; ++ xsane_rc_io_w_space(&w, 3); ++ xsane_rc_io_w_word(&w, &discard); ++ } + else if (i == NELEMS(desc)) + { + DBG(DBG_info2, "preferences identifier %s unknown\n", name); diff --git a/xsane.spec b/xsane.spec index dbfa353..31f4ff6 100644 --- a/xsane.spec +++ b/xsane.spec @@ -1,11 +1,11 @@ Name: xsane Summary: An X Window System front-end for the SANE scanner interface. Version: 0.99 -Release: 2.2 +Release: 3 Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz Source1: xsane-install-gimp-plugin Patch0: xsane-0.90-htmlview.patch -Patch1: xsane-medium-definitions.patch +Patch1: xsane-0.99-medium-definitions.patch Patch2: xsane-0.92_gimp2.0.patch Patch3: xsane-0.99-buffer.patch License: GPL @@ -97,6 +97,10 @@ fi exit 0 %changelog +* Tue Apr 04 2006 Nils Philippsen - 0.99-3 +- fix medium-definitions patch to not barf on obsolete options in config file + (#185269, by Aldy Hernandez) + * Fri Feb 10 2006 Jesse Keating - 0.99-2.2 - bump again for double-long bug on ppc(64)