public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: Build against mpfr3 and libmpc-mpfr3 so an mpfr 4.x version can be built.
Date: Mon, 29 Jun 2026 12:28:30 GMT [thread overview]
Message-ID: <178273611082.1.18050643198065291048.rpms-gcc-4c8c128cd036@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 4c8c128cd036d371de2dece9d54d11e71beb055d
Author : Jerry James <loganjerry@gmail.com>
Date : 2019-10-08T15:17:12-06:00
Stats : +11/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/4c8c128cd036d371de2dece9d54d11e71beb055d?branch=rhel-f41-base
Log:
Build against mpfr3 and libmpc-mpfr3 so an mpfr 4.x version can be built.
---
diff --git a/gcc.spec b/gcc.spec
index 9bf86a2..272cf62 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -101,7 +101,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}%{?dist}.1
+Release: %{gcc_release}%{?dist}.2
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@@ -150,7 +150,7 @@ BuildRequires: glibc-static
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, sharutils
BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man
BuildRequires: systemtap-sdt-devel >= 1.3
-BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
+BuildRequires: gmp-devel >= 4.1.2-8, mpfr3-devel >= 2.2.1, libmpc-mpfr3-devel >= 0.8.1
BuildRequires: python2-devel, python3-devel, /usr/bin/python
BuildRequires: gcc, gcc-c++
%if %{build_go}
@@ -726,7 +726,7 @@ This package contains static Go libraries.
%package plugin-devel
Summary: Support for compiling GCC plugins
Requires: gcc = %{version}-%{release}
-Requires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
+Requires: gmp-devel >= 4.1.2-8, mpfr3-devel >= 2.2.1, libmpc-mpfr3-devel >= 0.8.1
%description plugin-devel
This package contains header files and other support files
@@ -801,6 +801,11 @@ fi
# This test causes fork failures, because it spawns way too many threads
rm -f gcc/testsuite/go.test/test/chan/goroutines.go
+# Build against mpfr3 and libmpc-mpfr3 so we can build mpfr 4.x
+grep -Frl '<mpfr.h>' | xargs sed -i 's/<mpfr\.h>/<mpfr3.h>/g'
+grep -Frl '<mpc.h>' | xargs sed -i 's/<mpc\.h>/<mpc-mpfr3.h>/g'
+sed -i 's/-lmpc -lmpfr/-lmpc-mpfr3 -lmpfr3/' configure
+
%build
# Undo the broken autoconf change in recent Fedora versions
@@ -2955,6 +2960,9 @@ end
%endif
%changelog
+* Tue Oct 8 2019 Jerry James <loganjerry@gmail.com> 9.2.1-1.2
+- Build against mpfr3 and libmpc-mpfr3 so an mpfr 4.x version can be built
+
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 9.2.1-1.1
- Rebuilt for Python 3.8.0rc1 (#1748018)
reply other threads:[~2026-06-29 12:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178273611082.1.18050643198065291048.rpms-gcc-4c8c128cd036@fedoraproject.org \
--to=loganjerry@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox