diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 09:58:29 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 09:58:29 +0100 |
commit | 1ba8cdf7b07afa0fa2e0fe5200a8fce6887e7682 (patch) | |
tree | bc72cd08db2e0595f08bbe31edca51453bd153ef | |
parent | 592c74fc5f0817e6d671dcac3cfcf5fbf0f03eb3 (diff) |
New patches/0175-icm_profile_field.patch to fix bogus icm_profile field in output
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/patches/0175-icm_profile_field.patch | 20 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 23 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index abf131f..25b4d00 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ xsane (0.999-6) UNRELEASED; urgency=medium * Change to my new mail address: - debian/control, - debian/copyright + * New patches/0175-icm_profile_field.patch to fix bogus icm_profile field + in output. Thanks to Reuben Thomas <rrt@sc3d.org>. -- Jörg Frings-Fürst <debian@jff.email> Fri, 19 May 2017 18:24:37 +0200 diff --git a/debian/patches/0175-icm_profile_field.patch b/debian/patches/0175-icm_profile_field.patch new file mode 100644 index 0000000..b35da77 --- /dev/null +++ b/debian/patches/0175-icm_profile_field.patch @@ -0,0 +1,20 @@ +Description: Fix bogus icm_profile field in output +Author: Reuben Thomas <rrt@sc3d.org> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864486 +Reviewed-by: Jörg Frings-Fürst <debian@jff.email> +Last-Update: 2017-12-28 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/src/xsane-save.c +=================================================================== +--- trunk.orig/src/xsane-save.c ++++ trunk/src/xsane-save.c +@@ -427,6 +427,8 @@ void xsane_read_pnm_header(FILE *file, I + char buf[TEXTBUFSIZE]; + int items_done; + ++ memset(image_info, '\0', sizeof(Image_info)); ++ + fgets(buf, sizeof(buf)-1, file); + DBG(DBG_info, "filetype header :%s", buf); + diff --git a/debian/patches/series b/debian/patches/series index e976a26..ec70fb1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -23,3 +23,4 @@ 0005-m4.patch 0010-fix_missing_sane-config.patch 0915-i18n_typo_geometrie.patch +0175-icm_profile_field.patch |