diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-28 08:51:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-28 08:51:03 +0000 |
commit | 21dbcce41990b13f301240313be05c8d013a9258 (patch) | |
tree | 933b3c51d46dc15fefe62b03a4f41c85b7e9bb44 /app-text/msort/files | |
parent | e53aa6b4fbe5a0c6db75d893829f7a6a37a14180 (diff) |
gentoo auto-resync : 28:01:2023 - 08:51:03
Diffstat (limited to 'app-text/msort/files')
-rw-r--r-- | app-text/msort/files/msort-8.53-configure-clang16.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-text/msort/files/msort-8.53-configure-clang16.patch b/app-text/msort/files/msort-8.53-configure-clang16.patch new file mode 100644 index 000000000000..de19a029caa4 --- /dev/null +++ b/app-text/msort/files/msort-8.53-configure-clang16.patch @@ -0,0 +1,18 @@ +https://src.fedoraproject.org/rpms/msort/blob/addd4dfbb265c79e76f3329c691639d3cf837cb4/f/msort-configure-c99.patch + +Include <stdio.h> for the printf function. This avoids a check +failure with future compilers which do not support implicit function +declarations. + +--- a/configure.ac ++++ b/configure.ac +@@ -18,7 +18,7 @@ AC_DEFUN([AC_C_LONG_LONG], + ]) + + AC_DEFUN([AC_C_PRINTF_THSEP], +-[AC_TRY_COMPILE(,[printf("%'2d",101);],ac_cv_c_printf_thsep=yes,ac_cv_c_printf_thsep=no) ++[AC_TRY_COMPILE([#include <stdio.h>],[printf("%'2d",101);],ac_cv_c_printf_thsep=yes,ac_cv_c_printf_thsep=no) + if test $ac_cv_c_printf_thsep = yes; then + AC_DEFINE(HAVE_PRINTF_THSEP, 1, [compiler understands printf flag for thousands separation in ints]) + fi + |