Commit 821195016e634a6bf0814cdb6a6f04a07f0926d4

Werner Lemberg 2014-12-11T22:27:06

* 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 <sfisher@SDF.ORG>.

diff --git a/ChangeLog b/ChangeLog
index 67b9e5a..e10444f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2014-12-11  Werner Lemberg  <wl@gnu.org>
 
+	* 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 <sfisher@SDF.ORG>.
+
+2014-12-11  Werner Lemberg  <wl@gnu.org>
+
 	* src/type42/t42parse.c (t42_parse_sfnts): Reject invalid TTF size.
 
 2014-12-11  Werner Lemberg  <wl@gnu.org>
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index 812750a..78983f8 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.