pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/newmat
Module Name: pkgsrc
Committed By: joerg
Date: Sat Dec 17 23:31:36 UTC 2016
Modified Files:
pkgsrc/math/newmat: distinfo
Added Files:
pkgsrc/math/newmat/patches: patch-newmat6.cpp
Log Message:
Don't check pointer sign.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/newmat/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/newmat/patches/patch-newmat6.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/newmat/distinfo
diff -u pkgsrc/math/newmat/distinfo:1.6 pkgsrc/math/newmat/distinfo:1.7
--- pkgsrc/math/newmat/distinfo:1.6 Tue Nov 3 23:33:37 2015
+++ pkgsrc/math/newmat/distinfo Sat Dec 17 23:31:35 2016
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 23:33:37 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/12/17 23:31:35 joerg Exp $
SHA1 (newmat11.tar.gz) = 6416aee99873eeda7700a6d1061bda96928068e1
RMD160 (newmat11.tar.gz) = f391ba5e97edfbf1394e8626a47416cff6cf5902
SHA512 (newmat11.tar.gz) = a1f4be3fda2f74bab88ba6b27942fb6c099a3dc802e5209942602fdffec6ac83e2a75296f548b21df2ef968b7f7a51b5fa65370e079a42bccb12e66cbf453671
Size (newmat11.tar.gz) = 247137 bytes
SHA1 (patch-aa) = 6b8a51ad193d68defef00aa817ca2d9e9b3505cd
+SHA1 (patch-newmat6.cpp) = 681be945837539bd59f583ebc6a194bd659f22a1
Added files:
Index: pkgsrc/math/newmat/patches/patch-newmat6.cpp
diff -u /dev/null pkgsrc/math/newmat/patches/patch-newmat6.cpp:1.1
--- /dev/null Sat Dec 17 23:31:36 2016
+++ pkgsrc/math/newmat/patches/patch-newmat6.cpp Sat Dec 17 23:31:35 2016
@@ -0,0 +1,15 @@
+$NetBSD: patch-newmat6.cpp,v 1.1 2016/12/17 23:31:35 joerg Exp $
+
+Check pointer for NULLness, not whether it is "positive".
+
+--- newmat6.cpp.orig 2016-12-10 15:33:44.625762128 +0000
++++ newmat6.cpp
+@@ -428,7 +428,7 @@ void CroutMatrix::operator=(const CroutM
+ {
+ if (&gm == this) { REPORT tag_val = -1; return; }
+ REPORT
+- if (indx > 0) { delete [] indx; indx = 0; }
++ if (indx) { delete [] indx; indx = 0; }
+ ((CroutMatrix&)gm).get_aux(*this);
+ Eq(gm);
+ }
Home |
Main Index |
Thread Index |
Old Index