From a9cc4b90dadd8e24a03ade08cbc6097531a13766 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 1 Feb 2019 05:53:41 +0000 Subject: Fri Feb 1 05:53:41 UTC 2019 a/glibc-solibs-2.29-x86_64-2.txz: Rebuilt. d/opencl-headers-2.2-noarch-1.txz: Upgraded. Thanks to Heinz Wiesinger. l/glibc-2.29-x86_64-2.txz: Rebuilt. l/glibc-i18n-2.29-x86_64-2.txz: Rebuilt. Reverted en_US.UTF8 date(1) format back to 24 hour. I'm pretty sure that the majority of people here in this locale will agree. l/glibc-profile-2.29-x86_64-2.txz: Rebuilt. --- source/l/glibc/glibc-2.29.en_US.no.am.pm.date.format.diff | 14 ++++++++++++++ source/l/glibc/glibc.SlackBuild | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 source/l/glibc/glibc-2.29.en_US.no.am.pm.date.format.diff (limited to 'source/l/glibc') diff --git a/source/l/glibc/glibc-2.29.en_US.no.am.pm.date.format.diff b/source/l/glibc/glibc-2.29.en_US.no.am.pm.date.format.diff new file mode 100644 index 000000000..0a14ca3b9 --- /dev/null +++ b/source/l/glibc/glibc-2.29.en_US.no.am.pm.date.format.diff @@ -0,0 +1,14 @@ +--- ./localedata/locales/en_US.orig 2019-01-31 10:45:36.000000000 -0600 ++++ ./localedata/locales/en_US 2019-01-31 22:35:02.033009166 -0600 +@@ -118,7 +118,10 @@ + t_fmt_ampm "%I:%M:%S %p" + % + % Appropriate date and time representation for date(1) +-date_fmt "%a %d %b %Y %r %Z" ++% [ Slackware editor's note - no thank you, US users ++% of UNIX-like systems expect a 24 hour clock, just ++% like users in the vast majority of other locales. ] ++%date_fmt "%a %d %b %Y %r %Z" + % + % Strings for AM/PM + % diff --git a/source/l/glibc/glibc.SlackBuild b/source/l/glibc/glibc.SlackBuild index c9976d6e6..3f20e6677 100755 --- a/source/l/glibc/glibc.SlackBuild +++ b/source/l/glibc/glibc.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=glibc VERSION=${VERSION:-$(echo glibc-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} CHECKOUT=${CHECKOUT:-""} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # I was considering disabling NSCD, but MoZes talked me out of it. :) #DISABLE_NSCD=" --disable-nscd " @@ -152,6 +152,8 @@ apply_patches() { zcat $CWD/glibc.ru_RU.CP1251.diff.gz | patch -p1 --verbose || exit 1 # Add a C.UTF-8 locale: zcat $CWD/glibc-c-utf8-locale.patch.gz | patch -p1 --verbose || exit 1 + # Don't use AM/PM format for date(1). That's just plain crazy. + zcat $CWD/glibc-2.29.en_US.no.am.pm.date.format.diff.gz | patch -p1 --verbose || exit 1 } # This is going to be the initial $DESTDIR: -- cgit v1.2.3-80-g2a13