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

[Pkg-octave-devel] Bug#740984: Manual fix



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



Reply to: