help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: char to int conversion problem


From: Alessandro Brezzi
Subject: Re: char to int conversion problem
Date: Mon, 30 Apr 2007 15:02:24 +0200

David,

2007/4/29, David Bateman <address@hidden>:
Try the attached patch, it works for me :-)... Note that with "" it
worked before in any case..


I've tried without success to apply the patch to the SRPM (Fedora Core 6); after putting your patch in the SOURCES directory and having modified the octave.spec to point to the saved patch, the rpmbuild -ba return:

Patch #0 (octave-2007.04.29.david.patch):
+ patch -p0 -s
1 out of 2 hunks FAILED -- saving rejects to file ./src/OPERATORS/op-int-conv.cc.rej

This is what I've in the op-int-conv.cc.rej:

***************
*** 188,195 ****
   INSTALL_CONVOPS (bool)
   INSTALL_CONVOPS (bool_matrix)
   INSTALL_CONVOPS (range)
!   INSTALL_CONVOPS (char_matrix_sq_str)
!   INSTALL_CONVOPS (char_matrix_dq_str)

   INSTALL_INT_CONV_FUNCTIONS (int8)
   INSTALL_INT_CONV_FUNCTIONS (int16)
--- 178,184 ----
   INSTALL_CONVOPS (bool)
   INSTALL_CONVOPS (bool_matrix)
   INSTALL_CONVOPS (range)
!   INSTALL_CONVOPS (char_matrix_str)

   INSTALL_INT_CONV_FUNCTIONS (int8)
   INSTALL_INT_CONV_FUNCTIONS (int16)

What is wrong? The Fedora Core6 Extra source RPM is octave.2.9.9

Thanks in advance

--
Alessandro Brezzi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]