diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 05:25:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-21 05:25:18 +0100 |
commit | 53612ae086ce9e171633a17392eb88c008650b8e (patch) | |
tree | a2e37763510dc22fd2812a219109ac748e56ee04 /app-text/texlive-core/files | |
parent | 3f9a144d38a57497a44a583d11a6e3dfbe8319d5 (diff) |
gentoo auto-resync : 21:09:2022 - 05:25:18
Diffstat (limited to 'app-text/texlive-core/files')
-rw-r--r-- | app-text/texlive-core/files/texlive-core-2021-cairo-strings.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-text/texlive-core/files/texlive-core-2021-cairo-strings.patch b/app-text/texlive-core/files/texlive-core-2021-cairo-strings.patch new file mode 100644 index 000000000000..07ca8933facf --- /dev/null +++ b/app-text/texlive-core/files/texlive-core-2021-cairo-strings.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/853121 +https://bugs.gentoo.org/726200 +--- a/libs/cairo/m4/float.m4 ++++ b/libs/cairo/m4/float.m4 +@@ -22,23 +22,24 @@ AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN], + # file, the target platform stores float words in big-endian order. If grep + # finds "seesnoon", float words are in little-endian order. If neither value + # is found, the user is instructed to specify the ordering. + + ax_cv_c_float_words_bigendian=unknown +-AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ ++AC_LINK_IFELSE([AC_LANG_SOURCE([[ + +-double d = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0; ++double d __attribute__((used)) = 90904234967036810337470478905505011476211692735615632014797120844053488865816695273723469097858056257517020191247487429516932130503560650002327564517570778480236724525140520121371739201496540132640109977779420565776568942592.0; ++int main() { return 0; } + + ]])], [ + + # 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 ++if $STRINGS - conftest | 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 | grep seesnoon >/dev/null ; then + if test "$ax_cv_c_float_words_bigendian" = unknown; then + ax_cv_c_float_words_bigendian=no + else + ax_cv_c_float_words_bigendian=unknown + fi + |