diff options
author | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-09 12:41:39 +0200 |
---|---|---|
committer | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-09 13:10:43 +0200 |
commit | 60c1b5e023d49a7eaa777082dc32726ef7cb396b (patch) | |
tree | acaa1146bfd54b5052338254bc8212429ee28d1d /debian/patches/11_thunderbird_workaround.patch | |
parent | cf7d885d901b0abdccaad5cc3305a080744eaf5b (diff) |
Imported Debian patch 0.9.10-1debian/0.9.10-1
Diffstat (limited to 'debian/patches/11_thunderbird_workaround.patch')
-rw-r--r-- | debian/patches/11_thunderbird_workaround.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/11_thunderbird_workaround.patch b/debian/patches/11_thunderbird_workaround.patch new file mode 100644 index 0000000..2d5a938 --- /dev/null +++ b/debian/patches/11_thunderbird_workaround.patch @@ -0,0 +1,34 @@ +## Description: add some description +## Origin/Author: add some origin or author +## Bug: bug URL +Index: simple-scan-0.9.10/src/simple-scan.c +=================================================================== +--- simple-scan-0.9.10.orig/src/simple-scan.c 2010-03-26 12:53:11.355296101 +1100 ++++ simple-scan-0.9.10/src/simple-scan.c 2010-03-26 12:53:08.325311353 +1100 +@@ -343,7 +343,7 @@ + /* NOTE: I'm not sure if this is a 100% safe strategy to use g_file_open_tmp(), close and + * use the filename but it appears to work in practise */ + +- filename = g_strdup_printf ("%s-XXXXXX.%s", prefix, extension); ++ filename = g_strdup_printf ("%sXXXXXX.%s", prefix, extension); + fd = g_file_open_tmp (filename, &path, &error); + g_free (filename); + if (fd < 0) { +@@ -371,7 +371,7 @@ + gchar *path; + + /* Open a temporary file */ +- path = get_temporary_filename ("scanned-document", "pdf"); ++ path = get_temporary_filename ("scan", "pdf"); + if (path) { + GFile *file; + +@@ -389,7 +389,7 @@ + gchar *path; + GFile *file; + +- path = get_temporary_filename ("scanned-document", "jpg"); ++ path = get_temporary_filename ("scan", "jpg"); + if (!path) { + saved = FALSE; + break; |