Return to patch-src_mpfr.h CVS log | Up to [cvs.NetBSD.org] / pkgsrc / math / mpfr / patches |

File: [cvs.NetBSD.org] / pkgsrc / math / mpfr / patches / Attic / patch-src_mpfr.h (download)
Revision (math/mpfr) Adding official patch mpfr-4.1.1 to 4.1.1p openscad-2021.01nb13 failed with math/mpfr-4.1.1 http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20221123.2254/openscad-2021.01nb13/build.log For this problem and as well as https://github.com/CGAL/cgal/issues/7064 patch is supplied at https://www.mpfr.org/mpfr-4.1.1/patch01 and patches are one of the pieces: for file to file from above. See also: http://mail-index.netbsd.org/pkgsrc-users/2022/11/26/msg036540.html openscad has PKGREVISION++ because of icu update almost at the same time, and not packaged since then, so no PKGREVISION++ is necessary, (OK ?) |

$NetBSD: patch-src_mpfr.h,v 1.1 2022/11/27 03:17:13 mef Exp $ openscad-2021.01nb13 failed with math/mpfr-4.1.1 patch is supplied at https://www.mpfr.org/mpfr-4.1.1/patch01 and this is one of piece for file to file from above See: http://mail-index.netbsd.org/pkgsrc-users/2022/11/26/msg036540.html --- mpfr-4.1.1-a/src/mpfr.h 2022-11-17 13:28:44.000000000 +0000 +++ ./src/mpfr.h 2022-11-23 11:45:26.840475978 +0000 @@ -27,7 +27,7 @@ #define MPFR_VERSION_MAJOR 4 #define MPFR_VERSION_MINOR 1 #define MPFR_VERSION_PATCHLEVEL 1 -#define MPFR_VERSION_STRING "4.1.1" +#define MPFR_VERSION_STRING "4.1.1-p1" /* User macros: MPFR_USE_FILE: Define it to make MPFR define functions dealing @@ -1027,7 +1027,7 @@ #if __GNUC__ > 2 || __GNUC_MINOR__ >= 95 #define mpfr_custom_get_kind(x) \ __extension__ ({ \ - mpfr_ptr _x = (x); \ + mpfr_srcptr _x = (x); \ _x->_mpfr_exp > __MPFR_EXP_INF ? \ (mpfr_int) MPFR_REGULAR_KIND * MPFR_SIGN (_x) \ : _x->_mpfr_exp == __MPFR_EXP_INF ? \