Thread (100 messages) 100 messages, 4 authors, 2022-01-13

Re: [PATCH v2 07/19] Provide zlib's uncompress2 from compat/zlib-compat.c

From: Carlo Arenas <hidden>
Date: 2021-09-15 07:34:58

On Thu, Sep 9, 2021 at 11:47 AM Han-Wen Nienhuys via GitGitGadget
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/config.mak.uname b/config.mak.uname
index 76516aaa9a5..9beacda4434 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -258,6 +258,11 @@ ifeq ($(uname_S),FreeBSD)
        FILENO_IS_A_MACRO = UnfortunatelyYes
 endif
 ifeq ($(uname_S),OpenBSD)
+       NO_UNCOMPRESS2 = YesPlease
This first line is no longer needed and is counter productive
The logic in the next 4 sets this variable correctly, otherwise
+       # Versions < 7.0 need compatibility layer
+       ifeq ($(shell expr "$(uname_R)" : "[1-6]\."),2)
+               NO_UNCOMPRESS2 = UnfortunatelyYes
+       endif
        NO_STRCASESTR = YesPlease
        NO_MEMMEM = YesPlease
        USE_ST_TIMESPEC = YesPlease
Carlo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help