svn commit: r354362 - in head/math/octave-forge-miscellaneous: . files
Stephen Montgomery-Smith
stephen at FreeBSD.org
Sat May 17 19:57:56 UTC 2014
Author: stephen
Date: Sat May 17 19:57:55 2014
New Revision: 354362
URL: http://svnweb.freebsd.org/changeset/ports/354362
QAT: https://qat.redports.org/buildarchive/r354362/
Log:
- Correction to patch: delete -> delete[].
- Bump portrevision.
Submitted by: tijl@
Modified:
head/math/octave-forge-miscellaneous/Makefile
head/math/octave-forge-miscellaneous/files/patch-partarray.cc
Modified: head/math/octave-forge-miscellaneous/Makefile
==============================================================================
--- head/math/octave-forge-miscellaneous/Makefile Sat May 17 19:50:22 2014 (r354361)
+++ head/math/octave-forge-miscellaneous/Makefile Sat May 17 19:57:55 2014 (r354362)
@@ -3,7 +3,7 @@
PORTNAME= octave-forge-miscellaneous
PORTVERSION= 1.2.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math
MAINTAINER= stephen at FreeBSD.org
Modified: head/math/octave-forge-miscellaneous/files/patch-partarray.cc
==============================================================================
--- head/math/octave-forge-miscellaneous/files/patch-partarray.cc Sat May 17 19:50:22 2014 (r354361)
+++ head/math/octave-forge-miscellaneous/files/patch-partarray.cc Sat May 17 19:57:55 2014 (r354362)
@@ -18,8 +18,8 @@
{
error ("%s: argument %i: wrong dimensions",
fname.c_str (), i + 2);
-+ delete(bidc);
-+ delete(eidc);
++ delete[](bidc);
++ delete[](eidc);
return Cell ();
}
cnidx =
@@ -29,8 +29,8 @@
}
- if (error_state)
+ if (error_state) {
-+ delete(bidc);
-+ delete(eidc);
++ delete[](bidc);
++ delete[](eidc);
return Cell ();
+ }
@@ -40,8 +40,8 @@
}
}
-+ delete(bidc);
-+ delete(eidc);
++ delete[](bidc);
++ delete[](eidc);
return retval;
}
More information about the svn-ports-head
mailing list