Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pkgsrc-2015Q1
Revision 1.40 / (download) - annotate - [select for diffs], Thu Jan 22 18:15:39 2015 UTC (9 years, 2 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1
Changes since 1.39: +330 -116
lines
Diff to previous 1.39 (colored)
Add AC_SYS_LARGEFILE to files/configure.ac Given that libarchive is built with large file support, pkg_install needs it too. Otherwise libarchive and pkg_install may see different definitions of types such as struct stat, resulting in a runtime failure on some platforms (especially Darwin 9): % bmake package => Creating binary package /usr/pkgsrc/pkgtools/pkg_install/work/.packages/pkg_install-20141227.tgz pkg_create: cannot write to archive: tar format cannot archive this (type=00) The reason why this was unnoticed until now is that libarchive's "configure" has just been regenerated with Autoconf 2.69. Prior to 2.69, AC_SYS_LARGEFILE did nothing significant on Darwin so there was no actual inconsistency between libarchive and pkg_install, which was just coincidental.