pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/R-igraph (math/R-igraph) correct the macro define...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b4464e1e07bd
branches: trunk
changeset: 378390:b4464e1e07bd
user: mef <mef%pkgsrc.org@localhost>
date: Tue May 03 00:24:20 2022 +0000
description:
(math/R-igraph) correct the macro define for expm1l, tks tnn@
Ref:
http://mail-index.netbsd.org/pkgsrc-users/2022/05/02/msg035568.html
diffstat:
math/R-igraph/distinfo | 5 +++--
math/R-igraph/patches/patch-configure | 15 ---------------
math/R-igraph/patches/patch-src_vendor_plfit_hzeta.c | 5 +++--
3 files changed, 6 insertions(+), 19 deletions(-)
diffs (53 lines):
diff -r 5c9314ff72c0 -r b4464e1e07bd math/R-igraph/distinfo
--- a/math/R-igraph/distinfo Mon May 02 23:31:05 2022 +0000
+++ b/math/R-igraph/distinfo Tue May 03 00:24:20 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2022/04/28 15:44:47 mef Exp $
+$NetBSD: distinfo,v 1.6 2022/05/03 00:24:20 mef Exp $
BLAKE2s (R/igraph_1.3.1.tar.gz) = 86dabeb6a382153941acd99b45fc295cfc84dda328de6acc9cbb17f8b20cd412
SHA512 (R/igraph_1.3.1.tar.gz) = 3b725ca47a117501a9902e64cdb29ed5fe59bfba3b056b98a1fb4035fdd9a5f9ea274b87053ebab558e206a9def09af46e957cff0280fe6093dd9638dd3d5f71
Size (R/igraph_1.3.1.tar.gz) = 2489895 bytes
-SHA1 (patch-src_vendor_plfit_hzeta.c) = b175e674d0c19f45ee2827e573d9afe8b20aa997
+SHA1 (patch-configure) = f3f6fc7c3c877f02b9b29c9758f1ac9edb51341c
+SHA1 (patch-src_vendor_plfit_hzeta.c) = 06c895e951bc491bfb26376a4000e4204811748f
diff -r 5c9314ff72c0 -r b4464e1e07bd math/R-igraph/patches/patch-configure
--- a/math/R-igraph/patches/patch-configure Mon May 02 23:31:05 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2018/05/24 22:25:17 minskim Exp $
-
-Portability fix.
-
---- configure.orig 2018-03-10 12:30:50.000000000 +0000
-+++ configure
-@@ -3499,7 +3499,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS con
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
--if test "x$ac_cv_fc_compiler_gnu" == xyes; then
-+if test "x$ac_cv_fc_compiler_gnu" = xyes; then
-
- $as_echo "#define HAVE_GFORTRAN 1" >>confdefs.h
-
diff -r 5c9314ff72c0 -r b4464e1e07bd math/R-igraph/patches/patch-src_vendor_plfit_hzeta.c
--- a/math/R-igraph/patches/patch-src_vendor_plfit_hzeta.c Mon May 02 23:31:05 2022 +0000
+++ b/math/R-igraph/patches/patch-src_vendor_plfit_hzeta.c Tue May 03 00:24:20 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_vendor_plfit_hzeta.c,v 1.1 2022/04/28 15:44:47 mef Exp $
+$NetBSD: patch-src_vendor_plfit_hzeta.c,v 1.2 2022/05/03 00:24:20 mef Exp $
/* tweak the macro, not found in NetBSD as of 9.99.96 */
+/* corrected by tnn. thanks */
--- src/vendor/plfit/hzeta.c.orig 2022-04-20 01:23:25.000000000 +0900
+++ src/vendor/plfit/hzeta.c 2022-04-29 00:33:15.125029161 +0900
@@ -11,7 +12,7 @@
+/* tweak the macro, not found in NetBSD as of 9.99.96 */
+#ifdef __NetBSD__
+#define log1pl(x) logl(1.0f+(x))
-+#define expm1l(x) expl(x) - 1
++#define expm1l(x) (expl(x) - 1.0f)
+#endif
+
/* imported from gsl_sf_result.h */
Home |
Main Index |
Thread Index |
Old Index