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 16:29:15 +0200

Hi Quentin,

2007/4/30, Quentin Spencer <address@hidden>:
David Bateman wrote:

The octave-2.9.9 in Fedora 6 is unpatched. I tried the patch and it
worked for me. I saved it as octave-2.9.9.patch, and used the following
modifications to the .spec file:

I've copied your diff and used against the original octave.spec; this give  the following :
Name:           octave
Version:        2.9.9
Release:        2%{?dist}
...
Patch:          octave-2.9.9.patch
...
%prep
%setup -q
%patch -p0
...

And then, rpmbuild -ba octave.spec result in
+ echo 'Patch #0 (octave-2.9.9.patch):'
Patch #0 (octave-2.9.9.patch):
+ patch -p0 -s
1 out of 2 hunks FAILED -- saving rejects to file ./src/OPERATORS/op- int-conv.cc.rej

This is my op-int-conv.cc.rej (without patch, ofcourse):
***************
*** 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)

Is this equal to your? I've downloaded today the SRPM from heanet.ie, dated 04-Oct-2006 17:27, size 6.7M
Should I replace the .rej in the tar.bz2 with David version?

Thanks in advance
Alessandro Brezzi

reply via email to

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