summaryrefslogtreecommitdiff
path: root/app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch')
-rw-r--r--app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch b/app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch
new file mode 100644
index 000000000000..86567aeb8c39
--- /dev/null
+++ b/app-admin/hddtemp/files/hddtemp-0.3_beta15-nls.patch
@@ -0,0 +1,14 @@
+--- hddtemp-0.3-beta15/src/hddtemp.c~ 2006-04-19 02:37:35 +0000
++++ hddtemp-0.3-beta15/src/hddtemp.c 2007-03-26 08:14:17 +0000
+@@ -275,9 +275,11 @@
+ backtrace_sigill();
+ backtrace_sigbus();
+
++#if ENABLE_NLS
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
++#endif
+
+ show_db = debug = numeric = quiet = wakeup = af_hint = syslog_interval = 0;
+ unit = DEFAULT;