OK, it turns out not to be as bad to build as I feared. This fixes the segv due to ppd_filename not containing a slash (though basename is only used in the commented-out following printf). It's from a Debian or Ubuntu patch that's not mentioned in changelog. -- adding or preferences crash https://launchpad.net/bugs/43416