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..9540782ad06b3 --- /dev/null +++ b/security/gss/files/_GL_INLINE.patch @@ -0,0 +1,13 @@ +--- 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),