From c4a6564ec5e107fade045026c6ef4ddd3aeca417 Mon Sep 17 00:00:00 2001 From: Joshua Root Date: Mon, 23 Sep 2024 10:37:34 +1000 Subject: [PATCH] gss fix --- security/gss/Portfile | 3 ++- security/gss/files/_GL_INLINE.patch | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 security/gss/files/_GL_INLINE.patch diff --git a/security/gss/Portfile b/security/gss/Portfile index 3ef5b5f7d56ec..30525d12f306b 100644 --- a/security/gss/Portfile +++ b/security/gss/Portfile @@ -22,7 +22,8 @@ checksums rmd160 6eb222b750116d274991e79c64411ee89770f185 \ sha256 ecceabdef4cae3fce7218b2ecb83eb4227dba44b53b61b8c2b2e88ae02419c73 \ size 1548407 -patchfiles patch-fix-m4.diff +patchfiles patch-fix-m4.diff \ + _GL_INLINE.patch # We are patching .m4 files use_autoreconf yes diff --git a/security/gss/files/_GL_INLINE.patch b/security/gss/files/_GL_INLINE.patch new file mode 100644 index 0000000000000..b6569123d917b --- /dev/null +++ b/security/gss/files/_GL_INLINE.patch @@ -0,0 +1,26 @@ +--- m4/extern-inline.m4.orig 2022-08-06 22:30:53 ++++ m4/extern-inline.m4 2024-09-23 10:44:31 +@@ -71,8 +71,8 @@ + # define _GL_EXTERN_INLINE extern + # define _GL_EXTERN_INLINE_IN_USE + #else +-# define _GL_INLINE static _GL_UNUSED +-# define _GL_EXTERN_INLINE static _GL_UNUSED ++# define _GL_INLINE _GL_UNUSED static ++# define _GL_EXTERN_INLINE _GL_UNUSED static + #endif + + /* In GCC 4.6 (inclusive) to 5.1 (exclusive), +--- config.h.in.orig 2022-08-06 23:19:44 ++++ config.h.in 2024-09-23 10:34:50 +@@ -1187,8 +1187,8 @@ + # define _GL_EXTERN_INLINE extern + # define _GL_EXTERN_INLINE_IN_USE + #else +-# define _GL_INLINE static _GL_UNUSED +-# define _GL_EXTERN_INLINE static _GL_UNUSED ++# define _GL_INLINE _GL_UNUSED static ++# define _GL_EXTERN_INLINE _GL_UNUSED static + #endif + + /* In GCC 4.6 (inclusive) to 5.1 (exclusive),