ports/devel/gettext-tools/files/patch-configure
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

19 lines
984 B
Text

--- configure.orig 2023-06-17 11:54:38 UTC
+++ configure
@@ -26130,7 +26130,6 @@ printf "%s\n" "$ac_res" >&6; }
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
&& test "$PACKAGE" != gettext-runtime \
- && test "$PACKAGE" != gettext-tools \
&& test "$PACKAGE" != libintl; }; then
gt_use_preinstalled_gnugettext=yes
else
@@ -35320,7 +35319,7 @@ then :
# On Solaris 10 or newer, this test is no longer needed, because
# libc contains the fully functional pthread functions.
case "$host_os" in
- solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*)
+ solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux* | freebsd*)
printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h