summaryrefslogtreecommitdiff
path: root/app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch')
-rw-r--r--app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch
deleted file mode 100644
index 621e7549aa0b..000000000000
--- a/app-admin/hddtemp/files/hddtemp-0.3_beta15-iconv.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- hddtemp-0.3-beta15/src/utf8.c~ 2007-03-27 09:09:59.000000000 +0200
-+++ hddtemp-0.3-beta15/src/utf8.c 2007-03-27 09:10:06.000000000 +0200
-@@ -23,7 +23,9 @@
-
- // Standard includes
- #include <stdlib.h>
-+#ifdef HAVE_ICONV
- #include <iconv.h>
-+#endif
- #include <langinfo.h>
- #include <locale.h>
- #include <string.h>
-@@ -34,6 +36,7 @@
-
- static char *iconv_from_utf8_to_locale(const char *string, const char* fallback_string)
- {
-+#ifdef HAVE_ICONV
- const size_t buffer_inc = 80; // Increment buffer size in 80 bytes step
- const char *charset;
- iconv_t cd;
-@@ -93,6 +96,7 @@
- if (dest_buffer != NULL)
- free(dest_buffer); // free buffer
- free(src_buffer); // free string
-+#endif // HAVE_ICONV
- return strdup(fallback_string); // and return fallback string
- }
-