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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to