aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch')
-rw-r--r--main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch b/main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch
new file mode 100644
index 0000000000..a67547116d
--- /dev/null
+++ b/main/lua-aports/0001-db-fix-split_deps-to-support-fuzzy-operator.patch
@@ -0,0 +1,25 @@
+From 10d9b456afb0f9eba3c24a68b2861f94dc129e07 Mon Sep 17 00:00:00 2001
+From: Jakub Jirutka <jakub@jirutka.cz>
+Date: Sun, 5 Aug 2018 12:12:00 +0200
+Subject: [PATCH] db: fix split_deps() to support fuzzy operator ~
+
+---
+ aports/db.lua | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/aports/db.lua b/aports/db.lua
+index 90dbeef..bb7e136 100644
+--- a/aports/db.lua
++++ b/aports/db.lua
+@@ -23,7 +23,7 @@ local function split_deps(str)
+ return nil
+ end
+ for e in string.gmatch(str, "%S+") do
+- t[#t + 1] = string.gsub(e, "[=<>].*", "")
++ t[#t + 1] = string.gsub(e, "[=<>~].*", "")
+ end
+ return t
+ end
+--
+2.16.4
+