openbsd-ports/devel/git/patches/patch-config_mak_uname
kn c7083c65a6 Update to git 2.31.0
Backward incompatible and other important changes

 * The "pack-redundant" command, which has been left stale with almost
   unusable performance issues, now warns loudly when it gets used, as
   we no longer want to recommend its use (instead just "repack -d"
   instead).

 * The development community has adopted Contributor Covenant v2.0 to
   update from v1.4 that we have been using.

 * The support for deprecated PCRE1 library has been dropped.

 * Fixes for CVE-2021-21300 in Git 2.30.2 (and earlier) is included.

https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.31.0.txt

OK benoit
2021-03-16 19:06:52 +00:00

18 lines
514 B
Plaintext

$OpenBSD: patch-config_mak_uname,v 1.13 2021/03/16 19:06:52 kn Exp $
OpenBSD wants DIR_HAS_BSD_GROUP_SEMANTICS, just like FreeBSD
Index: config.mak.uname
--- config.mak.uname.orig
+++ config.mak.uname
@@ -256,8 +256,7 @@ ifeq ($(uname_S),FreeBSD)
FILENO_IS_A_MACRO = UnfortunatelyYes
endif
ifeq ($(uname_S),OpenBSD)
- NO_STRCASESTR = YesPlease
- NO_MEMMEM = YesPlease
+ DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
USE_ST_TIMESPEC = YesPlease
NEEDS_LIBICONV = YesPlease
BASIC_CFLAGS += -I/usr/local/include