1 |
commit: 3cc369dcbfcb48261c60887795d5e021344a70d3 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 2 13:42:38 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 2 13:42:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/tex.git/commit/?id=3cc369dc |
7 |
|
8 |
add patch for prefexed strings calls |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
2020/patches/texlive-core-2020-strings.patch | 135 +++++++++++++++++++++++++++ |
13 |
1 file changed, 135 insertions(+) |
14 |
|
15 |
diff --git a/2020/patches/texlive-core-2020-strings.patch b/2020/patches/texlive-core-2020-strings.patch |
16 |
new file mode 100644 |
17 |
index 0000000..df96fd2 |
18 |
--- /dev/null |
19 |
+++ b/2020/patches/texlive-core-2020-strings.patch |
20 |
@@ -0,0 +1,135 @@ |
21 |
+--- a/libs/cairo/configure |
22 |
++++ b/libs/cairo/configure |
23 |
+@@ -700,6 +700,7 @@ |
24 |
+ build_TRUE |
25 |
+ CAIRO_ATTRIBUTE_FLAG |
26 |
+ VISIBILITY_CFLAGS |
27 |
++STRINGS |
28 |
+ LN_S |
29 |
+ RANLIB |
30 |
+ WARNING_CFLAGS |
31 |
+@@ -5673,10 +5686,104 @@ |
32 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
33 |
+ |
34 |
+ |
35 |
+-if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then |
36 |
++# allow users to override default 'strings' with 'llvm-strings' |
37 |
++# or ${CHOST}-strings. |
38 |
++if test -n "$ac_tool_prefix"; then |
39 |
++ # Extract the first word of "${ac_tool_prefix}strings", so it can be a program name with args. |
40 |
++set dummy ${ac_tool_prefix}strings; ac_word=$2 |
41 |
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
42 |
++$as_echo_n "checking for $ac_word... " >&6; } |
43 |
++if ${ac_cv_prog_STRINGS+:} false; then : |
44 |
++ $as_echo_n "(cached) " >&6 |
45 |
++else |
46 |
++ if test -n "$STRINGS"; then |
47 |
++ ac_cv_prog_STRINGS="$STRINGS" # Let the user override the test. |
48 |
++else |
49 |
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
50 |
++for as_dir in $PATH |
51 |
++do |
52 |
++ IFS=$as_save_IFS |
53 |
++ test -z "$as_dir" && as_dir=. |
54 |
++ for ac_exec_ext in '' $ac_executable_extensions; do |
55 |
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
56 |
++ ac_cv_prog_STRINGS="${ac_tool_prefix}strings" |
57 |
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
58 |
++ break 2 |
59 |
++ fi |
60 |
++done |
61 |
++ done |
62 |
++IFS=$as_save_IFS |
63 |
++ |
64 |
++fi |
65 |
++fi |
66 |
++STRINGS=$ac_cv_prog_STRINGS |
67 |
++if test -n "$STRINGS"; then |
68 |
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRINGS" >&5 |
69 |
++$as_echo "$STRINGS" >&6; } |
70 |
++else |
71 |
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
72 |
++$as_echo "no" >&6; } |
73 |
++fi |
74 |
++ |
75 |
++ |
76 |
++fi |
77 |
++if test -z "$ac_cv_prog_STRINGS"; then |
78 |
++ ac_ct_STRINGS=$STRINGS |
79 |
++ # Extract the first word of "strings", so it can be a program name with args. |
80 |
++set dummy strings; ac_word=$2 |
81 |
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
82 |
++$as_echo_n "checking for $ac_word... " >&6; } |
83 |
++if ${ac_cv_prog_ac_ct_STRINGS+:} false; then : |
84 |
++ $as_echo_n "(cached) " >&6 |
85 |
++else |
86 |
++ if test -n "$ac_ct_STRINGS"; then |
87 |
++ ac_cv_prog_ac_ct_STRINGS="$ac_ct_STRINGS" # Let the user override the test. |
88 |
++else |
89 |
++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
90 |
++for as_dir in $PATH |
91 |
++do |
92 |
++ IFS=$as_save_IFS |
93 |
++ test -z "$as_dir" && as_dir=. |
94 |
++ for ac_exec_ext in '' $ac_executable_extensions; do |
95 |
++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
96 |
++ ac_cv_prog_ac_ct_STRINGS="strings" |
97 |
++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
98 |
++ break 2 |
99 |
++ fi |
100 |
++done |
101 |
++ done |
102 |
++IFS=$as_save_IFS |
103 |
++ |
104 |
++fi |
105 |
++fi |
106 |
++ac_ct_STRINGS=$ac_cv_prog_ac_ct_STRINGS |
107 |
++if test -n "$ac_ct_STRINGS"; then |
108 |
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRINGS" >&5 |
109 |
++$as_echo "$ac_ct_STRINGS" >&6; } |
110 |
++else |
111 |
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
112 |
++$as_echo "no" >&6; } |
113 |
++fi |
114 |
++ |
115 |
++ if test "x$ac_ct_STRINGS" = x; then |
116 |
++ STRINGS="" |
117 |
++ else |
118 |
++ case $cross_compiling:$ac_tool_warned in |
119 |
++yes:) |
120 |
++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
121 |
++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
122 |
++ac_tool_warned=yes ;; |
123 |
++esac |
124 |
++ STRINGS=$ac_ct_STRINGS |
125 |
++ fi |
126 |
++else |
127 |
++ STRINGS="$ac_cv_prog_STRINGS" |
128 |
++fi |
129 |
++ |
130 |
++if $STRINGS - conftest.$ac_objext | grep noonsees >/dev/null ; then |
131 |
+ ax_cv_c_float_words_bigendian=yes |
132 |
+ fi |
133 |
+-if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then |
134 |
++if $STRINGS - conftest.$ac_objext | grep seesnoon >/dev/null ; then |
135 |
+ if test "$ax_cv_c_float_words_bigendian" = unknown; then |
136 |
+ ax_cv_c_float_words_bigendian=no |
137 |
+ else |
138 |
+--- a/libs/cairo/m4/float.m4 |
139 |
++++ b/libs/cairo/m4/float.m4 |
140 |
+@@ -30,10 +30,13 @@ |
141 |
+ |
142 |
+ ]])], [ |
143 |
+ |
144 |
+-if strings - conftest.$ac_objext | grep noonsees >/dev/null ; then |
145 |
++# allow users to override default 'strings' with 'llvm-strings' |
146 |
++# or ${CHOST}-strings. |
147 |
++AC_CHECK_TOOL([STRINGS], [strings]) |
148 |
++if $STRINGS - conftest.$ac_objext | grep noonsees >/dev/null ; then |
149 |
+ ax_cv_c_float_words_bigendian=yes |
150 |
+ fi |
151 |
+-if strings - conftest.$ac_objext | grep seesnoon >/dev/null ; then |
152 |
++if $STRINGS - conftest.$ac_objext | grep seesnoon >/dev/null ; then |
153 |
+ if test "$ax_cv_c_float_words_bigendian" = unknown; then |
154 |
+ ax_cv_c_float_words_bigendian=no |
155 |
+ else |