summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorgdt <gdt>2015-09-03 14:53:23 +0000
committergdt <gdt>2015-09-03 14:53:23 +0000
commit5f0d04a45aad9299dcd2df9e3fe6a066406b30d1 (patch)
tree6f8bc686f30bbd5fad7149d934fc79bfcef11bf1 /misc
parent025387e0b6e647153660cc0830328a1a28270fb4 (diff)
downloadpkgsrc-5f0d04a45aad9299dcd2df9e3fe6a066406b30d1.tar.gz
Fix patch to declare frexpl.
The patch was intending to insert a declaration on NetBSD before 6.99.17, but had <= instead of >= for the if to omit it. Resolves build on NetBSD 6.
Diffstat (limited to 'misc')
-rw-r--r--misc/goffice0.10/distinfo4
-rw-r--r--misc/goffice0.10/patches/patch-goffice_math_go-dtoa.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/goffice0.10/distinfo b/misc/goffice0.10/distinfo
index 3cb3652896a..2e7657aa319 100644
--- a/misc/goffice0.10/distinfo
+++ b/misc/goffice0.10/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2015/08/13 15:10:44 he Exp $
+$NetBSD: distinfo,v 1.12 2015/09/03 14:53:23 gdt Exp $
SHA1 (goffice-0.10.23.tar.xz) = cbf0bdcfb6920979057efcad0355747109fc9d9d
RMD160 (goffice-0.10.23.tar.xz) = a93dec3b10cd9c4f9501029e3d510957bcf69d30
@@ -6,6 +6,6 @@ Size (goffice-0.10.23.tar.xz) = 2356604 bytes
SHA1 (patch-gofffice_app_io-context.h) = b8aceae57a06af6873cbf0219b255ce9b9627d84
SHA1 (patch-goffice_app_error-info.h) = 6273b5d9a95bb5d45aaa9369271f7476d74f6b0a
SHA1 (patch-goffice_math_go-complex.c) = f9a7b429c04b25014f2bfa998b2ad09db8c2bcfa
-SHA1 (patch-goffice_math_go-dtoa.c) = d08bc7f76e5e8c3b41fbba2bfce6fedcfc4f5f27
+SHA1 (patch-goffice_math_go-dtoa.c) = 2eb8b9371572304b502ba96cecfa422000fd72e0
SHA1 (patch-goffice_math_go-matrix.c) = 3d7be1540defaefbd2facc2c85b31938e0c5cac0
SHA1 (patch-goffice_utils_go-glib-extras.c) = ed27e08c67a9341a43f24a23a1f97c4851d8cd3d
diff --git a/misc/goffice0.10/patches/patch-goffice_math_go-dtoa.c b/misc/goffice0.10/patches/patch-goffice_math_go-dtoa.c
index e724335763b..9415487eede 100644
--- a/misc/goffice0.10/patches/patch-goffice_math_go-dtoa.c
+++ b/misc/goffice0.10/patches/patch-goffice_math_go-dtoa.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-goffice_math_go-dtoa.c,v 1.1 2015/08/04 11:58:51 he Exp $
+$NetBSD: patch-goffice_math_go-dtoa.c,v 1.2 2015/09/03 14:53:23 gdt Exp $
Ensure frexpl() is declared on NetBSD before 6.99.17.
@@ -9,7 +9,7 @@ Ensure frexpl() is declared on NetBSD before 6.99.17.
#endif
+#if defined(__NetBSD__)
-+#if (__NetBSD_Version__ <= 699001700)
++#if (__NetBSD_Version__ >= 699001700)
+/* in <math.h> in newer NetBSDs, should already be included */
+#else
+extern long double frexpl(long double, int*);