pkgsrc/devel/gmake/patches/patch-configure
sevan 487f194500 Revert to v4.2.1
4.3 introduces some incompatible changes which causes fallout with a lot of
packages.

Heads up by ryoon@ about the doc/TODO which I did not read before updating.
2020-06-12 23:50:16 +00:00

20 lines
607 B
Text

$NetBSD: patch-configure,v 1.3 2020/06/12 23:50:16 sevan Exp $
Support GLIBC glob interface version 2.
http://git.savannah.gnu.org/cgit/make.git/commit/?id=48c8a116
--- configure.orig 2014-10-05 16:25:21.000000000 +0000
+++ configure
@@ -11060,10 +11060,9 @@ else
#include <glob.h>
#include <fnmatch.h>
-#define GLOB_INTERFACE_VERSION 1
#if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
# include <gnu-versions.h>
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
gnu glob
# endif
#endif