[gnome-boxes/bochecha/flatpak: 2/2] flatpak: Fix the build on Aarch64



commit 84efe112d1601365b1e3249c2e3663bd84821162
Author: Mathieu Bridon <bochecha daitauha fr>
Date:   Mon Oct 8 16:06:21 2018 +0200

    flatpak: Fix the build on Aarch64
    
    The mtools release is old and predates the Aarch64 support in the
    autotools.
    
    As a result, the included config.{guess,sub} files do not know about the
    Aarch64 architecture, and the build fails.
    
    This commit takes some newer config.{guess,sub} files which the Sdk
    helpfully provides for exactly this purpose.

 build-aux/flatpak/org.gnome.Boxes.json | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Boxes.json b/build-aux/flatpak/org.gnome.Boxes.json
index 860b8df5..7b8307ee 100644
--- a/build-aux/flatpak/org.gnome.Boxes.json
+++ b/build-aux/flatpak/org.gnome.Boxes.json
@@ -33,7 +33,6 @@
             "name" : "mtools",
             "buildsystem" : "autotools",
             "config-opts" : ["--disable-static"],
-            "rm-configure" : true,
             "sources" : [
                 {
                     "type" : "archive",
@@ -41,10 +40,10 @@
                     "sha256" : "59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85"
                 },
                 {
-                    "type" : "script",
-                    "dest-filename" : "autogen.sh",
-                    "commands" : [
-                        "AUTOMAKE=\"automake --foreign\" autoreconf -vfi"
+                    "type": "shell",
+                    "commands": [
+                        "cp -f /usr/share/gnu-config/config.sub .",
+                        "cp -f /usr/share/gnu-config/config.guess ."
                     ]
                 }
             ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]