annotate src/of-general-1-fixes.patch @ 4653:00e61c4a5657

fixes for package build errors due to API changes
author John W. Eaton <jwe@octave.org>
date Mon, 09 Apr 2018 12:12:44 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4653
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 diff -uNr a/src/SHA1.cc b/src/SHA1.cc
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 --- a/src/SHA1.cc 2015-05-27 11:43:57.000000000 -0400
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 +++ b/src/SHA1.cc 2018-04-09 12:09:29.175376040 -0400
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 @@ -60,8 +60,8 @@
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 hash_context c;
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 if (nargin >2 || nargin ==0) {
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 - usage("SHA1");
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 - return retval;
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 + print_usage ();
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 + return retval;
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 }
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 else if (nargin ==2 ){
00e61c4a5657 fixes for package build errors due to API changes
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 ColumnVector init( args(1).vector_value() );