From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2AAE158086 for ; Sun, 7 Nov 2021 18:29:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB03FE0A82; Sun, 7 Nov 2021 18:29:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8BC3E0A82 for ; Sun, 7 Nov 2021 18:29:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 636A5343093 for ; Sun, 7 Nov 2021 18:29:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9D9313F for ; Sun, 7 Nov 2021 18:29:47 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1636309770.01b37fc251ee234dec9c6c63ab6fad1e8a5626ef.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mpfr/, dev-libs/mpfr/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/mpfr/files/mpfr-4.1.0_p13-revert-doc-changes-patch10.patch dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild X-VCS-Directories: dev-libs/mpfr/ dev-libs/mpfr/files/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 01b37fc251ee234dec9c6c63ab6fad1e8a5626ef X-VCS-Branch: master Date: Sun, 7 Nov 2021 18:29:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 065e3190-2dd7-41fe-8e02-caad9bfab102 X-Archives-Hash: b4c72ff5e3b60185aecf11f9443f72c3 commit: 01b37fc251ee234dec9c6c63ab6fad1e8a5626ef Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Nov 7 18:29:30 2021 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Nov 7 18:29:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b37fc2 dev-libs/mpfr: Don't call makeinfo, forbidden during bootstrap Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel gentoo.org> ...mpfr-4.1.0_p13-revert-doc-changes-patch10.patch | 105 --------------------- dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild | 13 ++- 2 files changed, 9 insertions(+), 109 deletions(-) diff --git a/dev-libs/mpfr/files/mpfr-4.1.0_p13-revert-doc-changes-patch10.patch b/dev-libs/mpfr/files/mpfr-4.1.0_p13-revert-doc-changes-patch10.patch deleted file mode 100644 index 304cc27f3fa..00000000000 --- a/dev-libs/mpfr/files/mpfr-4.1.0_p13-revert-doc-changes-patch10.patch +++ /dev/null @@ -1,105 +0,0 @@ -From: Sam James -Date: Sat, 6 Nov 2021 00:34:22 +0000 -Subject: [PATCH] Revert doc changes from mpfr-4.1.0-patch10 - -We don't want to invoke texinfo via maintainer-mode because -of some (somewhat minor) changes to the manual from patch10. - -See: https://archives.gentoo.org/gentoo-releng-autobuilds/message/c2dd39fc4ebc849db6bb0f551739e2ed -Signed-off-by: Sam James ---- - doc/mpfr.info | 46 +++++++++++++++++++++------------------------- - doc/mpfr.texi | 6 ------ - 2 files changed, 21 insertions(+), 31 deletions(-) - -diff --git a/doc/mpfr.info b/doc/mpfr.info -index 062c0c4..264896d 100644 ---- a/doc/mpfr.info -+++ b/doc/mpfr.info -@@ -3217,11 +3217,7 @@ destroying, garbaging) is left to the application. - - Each function in this interface is also implemented as a macro for - efficiency reasons: for example ‘mpfr_custom_init (s, p)’ uses the --macro, while ‘(mpfr_custom_init) (s, p)’ uses the function. Note that --the macro may evaluate arguments multiple times (or none). Moreover, --macros implementing functions with the ‘void’ return type may not be --used in contexts where an expression is expected, e.g., inside --‘for(...)’ or before a comma operator. -+macro, while ‘(mpfr_custom_init) (s, p)’ uses the function. - - Note 1: MPFR functions may still initialize temporary floating-point - numbers using ‘mpfr_init’ and similar functions. See Custom Allocation -@@ -4583,13 +4579,13 @@ Function and Type Index - (line 115) - * mpfr_csch: Transcendental Functions. - (line 180) --* mpfr_custom_get_exp: Custom Interface. (line 80) --* mpfr_custom_get_kind: Custom Interface. (line 70) --* mpfr_custom_get_significand: Custom Interface. (line 75) --* mpfr_custom_get_size: Custom Interface. (line 41) --* mpfr_custom_init: Custom Interface. (line 45) --* mpfr_custom_init_set: Custom Interface. (line 52) --* mpfr_custom_move: Custom Interface. (line 89) -+* mpfr_custom_get_exp: Custom Interface. (line 76) -+* mpfr_custom_get_kind: Custom Interface. (line 66) -+* mpfr_custom_get_significand: Custom Interface. (line 71) -+* mpfr_custom_get_size: Custom Interface. (line 37) -+* mpfr_custom_init: Custom Interface. (line 41) -+* mpfr_custom_init_set: Custom Interface. (line 48) -+* mpfr_custom_move: Custom Interface. (line 85) - * MPFR_DECL_INIT: Initialization Functions. - (line 77) - * mpfr_digamma: Transcendental Functions. -@@ -5169,19 +5165,19 @@ Node: Exception Related Functions145661 - Node: Memory Handling Functions155904 - Node: Compatibility with MPF157792 - Node: Custom Interface160961 --Node: Internals165852 --Node: API Compatibility167396 --Node: Type and Macro Changes169344 --Node: Added Functions172527 --Node: Changed Functions177334 --Node: Removed Functions184693 --Node: Other Changes185423 --Node: MPFR and the IEEE 754 Standard187124 --Node: Contributors189741 --Node: References192880 --Node: GNU Free Documentation License194761 --Node: Concept Index217355 --Node: Function and Type Index223428 -+Node: Internals165592 -+Node: API Compatibility167136 -+Node: Type and Macro Changes169084 -+Node: Added Functions172267 -+Node: Changed Functions177074 -+Node: Removed Functions184433 -+Node: Other Changes185163 -+Node: MPFR and the IEEE 754 Standard186864 -+Node: Contributors189481 -+Node: References192620 -+Node: GNU Free Documentation License194501 -+Node: Concept Index217095 -+Node: Function and Type Index223168 -  - End Tag Table - -diff --git a/doc/mpfr.texi b/doc/mpfr.texi -index b26555a..54b6aa8 100644 ---- a/doc/mpfr.texi -+++ b/doc/mpfr.texi -@@ -3817,12 +3817,6 @@ to the application. - Each function in this interface is also implemented as a macro for - efficiency reasons: for example @code{mpfr_custom_init (s, p)} - uses the macro, while @code{(mpfr_custom_init) (s, p)} uses the function. --Note that the macro may evaluate arguments multiple times (or none). --Moreover, macros implementing functions with the @code{void} return type --may not be used in contexts where an expression is expected, e.g., inside --@code{for(...)} or before a comma operator. --@c These limitations with macros cannot be avoided in a C90 compatible way. --@c In the future, inline functions could be used. - - Note 1: MPFR functions may still initialize temporary floating-point numbers - using @code{mpfr_init} and similar functions. See Custom Allocation (GNU MP)@. --- -2.33.1 - 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 5907ed5bf1a..14639036b47 100644 --- a/dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild +++ b/dev-libs/mpfr/mpfr-4.1.0_p13-r1.ebuild @@ -47,14 +47,19 @@ PATCHES=() if [[ ${PV} == *_p* ]] ; then # Apply the upstream patches released out of band PATCHES+=( "${DISTDIR}"/ ) - - # One-off partial revert of 4.1.0_p13's patch10 - # Won't be needed on next release. - PATCHES+=( "${FILESDIR}"/${P}-revert-doc-changes-patch10.patch ) fi HTML_DOCS=( doc/FAQ.html ) +src_prepare() { + default + + # 4.1.0_p13's patch10 patches a .texi file *and* the corresponding + # info file. We need to make sure the info file is newer, so the + # build doesn't try to run makeinfo. Won't be needed on next release. + touch "${S}/doc/mpfr.info" || die +} + multilib_src_configure() { # bug 476336#19 # Make sure mpfr doesn't go probing toolchains it shouldn't