summaryrefslogtreecommitdiff
path: root/app-text/msort
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-28 08:51:03 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-28 08:51:03 +0000
commit21dbcce41990b13f301240313be05c8d013a9258 (patch)
tree933b3c51d46dc15fefe62b03a4f41c85b7e9bb44 /app-text/msort
parente53aa6b4fbe5a0c6db75d893829f7a6a37a14180 (diff)
gentoo auto-resync : 28:01:2023 - 08:51:03
Diffstat (limited to 'app-text/msort')
-rw-r--r--app-text/msort/Manifest3
-rw-r--r--app-text/msort/files/msort-8.53-configure-clang16.patch18
-rw-r--r--app-text/msort/msort-8.53-r2.ebuild (renamed from app-text/msort/msort-8.53-r1.ebuild)5
3 files changed, 23 insertions, 3 deletions
diff --git a/app-text/msort/Manifest b/app-text/msort/Manifest
index 64bc1e9f0d64..9ae60c68a6ab 100644
--- a/app-text/msort/Manifest
+++ b/app-text/msort/Manifest
@@ -1,7 +1,8 @@
+AUX msort-8.53-configure-clang16.patch 738 BLAKE2B acf265459c2d943f955034eb675fe9661d5edc4fec07693db886a8b02af667133a6e3c501bced2b3a8cc7875f85d64cb7cce0c15cd1d7876568e0f7510daed9e SHA512 0ec6c8f499c7357ea3566fea5fe2561f315dbb844c5b8d9b5b921949e9782c68b27da8beb011da14bbb34b511f629d4d920081180ed2c8f113b12b1d88306323
AUX msort-8.53-fix-icu-build.patch 239 BLAKE2B ff53316fd6b1f531b432655d1fac1c3b24c114ea35ae63f4f4bb65f4598db2039dae80103bf942ba2ecd269ae3fb8ea9735bee71907876a6494181db052941ee SHA512 86f7c131166a568dd3b9534662c02681396686d9642d6cbdb6b4128d0c6c8eeec9660c8e5f9c8156e78e096a668ec67eba52e9c368455f40002e18de4dddf269
AUX msort-8.53-fix-missing-limits-header.patch 559 BLAKE2B cb158b619540aa9679d845c1c94986f3bbe9f75aab0069d7a12133043ba547d13d26727251cf2524e4e285d0f1207ea43353972eea782198dda34456b984707a SHA512 9e779627e2f92955dc66b03fb64fce767e2cbf2dcdd8a42c9e10f06b512625be10434a47c26a9b7c46e1a15c226d4f66eeda21194f9a0d3eb6deb801b83633eb
AUX msort-8.53-fix-segfault-on-certain-input.patch 384 BLAKE2B bec03b23365bfe010b04a8fbb24c2043f5436dc866c2dc5b76de4c2639103ecf75bd12ec6d63fa9e2922ac79c8e97a6939c74fe5f37d026af8325c1b161b0f42 SHA512 6d7e1ddf68240f27055a43cddf9e99594ca2ff20c0d666b8e3e09f74c319b38432d15c0b608f76aa5732b6145f1d3120f618cca398c8a68bef4a394949df55dc
AUX msort-8.53-respect-users-cflags.patch 238 BLAKE2B 50efa37a87f42112524bd8e281c634b0e2527dc4d63597433616a9f220a3cf935138a32eab9a11f5acedf37bc1c6b25efe1e862b81c0b3ba930c6545fce05cff SHA512 c157bf5babc42db689cf9e0b9ee8c9f372c065570b2728833036658215ae508565db2ec4f00688766ce5a18ea3589747c7cce7172232fe0493a8037689f8152e
DIST msort-8.53.tar.bz2 440307 BLAKE2B 024fa62c9424dd7f994fd9aabdb2414116ba78c2f6bbbfd88c11cde4ed1688260d7bb7f7a18dd36822f4725817df93d218c4382e8b15232fc6d3583098d44db0 SHA512 9afba189d8b703cd6668065ace86733b52a39f6783272849b3582308da5a33db8ae6747501846523ba3671c9fb38a7584fe0db2462cff446b15d79200055a573
-EBUILD msort-8.53-r1.ebuild 977 BLAKE2B dd7a2d2220d626de9e1319769465e66e51e3007766494fc728732476ce5af14d48bcaa1a4503e56709ed504fb0b76d3eb8edd745e6e124f028ee400c8118d3f4 SHA512 50910b18d2462593b4bf4ab8ae0169a0de1069e70c348f49465a6698e003ea795067a676b6e22c217648be3ee58836f5b3609e5636cd3b708318025097d14d76
+EBUILD msort-8.53-r2.ebuild 1020 BLAKE2B b22562cf05a6958035c94c6db93db165fa27233227971589a38a025a1972101121b8250edabb241ed3eec5c21fdf339a02a245fa89c7904e0900087f81643a50 SHA512 5bd0c94ccfdf4f43aad1e7fbdc1d06070cb83d1e820aff183179f982d415594721a49e2d920f2944d84f81fe0b604fc9a2bf0ef1f4758a52cc66ea658bd78eb9
MISC metadata.xml 1001 BLAKE2B 85c37e686432dc1f791c14ad0d07ece535b835c0fe7b2f220f682abfb494411849a69fb0c197981d1cf97b3f2d3bb7e7d0d621179cec0a1980218dc72115b0ff SHA512 63558ec0d6109f89d80700048f62df5fb57245ba7ba5aed4467f63041777c8cb9d6fa9d0a2c75fd64bdc5f72b23ba8d2c61746e34a4d8a20b18831900fd880f2
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
+
diff --git a/app-text/msort/msort-8.53-r1.ebuild b/app-text/msort/msort-8.53-r2.ebuild
index 7165b1210a09..39dfa9ff4a68 100644
--- a/app-text/msort/msort-8.53-r1.ebuild
+++ b/app-text/msort/msort-8.53-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -26,7 +26,8 @@ PATCHES=(
"${FILESDIR}/${P}-fix-missing-limits-header.patch"
"${FILESDIR}/${P}-fix-segfault-on-certain-input.patch"
"${FILESDIR}/${P}-respect-users-cflags.patch"
- )
+ "${FILESDIR}/${P}-configure-clang16.patch"
+)
src_prepare() {
default