From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tex:master commit in: 2020/patches/
Date: Sun, 2 Aug 2020 13:42:56 +0000 (UTC) [thread overview]
Message-ID: <1596375758.3cc369dcbfcb48261c60887795d5e021344a70d3.zlogene@gentoo> (raw)
commit: 3cc369dcbfcb48261c60887795d5e021344a70d3
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 2 13:42:38 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Aug 2 13:42:38 2020 +0000
URL: https://gitweb.gentoo.org/proj/tex.git/commit/?id=3cc369dc
add patch for prefexed strings calls
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
2020/patches/texlive-core-2020-strings.patch | 135 +++++++++++++++++++++++++++
1 file changed, 135 insertions(+)
diff --git a/2020/patches/texlive-core-2020-strings.patch b/2020/patches/texlive-core-2020-strings.patch
new file mode 100644
index 0000000..df96fd2
--- /dev/null
+++ b/2020/patches/texlive-core-2020-strings.patch
@@ -0,0 +1,135 @@
+--- a/libs/cairo/configure
++++ b/libs/cairo/configure
+@@ -700,6 +700,7 @@
+ build_TRUE
+ CAIRO_ATTRIBUTE_FLAG
+ VISIBILITY_CFLAGS
++STRINGS
+ LN_S
+ RANLIB
+ WARNING_CFLAGS
+@@ -5673,10 +5686,104 @@
+ if ac_fn_c_try_compile "$LINENO"; then :
+
+
+-if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then
++# allow users to override default 'strings' with 'llvm-strings'
++# or ${CHOST}-strings.
++if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}strings", so it can be a program name with args.
++set dummy ${ac_tool_prefix}strings; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_STRINGS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$STRINGS"; then
++ ac_cv_prog_STRINGS="$STRINGS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_STRINGS="${ac_tool_prefix}strings"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++STRINGS=$ac_cv_prog_STRINGS
++if test -n "$STRINGS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRINGS" >&5
++$as_echo "$STRINGS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_prog_STRINGS"; then
++ ac_ct_STRINGS=$STRINGS
++ # Extract the first word of "strings", so it can be a program name with args.
++set dummy strings; ac_word=$2
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
++$as_echo_n "checking for $ac_word... " >&6; }
++if ${ac_cv_prog_ac_ct_STRINGS+:} false; then :
++ $as_echo_n "(cached) " >&6
++else
++ if test -n "$ac_ct_STRINGS"; then
++ ac_cv_prog_ac_ct_STRINGS="$ac_ct_STRINGS" # Let the user override the test.
++else
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_prog_ac_ct_STRINGS="strings"
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++ done
++IFS=$as_save_IFS
++
++fi
++fi
++ac_ct_STRINGS=$ac_cv_prog_ac_ct_STRINGS
++if test -n "$ac_ct_STRINGS"; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRINGS" >&5
++$as_echo "$ac_ct_STRINGS" >&6; }
++else
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++fi
++
++ if test "x$ac_ct_STRINGS" = x; then
++ STRINGS=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
++ac_tool_warned=yes ;;
++esac
++ STRINGS=$ac_ct_STRINGS
++ fi
++else
++ STRINGS="$ac_cv_prog_STRINGS"
++fi
++
++if $STRINGS - conftest.$ac_objext | grep noonsees >/dev/null ; then
+ ax_cv_c_float_words_bigendian=yes
+ fi
+-if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then
++if $STRINGS - conftest.$ac_objext | grep seesnoon >/dev/null ; then
+ if test "$ax_cv_c_float_words_bigendian" = unknown; then
+ ax_cv_c_float_words_bigendian=no
+ else
+--- a/libs/cairo/m4/float.m4
++++ b/libs/cairo/m4/float.m4
+@@ -30,10 +30,13 @@
+
+ ]])], [
+
+-if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then
++# allow users to override default 'strings' with 'llvm-strings'
++# or ${CHOST}-strings.
++AC_CHECK_TOOL([STRINGS], [strings])
++if $STRINGS - conftest.$ac_objext | grep noonsees >/dev/null ; then
+ ax_cv_c_float_words_bigendian=yes
+ fi
+-if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then
++if $STRINGS - conftest.$ac_objext | grep seesnoon >/dev/null ; then
+ if test "$ax_cv_c_float_words_bigendian" = unknown; then
+ ax_cv_c_float_words_bigendian=no
+ else
next reply other threads:[~2020-08-02 13:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-02 13:42 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-04-22 17:10 [gentoo-commits] proj/tex:master commit in: 2020/patches/ Mikle Kolyada
2020-04-20 16:05 Mikle Kolyada
2020-04-20 12:46 Mikle Kolyada
2020-04-20 12:11 Mikle Kolyada
2020-04-14 8:51 Mikle Kolyada
2020-04-14 7:52 Mikle Kolyada
2020-04-14 7:24 Mikle Kolyada
2020-04-13 21:31 Mikle Kolyada
2020-04-11 16:10 Mikle Kolyada
2020-04-11 13:30 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1596375758.3cc369dcbfcb48261c60887795d5e021344a70d3.zlogene@gentoo \
--to=zlogene@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox