diff options
Diffstat (limited to 'source/a/glibc-zoneinfo')
-rwxr-xr-x | source/a/glibc-zoneinfo/glibc-zoneinfo.SlackBuild | 10 | ||||
-rw-r--r-- | source/a/glibc-zoneinfo/zic.default.fat | 11 |
2 files changed, 18 insertions, 3 deletions
diff --git a/source/a/glibc-zoneinfo/glibc-zoneinfo.SlackBuild b/source/a/glibc-zoneinfo/glibc-zoneinfo.SlackBuild index 42d3be94..1efc702d 100755 --- a/source/a/glibc-zoneinfo/glibc-zoneinfo.SlackBuild +++ b/source/a/glibc-zoneinfo/glibc-zoneinfo.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2015, 2016, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2015, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=glibc-zoneinfo ZONE_VERSIONS="$(echo tzdata* | cut -f1 -d . | cut -b7-11)" -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -84,8 +84,12 @@ cd $TMP rm -rf tzcodedata-build mkdir tzcodedata-build cd tzcodedata-build -tar xzf $CWD/tzdata?????.tar.gz || exit 1 tar xzf $CWD/tzcode?????.tar.gz || exit 1 +tar xzf $CWD/tzdata?????.tar.gz || exit 1 + +# Default to more bloated (but more compatible) "fat" format with zic. +# This was the default prior to tzcode2020b. +zcat $CWD/zic.default.fat.gz | patch -p1 --verbose || exit 1 chown -R root:root . find . \ diff --git a/source/a/glibc-zoneinfo/zic.default.fat b/source/a/glibc-zoneinfo/zic.default.fat new file mode 100644 index 00000000..62832bb1 --- /dev/null +++ b/source/a/glibc-zoneinfo/zic.default.fat @@ -0,0 +1,11 @@ +--- ./zic.c.orig 2020-10-03 17:11:18.000000000 -0500 ++++ ./zic.c 2020-10-12 13:03:20.086014967 -0500 +@@ -668,7 +668,7 @@ + } + + #ifndef ZIC_BLOAT_DEFAULT +-# define ZIC_BLOAT_DEFAULT "slim" ++# define ZIC_BLOAT_DEFAULT "fat" + #endif + + int |