ports/devel/gettext-tools/files/patch-tests_lang-c++
Tijl Coosemans 2c2ec62c72 devel/gettext: Update to 0.22
Convert post-patch commands to real patches.  This way there are errors
when the underlying code changes.

*/*: Fix gettext issues.  The new gettext tools are more strict.

PR:		272210
Exp-run by:	antoine
2023-07-11 22:15:43 +02:00

11 lines
536 B
Text

--- tests/lang-c++.orig 2023-06-08 12:56:56 UTC
+++ tests/lang-c++
@@ -72,7 +72,7 @@ ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=
: ${CONFIG_SHELL=${SHELL-/bin/sh}}
${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CXX --mode=link \
${CXX} ${CXXFLAGS} `echo "X ${LDFLAGS} " | sed -e 's/^X//' -e 's/ -Wl,--disable-auto-import / /'` -o prog prog.${OBJEXT} \
- ../../../gettext-runtime/libasprintf/libasprintf.la \
+ -lasprintf \
../../gnulib-lib/libgettextlib.la ${LTLIBINTL} \
|| Exit 1