SHA256
3
0
forked from pool/mpc

Accepting request 1043774 from devel:libraries:c_c++

mpc 1.3.1 (forwarded request 1043470 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1043774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpc?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2022-12-21 15:05:44 +00:00 committed by Git OBS Bridge
commit f7492d87cc
7 changed files with 12 additions and 31 deletions

View File

@ -1,18 +0,0 @@
--- mpc-1.3.0/src/mpc.h.orig 2022-12-15 09:08:32.007095010 +0100
+++ mpc-1.3.0/src/mpc.h 2022-12-15 09:08:46.935285335 +0100
@@ -270,6 +270,7 @@
__MPC_DECLSPEC int mpc_inp_str (mpc_ptr, FILE *, size_t *, int, mpc_rnd_t);
__MPC_DECLSPEC size_t mpc_out_str (FILE *, int, size_t, mpc_srcptr, mpc_rnd_t);
__MPC_DECLSPEC void mpcb_out_str (FILE *f, mpcb_srcptr);
+__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r);
#endif
__MPC_DECLSPEC int mpcr_inf_p (mpcr_srcptr r);
@@ -284,7 +285,6 @@
int64_t exp);
__MPC_DECLSPEC void mpcr_max (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t);
__MPC_DECLSPEC int64_t mpcr_get_exp (mpcr_srcptr r);
-__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r);
__MPC_DECLSPEC void mpcr_mul (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t);
__MPC_DECLSPEC void mpcr_mul_2ui (mpcr_ptr r, mpcr_srcptr s,
unsigned long int e);

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e3b12181d37207230f5a7a7ddcfc22abfc5fc9c05825e1a65401a489a432a2a
size 773441

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iIwEABEIADQWIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCY5NESxYcYW5kcmVhcy5l
bmdlQGlucmlhLmZyAAoJEPfVyb92XGHjlmAA/igLVZ+PPjCbrEl+HPSVWFTUsoiL
SKT14TYZr3B4+QbfAQCJxlx3R74vhYp68a296WlPGdrzkftiTSvdmDNwBroAXA==
=xdoJ
-----END PGP SIGNATURE-----

BIN
mpc-1.3.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
mpc-1.3.1.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Dec 17 17:12:27 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to version 1.3.1:
* Bug fix: It is again possible to include mpc.h without
including stdio.h.
- drop mpc-1.3.0-gmpdep.patch
-------------------------------------------------------------------
Thu Dec 15 08:09:45 UTC 2022 - Richard Biener <rguenther@suse.com>

View File

@ -17,7 +17,7 @@
Name: mpc
Version: 1.3.0
Version: 1.3.1
Release: 0
Summary: multiple-precision complex shared library
License: LGPL-3.0-or-later
@ -27,7 +27,6 @@ Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source3: baselibs.conf
Patch: mpc-1.3.0-gmpdep.patch
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gmp) >= 5.0.0
BuildRequires: pkgconfig(mpfr) >= 4.1.0
@ -60,7 +59,6 @@ MPC multiple-precision complex library development files.
%prep
%setup -q
%patch -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects