From 70526019bc040699a740fcb52fcf96a6ab318493 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 25 Jul 2017 19:30:00 +0200 Subject: main/lua-aports: upgrade to 0.6.0 --- .../0001-pkg-support-arch-arch-syntax.patch | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 main/lua-aports/0001-pkg-support-arch-arch-syntax.patch (limited to 'main/lua-aports/0001-pkg-support-arch-arch-syntax.patch') 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?= -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 - -- cgit v1.2.3