Index: Makefile =================================================================== RCS file: /cvs/ports/devel/gettext/Makefile,v diff -u -r1.111 Makefile --- Makefile 23 Mar 2026 19:01:55 -0000 1.111 +++ Makefile 29 Oct 2026 20:53:22 -0000 @@ -2,6 +2,7 @@ COMMENT-textstyle= text styling library COMMENT-tools= GNU gettext development and translation tools +REVISION = 0 VERSION= 1.0 DISTNAME= gettext-${VERSION} PKGNAME-textstyle= libtextstyle-${VERSION} Index: patches/patch-gettext-runtime_intl_dcigettext_c =================================================================== RCS file: /cvs/ports/devel/gettext/patches/patch-gettext-runtime_intl_dcigettext_c,v diff -u -r1.14 patch-gettext-runtime_intl_dcigettext_c --- patches/patch-gettext-runtime_intl_dcigettext_c 4 Dec 2024 21:09:58 -0000 1.14 +++ patches/patch-gettext-runtime_intl_dcigettext_c 29 Oct 2026 20:53:22 -0000 @@ -1,7 +1,7 @@ Index: gettext-runtime/intl/dcigettext.c --- gettext-runtime/intl/dcigettext.c.orig +++ gettext-runtime/intl/dcigettext.c -@@ -428,6 +428,7 @@ DCIGETTEXT (const char *domainname, const char *msgid1 +@@ -430,6 +430,7 @@ DCIGETTEXT (const char *domainname, const char *msgid1 const char *localename; #endif size_t domainname_len; @@ -9,7 +9,7 @@ /* If no real MSGID is given return NULL. */ if (msgid1 == NULL) -@@ -634,13 +635,14 @@ DCIGETTEXT (const char *domainname, const char *msgid1 +@@ -636,13 +637,14 @@ DCIGETTEXT (const char *domainname, const char *msgid1 categoryvalue = guess_category_value (category, categoryname); domainname_len = strlen (domainname); @@ -29,7 +29,7 @@ /* Creating working area. */ single_locale = (char *) alloca (strlen (categoryvalue) + 1); -@@ -735,13 +737,17 @@ DCIGETTEXT (const char *domainname, const char *msgid1 +@@ -737,13 +739,17 @@ DCIGETTEXT (const char *domainname, const char *msgid1 /* Create a new entry and add it to the search tree. */ size_t msgid_len; size_t size; @@ -48,7 +48,7 @@ #endif newp = (struct known_translation_t *) malloc (size); if (newp != NULL) -@@ -757,7 +763,7 @@ DCIGETTEXT (const char *domainname, const char *msgid1 +@@ -759,7 +765,7 @@ DCIGETTEXT (const char *domainname, const char *msgid1 memcpy (new_domainname, domainname, domainname_len + 1); #ifdef HAVE_PER_THREAD_LOCALE new_localename = new_domainname + domainname_len + 1; Index: patches/patch-gettext-runtime_intl_l10nflist_c =================================================================== RCS file: /cvs/ports/devel/gettext/patches/patch-gettext-runtime_intl_l10nflist_c,v diff -u -r1.10 patch-gettext-runtime_intl_l10nflist_c --- patches/patch-gettext-runtime_intl_l10nflist_c 4 Dec 2024 21:09:58 -0000 1.10 +++ patches/patch-gettext-runtime_intl_l10nflist_c 29 Oct 2026 20:53:22 -0000 @@ -1,7 +1,7 @@ Index: gettext-runtime/intl/l10nflist.c --- gettext-runtime/intl/l10nflist.c.orig +++ gettext-runtime/intl/l10nflist.c -@@ -103,6 +103,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ +@@ -104,6 +104,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ #endif struct loaded_l10nfile **lastp; struct loaded_l10nfile *retval; @@ -9,7 +9,7 @@ size_t dirlist_count; size_t entries; int cnt; -@@ -118,7 +119,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ +@@ -119,7 +120,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ } /* Allocate room for the full file name. */ @@ -18,7 +18,7 @@ + strlen (language) + ((mask & XPG_TERRITORY) != 0 ? strlen (territory) + 1 : 0) -@@ -129,6 +130,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ +@@ -130,6 +131,7 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ + ((mask & XPG_MODIFIER) != 0 ? strlen (modifier) + 1 : 0) + 1 + strlen (filename) + 1); @@ -26,7 +26,7 @@ if (abs_filename == NULL) return NULL; -@@ -147,32 +149,33 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ +@@ -148,32 +150,33 @@ _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_ cp += dirlist_len; cp[-1] = '/'; } @@ -71,7 +71,7 @@ } #if defined _WIN32 && !defined __CYGWIN__ -@@ -384,7 +387,7 @@ _nl_normalize_codeset (const char *codeset, size_t nam +@@ -385,7 +388,7 @@ _nl_normalize_codeset (const char *codeset, size_t nam if (retval != NULL) { if (only_digit) Index: patches/patch-gettext-tools_gnulib-lib_xstring-desc_c =================================================================== RCS file: patches/patch-gettext-tools_gnulib-lib_xstring-desc_c diff -N patches/patch-gettext-tools_gnulib-lib_xstring-desc_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-gettext-tools_gnulib-lib_xstring-desc_c 29 Oct 2026 20:53:22 -0000 @@ -0,0 +1,13 @@ +fallback out-of-line function definitions for _xsd_c +when inlining is disabled (-O0) or when using C99 extern inline semantics. +Index: gettext-tools/gnulib-lib/xstring-desc.c +--- gettext-tools/gnulib-lib/xstring-desc.c.orig ++++ gettext-tools/gnulib-lib/xstring-desc.c +@@ -15,6 +15,7 @@ + along with this program. If not, see . */ + + #define GL_XSTRING_DESC_INLINE _GL_EXTERN_INLINE ++#define _GL_XSTRING_DESC_INLINE _GL_EXTERN_INLINE_IN_USE + #include + #include "xstring-desc.h" + Index: patches/patch-gettext-tools_gnulib-lib_xstring-desc_h =================================================================== RCS file: patches/patch-gettext-tools_gnulib-lib_xstring-desc_h diff -N patches/patch-gettext-tools_gnulib-lib_xstring-desc_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-gettext-tools_gnulib-lib_xstring-desc_h 29 Oct 2026 20:53:22 -0000 @@ -0,0 +1,40 @@ +Fix macro naming typo so Gnulib inline semantics expand properly +across C99/Clang and GNU89 compilers. + +Index: gettext-tools/gnulib-lib/xstring-desc.h +--- gettext-tools/gnulib-lib/xstring-desc.h.orig ++++ gettext-tools/gnulib-lib/xstring-desc.h +@@ -35,6 +35,9 @@ _GL_INLINE_HEADER_BEGIN + #ifndef GL_XSTRING_DESC_INLINE + # define GL_XSTRING_DESC_INLINE _GL_INLINE + #endif ++#ifndef _GL_XSTRING_DESC_INLINE ++# define _GL_XSTRING_DESC_INLINE _GL_INLINE ++#endif + + #ifdef __cplusplus + extern "C" { +@@ -96,12 +99,12 @@ xsd_copy (string_desc_t s) + return result; + } + +-GL_XSTRING_DESC_INLINE ++_GL_XSTRING_DESC_INLINE + _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL + char * + _xsd_c (idx_t s_nbytes, const char *s_data) + _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 1); +-GL_XSTRING_DESC_INLINE ++_GL_XSTRING_DESC_INLINE + _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL + char * + _xsd_c (idx_t s_nbytes, const char *s_data) +@@ -117,7 +120,7 @@ _xsd_c (idx_t s_nbytes, const char *s_data) + _xsd_c (_xs_._nbytes, _xs_._data); \ + }) + #else +-GL_STRING_DESC_INLINE ++_GL_XSTRING_DESC_INLINE + _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL + char * + xsd_c (string_desc_t s)