From 821195016e634a6bf0814cdb6a6f04a07f0926d4 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 11 Dec 2014 22:27:06 +0100 Subject: [PATCH] * builds/toplevel.mk (dist): Use older POSIX standard for `tar'. Apparently, BSD tar isn't capable yet of handling POSIX-1.2001 (contrary to GNU tar), so force the POSIX-1.1988 format. Problem reported by Stephen Fisher . --- ChangeLog | 9 +++++++++ builds/toplevel.mk | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 67b9e5a2c..e10444f99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2014-12-11 Werner Lemberg + + * builds/toplevel.mk (dist): Use older POSIX standard for `tar'. + + Apparently, BSD tar isn't capable yet of handling POSIX-1.2001 + (contrary to GNU tar), so force the POSIX-1.1988 format. + + Problem reported by Stephen Fisher . + 2014-12-11 Werner Lemberg * src/type42/t42parse.c (t42_parse_sfnts): Reject invalid TTF size. diff --git a/builds/toplevel.mk b/builds/toplevel.mk index 812750ac5..78983f82f 100644 --- a/builds/toplevel.mk +++ b/builds/toplevel.mk @@ -220,9 +220,9 @@ dist: mv tmp freetype-$(version) - tar cfh - freetype-$(version) \ + tar -H ustar -cfh - freetype-$(version) \ | gzip -9 -c > freetype-$(version).tar.gz - tar cfh - freetype-$(version) \ + tar -H ustar -cfh - freetype-$(version) \ | bzip2 -c > freetype-$(version).tar.bz2 @# Use CR/LF for zip files.