mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 06:49:18 -04:00
- fixes for octave 4.0 - fixes for netpbm - submitter becomes maintainer PR: 206239 Submitted by: Iouri V. Ivliev <fbsd@any.COM.ru> Approved by: darius@dons.net.au (maintainer)
20 lines
726 B
C++
20 lines
726 B
C++
--- src/octave/pfsopen.cpp.orig 2016-02-12 17:10:27 UTC
|
|
+++ src/octave/pfsopen.cpp
|
|
@@ -137,7 +137,7 @@ DEFUN_DLD( pfsopen, args, , helpString)
|
|
}
|
|
}
|
|
|
|
- Octave_map pfsStream;
|
|
+ octave_map pfsStream;
|
|
pfsStream.assign( "FH", octave_value((double)((long)fh)) );
|
|
pfsStream.assign( "MODE", writeMode ? octave_value("W") : octave_value("R") );
|
|
pfsStream.assign( "EOF", octave_value(false) );
|
|
@@ -145,7 +145,7 @@ DEFUN_DLD( pfsopen, args, , helpString)
|
|
if( writeMode ) {
|
|
pfsStream.assign( "columns", octave_value(width) );
|
|
pfsStream.assign( "rows", octave_value(height) );
|
|
- Octave_map channels;
|
|
+ octave_map channels;
|
|
pfsStream.assign( "channels", octave_value(channels) );
|
|
}
|
|
|