diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-03 03:30:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-03 03:30:15 +0100 |
commit | eaef2dddc42323859c2525b466b380620534c051 (patch) | |
tree | 896c21252a915d64254052580cbe09065160d988 /dev-libs | |
parent | abccc7eb204f4c89c47a45acfe0db1cc337585ff (diff) |
gentoo auto-resync : 03:06:2023 - 03:30:15
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97407 -> 97403 bytes | |||
-rw-r--r-- | dev-libs/angelscript/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/angelscript/angelscript-2.36.1.ebuild (renamed from dev-libs/angelscript/angelscript-2.35.1-r1.ebuild) | 6 | ||||
-rw-r--r-- | dev-libs/angelscript/files/0004-Add-as_callfunc_arm64.cpp-to-gnuc-makefile.patch | 30 | ||||
-rw-r--r-- | dev-libs/angelscript/files/0006-Add-as_callfunc_arm_gcc.S-to-gnuc-makefile.patch | 31 | ||||
-rw-r--r-- | dev-libs/mpfr/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild | 17 | ||||
-rw-r--r-- | dev-libs/mpfr/mpfr-4.1.1_p1.ebuild | 17 | ||||
-rw-r--r-- | dev-libs/mpfr/mpfr-4.2.0.ebuild | 16 | ||||
-rw-r--r-- | dev-libs/mpfr/mpfr-4.2.0_p9.ebuild | 17 |
10 files changed, 58 insertions, 90 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex e0516f4f69eb..49cda9dddede 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/angelscript/Manifest b/dev-libs/angelscript/Manifest index 663d4ab70892..3c788feccd9b 100644 --- a/dev-libs/angelscript/Manifest +++ b/dev-libs/angelscript/Manifest @@ -1,7 +1,5 @@ -AUX 0004-Add-as_callfunc_arm64.cpp-to-gnuc-makefile.patch 925 BLAKE2B a5a4f29521ba02b3c422ed40b488a36612dcee302ebc8426d5a02c5ba684e02799806fe769f3e2cbd5d78f16fdb48b14c0e700b1d961bec069f188cf0181123c SHA512 d4806e4750fd8d0f6a8fa8a9d5d30b231968b89ec6ff298809e70ae72dbd605c75566fed50105dfd5bb772c5bc179fc7df95fb6adc1a4089104491099731b002 -AUX 0006-Add-as_callfunc_arm_gcc.S-to-gnuc-makefile.patch 1025 BLAKE2B 2303787c9f4fda45bfe91326fcf63a616f8714f0315f3895ff6932352b225eb85a7218e05969b700471bee4fd30b36ce0bdd3a6f85262446b2bfc92a8efc47a2 SHA512 92d190db8e7606a9866c2f8061ca30e0b2fce1bc1f7de4567b85bd66c1fe4992f570e468d882ec11b61cfd322d7ea7a659e41a2ccd6a76c3dacf35b38154c038 -DIST angelscript_2.35.1.zip 2033435 BLAKE2B b88189fb78294e5804adf313bc333a9a21760120a42b3df78c9c54861718acf435de55dcfb26a8975407102c1182093caed11bfecc6ba946bc7614f62f7e176a SHA512 b15083c7a77434c291e72ea82cfbab7734fa79df654d911a822f306d526669ebe9e55a981e8a1914deda0d2a52ebdc0ffb51a4179f307632c8c7d74b1abc69fa DIST angelscript_2.36.0.zip 2038804 BLAKE2B 83d47ffb8563968d1db4955286ad5c4f7767132ddaa7420126ae3faa34f0b44fe319432324eb4fe3bd9317e79149719c6587cbafb28d061e37801f63be126a59 SHA512 afd2b9096d0b62bc3d182d684fe34ddc8e9520af7734eea1f1a5c7d3439a28a1be7502faf692080cb0c4591799b7fea09fc8c4ccf25b8ec63a3d306e678682ff -EBUILD angelscript-2.35.1-r1.ebuild 1157 BLAKE2B 71c76276bd438d06d667ebcec8282d269439705fe29173f79ab6668f0d49db57ffc19c6ec26f7a13938245d65eca847b517d3bca19a522317225baf99fa276d2 SHA512 e94d2e5d2aa0a4931fafb735915054731f5f0908b49e0d20b03a0cbd911cde0b922f9d0fcf17bc68881c421eb9759c863d47dd6f08164c8508688833c4f8e5a0 +DIST angelscript_2.36.1.zip 2011471 BLAKE2B 81cd147b7e78abe9a8a342ca3c88191cf1eb0e50f78bcd8c1f2ab36e31eadc3260373159ea084cfe9140897df5187ac268d9624b5f8613564e1d6982b1178a54 SHA512 d6d213ce72135c89e47e67521f654611ff67673f3decd9db3da4b7bf317a04a3f91c5c6ae36658ec3f2b20498facd069af02a91255a24ec79c96d8c90d6b554e EBUILD angelscript-2.36.0.ebuild 1007 BLAKE2B 078a9be3df48eaf94262b92479eaf09b4296377cdab447810d805ddca3c72cf4a5a4c77d5a512ea669088ca5ea97264ae0e4d3e6fd6278d83ad45290b8e929b1 SHA512 094f54e9781752f714688a6c28904ce9e0d57b2d42e5c04a1660a0a9fa85d33923633c30378eeda36226b492951af121d2e8f7b915cbd4c3c81cab4a08f3b392 +EBUILD angelscript-2.36.1.ebuild 1007 BLAKE2B 046bd519b5029eecb1f855711fd467db5fc0cbc62e148126b9b3ee3bbe4dd0e621771f643f2aa47d74261ec616f8cd615cfe4aa75e0a59b42aabbd40a16a63cd SHA512 977d3ce3abd7b9b2a134bc8b5130a63f2c1fc392e8d1e3831e235b7304f626df3828af579ba71e2a60445865c51a2a540331b0aba32f7535de8e0528bf55b88f MISC metadata.xml 407 BLAKE2B 5d10a87729e294d0df6a7afd624cd4012116e773736aae89ee56763eee0002feca2206d62b22feaa835383c1b0d197966a5e19f48851281b06df0c7cf9c0a4a8 SHA512 883e575349da504d73f1aad6b8e03fe12a1a0c05a33c63cf592bc1919fe926a4f5fcc80fc68deeb026adc143ebee0b96bbff2f32d0d5fa49554a0af28ee69b19 diff --git a/dev-libs/angelscript/angelscript-2.35.1-r1.ebuild b/dev-libs/angelscript/angelscript-2.36.1.ebuild index d0aa028768b9..029939d94ea9 100644 --- a/dev-libs/angelscript/angelscript-2.35.1-r1.ebuild +++ b/dev-libs/angelscript/angelscript-2.36.1.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 @@ -16,10 +16,6 @@ IUSE="doc static-libs" BDEPEND="app-arch/unzip" S="${WORKDIR}/sdk" -PATCHES=( - "${FILESDIR}/0004-Add-as_callfunc_arm64.cpp-to-gnuc-makefile.patch" - "${FILESDIR}/0006-Add-as_callfunc_arm_gcc.S-to-gnuc-makefile.patch" -) pkg_setup() { tc-export CXX AR RANLIB diff --git a/dev-libs/angelscript/files/0004-Add-as_callfunc_arm64.cpp-to-gnuc-makefile.patch b/dev-libs/angelscript/files/0004-Add-as_callfunc_arm64.cpp-to-gnuc-makefile.patch deleted file mode 100644 index b889c495f3e6..000000000000 --- a/dev-libs/angelscript/files/0004-Add-as_callfunc_arm64.cpp-to-gnuc-makefile.patch +++ /dev/null @@ -1,30 +0,0 @@ -This patch taken from Debian: -https://salsa.debian.org/yangfl-guest/angelscript/-/blob/master/debian/patches/0004-Add-as_callfunc_arm64.cpp-to-gnuc-makefile.patch - -Gentoo bug: -https://bugs.gentoo.org/818868 - -From 53841747c668abe3ff2cac280354703bef5dd395 Mon Sep 17 00:00:00 2001 -From: yangfl <yangfl@users.noreply.github.com> -Date: Thu, 14 Oct 2021 18:29:25 +0800 -Subject: [PATCH 4/6] Add as_callfunc_arm64.cpp to gnuc makefile - ---- - angelscript/projects/gnuc/Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/angelscript/projects/gnuc/Makefile b/angelscript/projects/gnuc/Makefile -index 5274f05e..276baa9e 100644 ---- a/angelscript/projects/gnuc/Makefile -+++ b/angelscript/projects/gnuc/Makefile -@@ -107,6 +107,7 @@ SRCNAMES = \ - as_bytecode.cpp \ - as_callfunc.cpp \ - as_callfunc_arm.cpp \ -+ as_callfunc_arm64.cpp \ - as_callfunc_mips.cpp \ - as_callfunc_ppc.cpp \ - as_callfunc_ppc_64.cpp \ --- -2.33.0 - diff --git a/dev-libs/angelscript/files/0006-Add-as_callfunc_arm_gcc.S-to-gnuc-makefile.patch b/dev-libs/angelscript/files/0006-Add-as_callfunc_arm_gcc.S-to-gnuc-makefile.patch deleted file mode 100644 index ccdd21a5e7c9..000000000000 --- a/dev-libs/angelscript/files/0006-Add-as_callfunc_arm_gcc.S-to-gnuc-makefile.patch +++ /dev/null @@ -1,31 +0,0 @@ -This file taken from Debian: -https://salsa.debian.org/yangfl-guest/angelscript/-/blob/master/debian/patches/0006-Add-as_callfunc_arm_gcc.S-to-gnuc-makefile.patch - -Gentoo bug: -https://bugs.gentoo.org/818868 - -From 64e3e5a356047531012789802ece987bacb6a120 Mon Sep 17 00:00:00 2001 -From: yangfl <yangfl@users.noreply.github.com> -Date: Fri, 15 Oct 2021 02:24:17 +0800 -Subject: [PATCH 6/6] Add as_callfunc_arm_gcc.S to gnuc makefile - ---- - angelscript/projects/gnuc/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/angelscript/projects/gnuc/Makefile b/angelscript/projects/gnuc/Makefile -index 276baa9e..973da7b0 100644 ---- a/angelscript/projects/gnuc/Makefile -+++ b/angelscript/projects/gnuc/Makefile -@@ -145,7 +145,7 @@ OBJ = $(addprefix $(OBJDIR)/, $(notdir $(SRCNAMES:.cpp=.o))) - ifeq ($(TARGETPLATFORM), iphone) - OBJ += $(OBJDIR)/as_callfunc_arm_xcode.o - else -- OBJ += $(OBJDIR)/as_callfunc_arm_gcc.o -+ OBJ += $(OBJDIR)/as_callfunc_arm_gcc.o $(OBJDIR)/as_callfunc_arm64_gcc.o - endif - - --- -2.33.0 - diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest index 04b4877183fd..ef80fb6e61be 100644 --- a/dev-libs/mpfr/Manifest +++ b/dev-libs/mpfr/Manifest @@ -25,8 +25,8 @@ DIST mpfr-4.2.0-patch08.patch 24051 BLAKE2B 5b4dcfa695e9146061135413186302278190 DIST mpfr-4.2.0-patch09.patch 3854 BLAKE2B b307d5f140069e7b76cdecd09ce86b8e20cb16ca7789716a614e78f9922f677421b055a36faa3552fc5b38925f56c4eed5f27b25240237f0ef75a5d8db00ebb8 SHA512 f0f54208f1fed94f876d3eff35058c54a0f75bb3928b942aab5debf8e7ca0eced5becd6c6ffbe1c6581bf4fb6ceda7693e8d0b22dd7352a1cfb3ddb2c83a9d57 DIST mpfr-4.2.0.tar.xz 1477532 BLAKE2B dd88ae3a6a910ad8faeb791b49c3b1085de5d0d4c49c637c124bf4d9bc79fb621d0d1d69e07d0642b9b678f6d355a5830d083dfd189e1e91d0e04c970c10bd64 SHA512 58e843125884ca58837ae5159cd4092af09e8f21931a2efd19c15de057c9d1dc0753ae95c592e2ce59a727fbc491af776db8b00a055320413cdcf2033b90505c DIST mpfr-4.2.0.tar.xz.asc 228 BLAKE2B b281a11528a69418739b0122b4130d9cf212569f9ded8def685b31afe700ea776dd40ac0de7aa6de1bbd5d03a1dc9726ed4278cc6cccfacd1147681a6de27f70 SHA512 ce64346cce89bc38fee161a5e01c349c97c69b626547e54a522b741949cb27bba1668d123143fd03b015f9bdd692bcba08c7b85cf4d4cea9f7834383e04d4bbc -EBUILD mpfr-4.1.0_p13-r1.ebuild 2656 BLAKE2B 427dd96be740ca584d11d81c76984a938bdc7273547882f6a51b7b36a94a81d9352f0612f037b2e2e12bf3607ff8a52bb8159631a5e72688b263486672d50cc7 SHA512 f1dec159f405dfb685ae02382dbd4bea6dd470910fbcf5f1f6f42528aebbf5c53c9f0e5af7eaa82959974102d48f727a770fa640cffa2dc46721ee5cbf8df4f4 -EBUILD mpfr-4.1.1_p1.ebuild 2656 BLAKE2B 646e44790a1c85a0f402a458a843bb961b6295ade34b97736dbd0b96cf584e9c42494173973e579943f75a10df7f52ac5f426b70e0521f17159758caf8fbf290 SHA512 0ef0d3d80e0c6c7154029ebfa3ddb3d5c07b3076f42c3036b63a464b75407a3c026f33e30d337de36a2843873eaa1de3e5024e08f70b1ed63e5051d52d31283d -EBUILD mpfr-4.2.0.ebuild 3071 BLAKE2B f1538e37bc8b484b9787661df1546b816ec239624abf098f55d801ec6dfb8f699526275f448c33ad3e513f52e9091ce38c99c086482f0468ee8f925cd21f476b SHA512 b18599c425f102cc8099da10c5add88118812ac7b1051da8bff7f5f3e9fb7d309cfa4e04e8d98f940a8cb3f0851900b2ade9a171b8b7c02ec9e18045f0bb7167 -EBUILD mpfr-4.2.0_p9.ebuild 3079 BLAKE2B 1733b53f19071490b45690b4eb80f201755d5d26d30d74c56848f39cbb5081fc01971296c885626b5d713a7573e5a953b5dddc035471c250a7880dce935a29f8 SHA512 64480c88361bab13cf99a22fb57253b466d50ea05178c8410f802e8609710ec183d5bb61112146de7cf096ed37edc6db0505ebd9f0e431d117f30a195026a132 +EBUILD mpfr-4.1.0_p13-r1.ebuild 2783 BLAKE2B 748c9175b11db817c4d4a50879ffac9d2772b8c1aba67111bba8744264705547910b16667caa68eaac7b8d66e7cb331c54150b35fcbdbf47fee4d6c5cd8109a7 SHA512 b8161691727a74f31877dddec7e81e6c37791be74649ea4a96c770ad34661d0deebe27444a1872fb127b5fa191357a048cbc410a6db6bae16b0887d1c843f1ed +EBUILD mpfr-4.1.1_p1.ebuild 2783 BLAKE2B 69d40acad30c90bc0460c3ee4a96323a46ec2ea2d3a6ae96ef696502cd9af2623cd33cd9d1c8a1dc372ee3f643eb254d1e0e91e6289bfd8ce6e463c00c54cfe5 SHA512 12fb0937de94dcf6f04bfa26ff3a0ae1343d9d698777d652e20f734ef51965104a9aa60f8775b897e6b82f75e10e5568a7269ae3f446adbaa3036481a98362c2 +EBUILD mpfr-4.2.0.ebuild 3158 BLAKE2B 86a7fcf91c203f87c62b039f609592e2f4ce0f199a89d35d30d5b143ce254938686339cbb0c1b45a17a56c8a159d95bb3517354dfcfb2458d441647e104ed269 SHA512 8c8dfb2424f043372ef058ac7fedea442b5de3733b56497cd96deeee52998247c6872096926c430b78ffc41542e986903d9d6972fbf676f9309f7d4757212f6c +EBUILD mpfr-4.2.0_p9.ebuild 3167 BLAKE2B 481b82c925add26fcb119d40cc6d32671a7ad61e1faadb692ad7dcb6acc7238d65982b5d0ddf9aff75bd7742fe83c7fa64928b09dc06e6f62bf72dde16128be1 SHA512 e2b8ccf66b2bdc1d95be34e2f47360c33e0807af97fe90a500c760eff351b666ca45e68b26d5403ae8b5e64ab60ca8d601690d6babc14899580b4059eac2aacf MISC metadata.xml 344 BLAKE2B b7a0bcfbcf945ce2b6d58a9a2078c823c12de5ef8261ec009612b58a833deecb7caaf864f0b55e0c46aac004c58feb7a1f88f6d78b584c2e25c403cfb1de96a0 SHA512 8b8b5ae00a4f9ba76c193c5d84f27cce973963f4db109219394efccba3a8e8bebb7f241658a0b682331e34c66ee99332f871d826abf6ec5a4ced4f3dce381fe9 diff --git a/dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild b/dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild index c745a8df1724..25319964c958 100644 --- a/dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild +++ b/dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild @@ -18,18 +18,27 @@ MY_P=${PN}-${MY_PV} DESCRIPTION="Library for multiple-precision floating-point computations with exact rounding" HOMEPAGE="https://www.mpfr.org/ https://gitlab.inria.fr/mpfr" SRC_URI="https://www.mpfr.org/${MY_P}/${MY_P}.tar.xz" + if [[ ${PV} == *_p* ]] ; then # If this is a patch release, we have to download each of the patches: # -_pN = N patches # - patch file names are like: patch01, patch02, ..., patch10, patch12, .. # # => name the ebuild _pN where N is the number of patches on the 'bugs' page. - for ((my_patch_index=1; my_patch_index <= MY_PATCH; my_patch_index++)); do - SRC_URI+=" $(printf "https://www.mpfr.org/${MY_P}/patch%02d -> ${MY_P}-patch%02d.patch " ${my_patch_index}{,})" - MY_PATCHES+=( "${DISTDIR}"/$(printf ${MY_P}-patch%02d.patch ${my_patch_index}) ) + patch_url_base="https://www.mpfr.org/${MY_P}" + my_patch_index= + + for ((my_patch_index=1; my_patch_index <= MY_PATCH ; my_patch_index++)) ; do + printf -v mangled_patch_ver "patch%02d" "${my_patch_index}" + + SRC_URI+=" ${patch_url_base}/${mangled_patch_ver} -> ${MY_P}-${mangled_patch_ver}.patch" + + MY_PATCHES+=( "${DISTDIR}"/${MY_P}-${mangled_patch_ver}.patch ) done - unset my_patch_index + + unset patch_url_base my_patch_index mangled_patch_ver fi + S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1" diff --git a/dev-libs/mpfr/mpfr-4.1.1_p1.ebuild b/dev-libs/mpfr/mpfr-4.1.1_p1.ebuild index f448fa9556f6..cfa58819d8f8 100644 --- a/dev-libs/mpfr/mpfr-4.1.1_p1.ebuild +++ b/dev-libs/mpfr/mpfr-4.1.1_p1.ebuild @@ -18,18 +18,27 @@ MY_P=${PN}-${MY_PV} DESCRIPTION="Library for multiple-precision floating-point computations with exact rounding" HOMEPAGE="https://www.mpfr.org/ https://gitlab.inria.fr/mpfr" SRC_URI="https://www.mpfr.org/${MY_P}/${MY_P}.tar.xz" + if [[ ${PV} == *_p* ]] ; then # If this is a patch release, we have to download each of the patches: # -_pN = N patches # - patch file names are like: patch01, patch02, ..., patch10, patch12, .. # # => name the ebuild _pN where N is the number of patches on the 'bugs' page. - for ((my_patch_index=1; my_patch_index <= MY_PATCH; my_patch_index++)); do - SRC_URI+=" $(printf "https://www.mpfr.org/${MY_P}/patch%02d -> ${MY_P}-patch%02d.patch " ${my_patch_index}{,})" - MY_PATCHES+=( "${DISTDIR}"/$(printf ${MY_P}-patch%02d.patch ${my_patch_index}) ) + patch_url_base="https://www.mpfr.org/${MY_P}" + my_patch_index= + + for ((my_patch_index=1; my_patch_index <= MY_PATCH ; my_patch_index++)) ; do + printf -v mangled_patch_ver "patch%02d" "${my_patch_index}" + + SRC_URI+=" ${patch_url_base}/${mangled_patch_ver} -> ${MY_P}-${mangled_patch_ver}.patch" + + MY_PATCHES+=( "${DISTDIR}"/${MY_P}-${mangled_patch_ver}.patch ) done - unset my_patch_index + + unset patch_url_base my_patch_index mangled_patch_ver fi + S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1" diff --git a/dev-libs/mpfr/mpfr-4.2.0.ebuild b/dev-libs/mpfr/mpfr-4.2.0.ebuild index 1306c9897965..2d6a6826dd43 100644 --- a/dev-libs/mpfr/mpfr-4.2.0.ebuild +++ b/dev-libs/mpfr/mpfr-4.2.0.ebuild @@ -27,12 +27,20 @@ if [[ ${PV} == *_p* ]] ; then # - patch file names are like: patch01, patch02, ..., patch10, patch12, .. # # => name the ebuild _pN where N is the number of patches on the 'bugs' page. - for ((my_patch_index=1; my_patch_index <= MY_PATCH; my_patch_index++)); do - SRC_URI+=" $(printf "https://www.mpfr.org/${PN}-$(ver_cut 1-3)/patch%02d -> ${PN}-$(ver_cut 1-3)-patch%02d.patch " ${my_patch_index}{,})" - MY_PATCHES+=( "${DISTDIR}"/$(printf ${PN}-$(ver_cut 1-3)-patch%02d.patch ${my_patch_index}) ) + patch_url_base="https://www.mpfr.org/${MY_P}" + my_patch_index= + + for ((my_patch_index=1; my_patch_index <= MY_PATCH ; my_patch_index++)) ; do + printf -v mangled_patch_ver "patch%02d" "${my_patch_index}" + + SRC_URI+=" ${patch_url_base}/${mangled_patch_ver} -> ${MY_P}-${mangled_patch_ver}.patch" + + MY_PATCHES+=( "${DISTDIR}"/${MY_P}-${mangled_patch_ver}.patch ) done - unset my_patch_index + + unset patch_url_base my_patch_index mangled_patch_ver fi + S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1" diff --git a/dev-libs/mpfr/mpfr-4.2.0_p9.ebuild b/dev-libs/mpfr/mpfr-4.2.0_p9.ebuild index f622527c68cf..bcbbe69004fc 100644 --- a/dev-libs/mpfr/mpfr-4.2.0_p9.ebuild +++ b/dev-libs/mpfr/mpfr-4.2.0_p9.ebuild @@ -27,12 +27,21 @@ if [[ ${PV} == *_p* ]] ; then # - patch file names are like: patch01, patch02, ..., patch10, patch12, .. # # => name the ebuild _pN where N is the number of patches on the 'bugs' page. - for ((my_patch_index=1; my_patch_index <= MY_PATCH; my_patch_index++)); do - SRC_URI+=" $(printf "https://www.mpfr.org/${PN}-$(ver_cut 1-3)/patch%02d -> ${PN}-$(ver_cut 1-3)-patch%02d.patch " ${my_patch_index}{,})" - MY_PATCHES+=( "${DISTDIR}"/$(printf ${PN}-$(ver_cut 1-3)-patch%02d.patch ${my_patch_index}) ) + patch_url_base="https://www.mpfr.org/${MY_P}" + my_patch_index= + + for ((my_patch_index=1; my_patch_index <= MY_PATCH ; my_patch_index++)) ; do + printf -v mangled_patch_ver "patch%02d" "${my_patch_index}" + + SRC_URI+=" ${patch_url_base}/${mangled_patch_ver} -> ${MY_P}-${mangled_patch_ver}.patch" + + MY_PATCHES+=( "${DISTDIR}"/${MY_P}-${mangled_patch_ver}.patch ) done - unset my_patch_index + + unset patch_url_base my_patch_index mangled_patch_ver + fi + S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1" |