summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-07 15:17:00 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-07 15:17:00 +0000
commitf1c071cfbaf8fa91314dc62850435e7c06bf0bbd (patch)
treedfddd328b32c4f222f333c971dcfb6c4b0ec155d /math
parent14cde632653a139676185b2c65272318e633770f (diff)
downloadpkgsrc-f1c071cfbaf8fa91314dc62850435e7c06bf0bbd.tar.gz
Don't return without value in non-void function
Diffstat (limited to 'math')
-rw-r--r--math/tasp-vsipl/distinfo3
-rw-r--r--math/tasp-vsipl/patches/patch-.._src_vsip_chold_f.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/tasp-vsipl/distinfo b/math/tasp-vsipl/distinfo
index 701d931e854..c749cec2302 100644
--- a/math/tasp-vsipl/distinfo
+++ b/math/tasp-vsipl/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.9 2009/12/12 20:39:56 asau Exp $
+$NetBSD: distinfo,v 1.10 2011/12/07 15:17:00 joerg Exp $
SHA1 (tasp-vsipl/tvcpp0p8.tar.gz) = e1f0dc818458393807a7a5c6e3357305720039a8
RMD160 (tasp-vsipl/tvcpp0p8.tar.gz) = 5443143cacb6612f0454a50d210e7ffaad23b5c2
Size (tasp-vsipl/tvcpp0p8.tar.gz) = 1461591 bytes
+SHA1 (patch-.._src_vsip_chold_f.c) = 657e9b65b5451eff2bb0708a03807ccd74569d43
SHA1 (patch-aa) = 225d275620785928564b9db187fead28d535e839
SHA1 (patch-ab) = dabd2c59c5d70460e7b74405d923ccb03dae7b82
SHA1 (patch-ac) = 8f0a43973368551bbe982a75719ff3d9e79e16df
diff --git a/math/tasp-vsipl/patches/patch-.._src_vsip_chold_f.c b/math/tasp-vsipl/patches/patch-.._src_vsip_chold_f.c
new file mode 100644
index 00000000000..2ea5401e144
--- /dev/null
+++ b/math/tasp-vsipl/patches/patch-.._src_vsip_chold_f.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-.._src_vsip_chold_f.c,v 1.1 2011/12/07 15:17:00 joerg Exp $
+
+--- ../src/vsip_chold_f.c.orig 2011-12-07 14:15:23.000000000 +0000
++++ ../src/vsip_chold_f.c
+@@ -44,7 +44,7 @@ VI_cholesky_low_f(
+ vsip_scalar_f *a_kk = A->block->array + A->block->rstride *(A->offset + k * (A->row_stride + A->col_stride));
+ if(*a_kk <= 0){
+ retval++;
+- return;
++ break;
+ } else {
+ scale = sqrt((double)*a_kk);
+ }