[gnome-continuous] manifest: rust; do not error if ther configure parameters are not recognized



commit d62386d6e64a42eb65d773d2016ab9d996514c08
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Mar 27 14:34:08 2017 +0100

    manifest: rust; do not error if ther configure parameters are not recognized

 manifest.json               |    3 ++-
 patches/rust-buildapi.patch |   26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 08969be..306dc4c 100644
--- a/manifest.json
+++ b/manifest.json
@@ -688,7 +688,8 @@
 
                {"src": "tarball:https://static.rust-lang.org/dist/rustc-1.16.0-src.tar.gz";,
                 "name": "rust",
-                "checksum": "f966b31eb1cd9bd2df817c391a338eeb5b9253ae0a19bf8a11960c560f96e8b4"},
+                "checksum": "f966b31eb1cd9bd2df817c391a338eeb5b9253ae0a19bf8a11960c560f96e8b4",
+                "patches": ["rust-buildapi.patch"]},
 
                {"src": "gnome:librsvg",
                 "tag": "2.40.16",
diff --git a/patches/rust-buildapi.patch b/patches/rust-buildapi.patch
new file mode 100644
index 0000000..d0d6f92
--- /dev/null
+++ b/patches/rust-buildapi.patch
@@ -0,0 +1,26 @@
+From 38013dfdabcf4d294e1c5155021adee173397060 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Javier=20Jard=C3=B3n?= <jjardon gnome org>
+Date: Mon, 27 Mar 2017 14:31:55 +0100
+Subject: [PATCH] configure: Do not error if the configure option is not
+ recognized
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 505767c..c298211 100755
+--- a/configure
++++ b/configure
+@@ -174,7 +174,7 @@ validate_opt () {
+         else
+             if test $isArgValid -eq 0
+             then
+-                err "Option '$arg' is not recognized"
++                echo "Option '$arg' is not recognized"
+             fi
+         fi
+     done
+-- 
+2.12.1
+


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