You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2026/10/05 14:57:46 UTC

svn commit: r1938798 - subversion/trunk/tools/dev/unix-build

Author: stsp
Date: Mon Oct  5 14:57:46 2026
New Revision: 1938798

Log:
* tools/dev/unix-build/Makefile.svn: Allow gettext 1.0 to build on older
   platforms (SLES12) which do not handle the inline magic required for
   the xstring descriptor in gnulib. The build failed because xsd_c() was
   not found as an external symbol for its.o where it was expected in
   external linkage even though gettext is trying to inline xsd_c().

   > nm libgettextsrc_la-its.o  | grep xsd_c
                    U xsd_c

Modified:
   subversion/trunk/tools/dev/unix-build/Makefile.svn

Modified: subversion/trunk/tools/dev/unix-build/Makefile.svn
==============================================================================
--- subversion/trunk/tools/dev/unix-build/Makefile.svn	Mon Oct  5 14:44:33 2026	(r1938797)
+++ subversion/trunk/tools/dev/unix-build/Makefile.svn	Mon Oct  5 14:57:46 2026	(r1938798)
@@ -1754,6 +1754,9 @@ $(GETTEXT_OBJDIR)/.retrieved: $(DISTDIR)
 	$(call do_check_sha256,$(GETTEXT_DIST))
 	[ -d $(GETTEXT_OBJDIR) ] || mkdir -p $(GETTEXT_OBJDIR)
 	xzcat $(DISTDIR)/$(GETTEXT_DIST) | tar -C $(SRCDIR) -xf -
+	# Workaround for old compilers which do not inline properly (gcc 4.8):
+	sed -i -e 's/GL_STRING_DESC_INLINE/static/' \
+		$(GETTEXT_SRCDIR)/gettext-tools/gnulib-lib/xstring-desc.h
 	touch $@
 
 # (gettext won't compile outside its source tree)