From 47c1bbb749b99a35e6a2ec7d5f4a4348f4e70ce3 Mon Sep 17 00:00:00 2001 From: Freemor Date: Sat, 3 Nov 2018 09:03:19 -0300 Subject: Do git add for new files in [libre/iceweasel] oops --- libre/iceweasel/0002-Fix-triplet-two-parts.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libre/iceweasel/0002-Fix-triplet-two-parts.patch (limited to 'libre/iceweasel/0002-Fix-triplet-two-parts.patch') diff --git a/libre/iceweasel/0002-Fix-triplet-two-parts.patch b/libre/iceweasel/0002-Fix-triplet-two-parts.patch new file mode 100644 index 000000000..0c0f0c0ec --- /dev/null +++ b/libre/iceweasel/0002-Fix-triplet-two-parts.patch @@ -0,0 +1,20 @@ +--- iceweasel-61.0.2.orig/build/moz.configure/init.configure 2018-11-02 13:44:54.417972000 -0500 ++++ iceweasel-61.0.2/build/moz.configure/init.configure 2018-11-02 13:47:03.932066745 -0500 +@@ -591,7 +591,16 @@ + # There is also a quartet form: + # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM + # But we can consider the "KERNEL-OPERATING_SYSTEM" as one. +- cpu, manufacturer, os = triplet.split('-', 2) ++ # Additionally, some may omit "unknown" when the manufacturer ++ # is not specified and emit ++ # CPU_TYPE-OPERATING_SYSTEM ++ parts = triplet.split('-', 2) ++ if len(parts) == 3: ++ cpu, _, os = parts ++ elif len(parts) == 2: ++ cpu, os = parts ++ else: ++ die("Unexpected triplet string: %s" % triplet) + + # Autoconf uses config.sub to validate and canonicalize those triplets, + # but the granularity of its results has never been satisfying to our -- cgit v1.2.3