summarylogtreecommitdiffstats
path: root/locale_path.patch
diff options
context:
space:
mode:
authorjose17112018-09-08 23:38:21 +0200
committerjose17112018-09-08 23:38:21 +0200
commitf7c12f0a05594bfd8dfb56b1751c1db33441aa3e (patch)
tree49d2443ffffeb566d157960b01d45ae9f91af385 /locale_path.patch
parent086d602212c78437e7d359cc32536adba7c17e5a (diff)
downloadaur-f7c12f0a05594bfd8dfb56b1751c1db33441aa3e.tar.gz
Fix url, add locale_path patch and post_install note
Diffstat (limited to 'locale_path.patch')
-rw-r--r--locale_path.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/locale_path.patch b/locale_path.patch
new file mode 100644
index 000000000000..df4c55bac11b
--- /dev/null
+++ b/locale_path.patch
@@ -0,0 +1,20 @@
+--- logintop10.c.orig 2018-09-08 23:01:33.311690501 +0200
++++ logintop10.c 2018-09-08 23:34:35.585773279 +0200
+@@ -591,7 +591,7 @@
+ }
+
+ setlocale(LC_ALL, l);
+- bindtextdomain("logintop10", "/usr/local/share/locale");
++ bindtextdomain("logintop10", "/usr/share/locale");
+ textdomain("logintop10");
+
+ printf(_("logintop10, (c) 2003 by folkert@vanheusden.com\n"));
+@@ -605,7 +605,7 @@
+ if (help)
+ {
+ printf(_("Usage: %s -i wtmp -o fileout.html [-l locale] [-r]\n"), argv[0]);
+- printf(_("Example: logintop10 -i /var/log/wtmp -o ~/www/logintop10.html -l nl_NL\n"));
++ printf(_("Example: logintop10 -i /var/log/wtmp -o ~/www/logintop10.html -l nl_NL.utf8\n"));
+ return 1;
+ }
+