summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-19 22:38:35 +0000
committerMike Frysinger <vapier@gentoo.org>2010-10-19 22:38:35 +0000
commit84d5e87ffde929de644722eb9b2c34a9b40dd118 (patch)
treea16f7bf8efeed3efdb45bd0f62e0fb07cf73dfcb /sys-apps/smartmontools/files
parentdrop unnecessary sed -- pkg itself does this now (diff)
downloadhistorical-84d5e87ffde929de644722eb9b2c34a9b40dd118.tar.gz
historical-84d5e87ffde929de644722eb9b2c34a9b40dd118.tar.bz2
historical-84d5e87ffde929de644722eb9b2c34a9b40dd118.zip
old
Diffstat (limited to 'sys-apps/smartmontools/files')
-rw-r--r--sys-apps/smartmontools/files/smartmontools-5.36-utf8.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/sys-apps/smartmontools/files/smartmontools-5.36-utf8.patch b/sys-apps/smartmontools/files/smartmontools-5.36-utf8.patch
deleted file mode 100644
index a6bf3617c8c6..000000000000
--- a/sys-apps/smartmontools/files/smartmontools-5.36-utf8.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Fix separator usage in UTF8 output
-
-http://bugs.gentoo.org/139409
-http://sourceforge.net/mailarchive/forum.php?thread_id=14805424&forum_id=12495
-
---- smartmontools-5.36/ataprint.c
-+++ smartmontools-5.36/ataprint.c
-@@ -445,7 +445,7 @@
- unsigned short lba_64 = drive->words088_255[103-88];
- uint64_t capacity_short=0, capacity=0, threedigits, power_of_ten;
- int started=0,k=1000000000;
-- char separator=',';
-+ char *separator=",";
-
- // get correct character to use as thousands separator
- #ifdef HAVE_LOCALE_H
-@@ -453,7 +453,7 @@
- setlocale (LC_ALL, "");
- currentlocale=localeconv();
- if (*(currentlocale->thousands_sep))
-- separator=*(currentlocale->thousands_sep);
-+ separator=currentlocale->thousands_sep;
- #endif // #ifdef HAVE_LOCALE_H
-
- // if drive supports LBA addressing, determine 32-bit LBA capacity
-@@ -485,7 +485,7 @@
- capacity -= threedigits*power_of_ten;
- if (started)
- // we have already printed some digits
-- pstring += sprintf(pstring, "%c%03"PRIu64, separator, threedigits);
-+ pstring += sprintf(pstring, "%s%03"PRIu64, separator, threedigits);
- else if (threedigits || k==6) {
- // these are the first digits that we are printing
- pstring += sprintf(pstring, "%"PRIu64, threedigits);