aboutsummaryrefslogtreecommitdiffstats
path: root/community/althttpd/20-force-GMT-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/althttpd/20-force-GMT-headers.patch')
-rw-r--r--community/althttpd/20-force-GMT-headers.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/community/althttpd/20-force-GMT-headers.patch b/community/althttpd/20-force-GMT-headers.patch
deleted file mode 100644
index 44e9783ee97..00000000000
--- a/community/althttpd/20-force-GMT-headers.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-The strftime %Z format specifier returns UTC on musl in this
-context, force use of GMT to prevent client errors.
-See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12979
---- src/althttpd.c.orig
-+++ src/althttpd.c
-@@ -617,7 +617,7 @@
- struct tm *tm;
- static char zDate[100];
- tm = gmtime(&t);
-- strftime(zDate, sizeof(zDate), "%a, %d %b %Y %H:%M:%S %Z", tm);
-+ strftime(zDate, sizeof(zDate), "%a, %d %b %Y %H:%M:%S GMT", tm);
- return zDate;
- }
-