[Pkg-octave-devel] Bug#740984: Manual fix
Benjamin Eltzner
b.eltzner at gmx.de
Sat Mar 8 00:00:05 UTC 2014
Hi all,
just for those who want the quickest way to get the package 3.8.0-5
installed:
# nano /usr/share/octave/3.8.0/m/pkg/private/fix_depends.m
change
'\s*(?<name>\w+)+\s*(\(\s*(?<op>[<>=]+)\s*(?<ver>\d+\.\d+(\.\d+)*)\s*\))*\s*';
to
'\s*(?<name>[-\w]+)+\s*(\(\s*(?<op>[<>=]+)\s*(?<ver>\d+\.\d+(\.\d+)*)\s*\))*\s*';
i.e. simply replace the first "\w" by "[-\w]". This explicitly allows
for hyphens in package names.
Cheers, Benjamin
More information about the Pkg-octave-devel
mailing list