libpaper: don't write a /etc/papersize by default
this was copied from Arch, but the parsing code doesn't understand empty lines and comment lines, so I'm not sure how that is supposed to work. This led to the default papersize being the comment line which makes the lookup fail, and in combination with xpdf not checking any return values results in xpdf crashing.
This commit is contained in:
@@ -53,8 +53,4 @@ check() {
|
||||
package() {
|
||||
cd "${srcdir}"/build-${CARCH}
|
||||
make install DESTDIR="${pkgdir}"
|
||||
|
||||
# add systemwide default papersize read by many office applications
|
||||
install -dm 755 ${pkgdir}${MINGW_PREFIX}/etc
|
||||
echo '# Simply write the paper name. See papersize(5) for possible values' > ${pkgdir}${MINGW_PREFIX}/etc/papersize
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user