logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 9aea29e7044f5d86a3f975646c3b0231125d6435
parent c3ce7c6539a09d7b08ac719b70dfea8d83b4d516
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 14 Dec 2020 00:40:21 -0800

awk: Update to 20201208

Diffstat:

M.gitmodules1+
Apkg/awk/patch/0001-Include-strings.h-for-strcasecmp.patch29+++++++++++++++++++++++++++++
Mpkg/awk/ver2+-
3 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/.gitmodules b/.gitmodules @@ -16,6 +16,7 @@ [submodule "pkg/awk/src"] path = pkg/awk/src url = https://github.com/onetrueawk/awk + ignore = all [submodule "pkg/b3sum/src"] path = pkg/b3sum/src url = https://git.sr.ht/~mcf/b3sum diff --git a/pkg/awk/patch/0001-Include-strings.h-for-strcasecmp.patch b/pkg/awk/patch/0001-Include-strings.h-for-strcasecmp.patch @@ -0,0 +1,29 @@ +From ed600d8ac056b1e522231ffc4a819fc8c05f8eb6 Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Mon, 14 Dec 2020 02:10:41 -0800 +Subject: [PATCH] Include <strings.h> for strcasecmp + +Though some implementations include this header indirectly through +string.h by default, the POSIX header that declares strcasecmp is +strings.h[0]. + +[0] https://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html +--- + lib.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib.c b/lib.c +index 5404818..c200114 100644 +--- a/lib.c ++++ b/lib.c +@@ -25,6 +25,7 @@ THIS SOFTWARE. + #define DEBUG + #include <stdio.h> + #include <string.h> ++#include <strings.h> + #include <ctype.h> + #include <errno.h> + #include <stdlib.h> +-- +2.29.2 + diff --git a/pkg/awk/ver b/pkg/awk/ver @@ -1 +1 @@ -20200816 r0 +20201208 r0