diff options
Diffstat (limited to 'sys-devel/gettext/files/gettext-0.22-disable-libintl.patch')
-rw-r--r-- | sys-devel/gettext/files/gettext-0.22-disable-libintl.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-devel/gettext/files/gettext-0.22-disable-libintl.patch b/sys-devel/gettext/files/gettext-0.22-disable-libintl.patch new file mode 100644 index 000000000000..b242ead4b435 --- /dev/null +++ b/sys-devel/gettext/files/gettext-0.22-disable-libintl.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/564168 +https://bugs.gentoo.org/909041 + +Never build libintl since it's in dev-libs/libintl now. + +We can drop this if/when upstream fixes the configure flag handling: +https://savannah.gnu.org/bugs/?48233 + +--- a/gettext-runtime/configure ++++ b/gettext-runtime/configure +@@ -22765,9 +22765,7 @@ + + 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 ++ }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= +--- a/gettext-tools/configure ++++ b/gettext-tools/configure +@@ -26129,9 +26129,7 @@ + + 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 ++ }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= |