d/patches: Patch out GLib.Environment.get_os_info call

parent f8e0a1cc
From 245ba7be74796b462303717522fc03162ab7a0c8 Mon Sep 17 00:00:00 2001
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Date: Mon, 14 Dec 2020 19:33:03 +0100
Subject: [PATCH] Build.vala: Patch out GLib.Environment.get_os_info call
It's not available in amber-phone.
---
src/Build.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Build.vala b/src/Build.vala
index 37690aa..2170a50 100644
--- a/src/Build.vala
+++ b/src/Build.vala
@@ -35,7 +35,7 @@ public class Build {
}
static string get_os_info (string key) {
- return GLib.Environment.get_os_info (key) ?? "Unknown";
+ return "Unknown";
}
}
--
2.30.0
001-insert-icon-search-path.patch
0001-Build.vala-Patch-out-GLib.Environment.get_os_info-ca.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment