aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-aports/0001-pkg-support-arch-arch-syntax.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-25 19:30:00 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-25 19:33:15 +0200
commit70526019bc040699a740fcb52fcf96a6ab318493 (patch)
tree0bde6574f61a609ad1d2560978d03c68ee65c7ee /main/lua-aports/0001-pkg-support-arch-arch-syntax.patch
parent57242e7c51d6c643034f5dd8ca60fe1c96ee5cb9 (diff)
downloadaports-70526019bc040699a740fcb52fcf96a6ab318493.tar.bz2
aports-70526019bc040699a740fcb52fcf96a6ab318493.tar.xz
main/lua-aports: upgrade to 0.6.0
Diffstat (limited to 'main/lua-aports/0001-pkg-support-arch-arch-syntax.patch')
-rw-r--r--main/lua-aports/0001-pkg-support-arch-arch-syntax.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/main/lua-aports/0001-pkg-support-arch-arch-syntax.patch b/main/lua-aports/0001-pkg-support-arch-arch-syntax.patch
deleted file mode 100644
index 65268483da..0000000000
--- a/main/lua-aports/0001-pkg-support-arch-arch-syntax.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d2e111262470976b190d6f9aabed0ebf3afe2cb9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
-Date: Mon, 25 Jul 2016 13:15:20 +0300
-Subject: [PATCH] pkg: support arch="!arch" syntax
-
----
- aports/pkg.lua | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/aports/pkg.lua b/aports/pkg.lua
-index b99bf68..f21f352 100644
---- a/aports/pkg.lua
-+++ b/aports/pkg.lua
-@@ -91,7 +91,7 @@ function M.all_apks_exists(pkg)
- end
-
- function M.arch_enabled(pkg)
-- return pkg.arch.all or pkg.arch.noarch or pkg.arch[abuild.arch]
-+ return not pkg.arch["!"..abuild.arch] and (pkg.arch.all or pkg.arch.noarch or pkg.arch[abuild.arch])
- end
-
- function M.libc_enabled(pkg)
---
-2.9.3
-