summaryrefslogtreecommitdiffstats
path: root/main/apk-tools/fix-lua-apk.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-01-17 15:58:16 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-01-17 15:58:29 +0200
commit4546ec4b1aa5562ea7e21511bb31c610cf2d9f76 (patch)
treeb7679731e3efbfe734909fb9c19270e98f4b76d6 /main/apk-tools/fix-lua-apk.patch
parent0c5d885357a0c9be9336a6153aeb5a4c694ac5eb (diff)
downloadaports-4546ec4b1aa5562ea7e21511bb31c610cf2d9f76.tar.bz2
aports-4546ec4b1aa5562ea7e21511bb31c610cf2d9f76.tar.xz
main/apk-tools: upgrade to 2.2.3
Diffstat (limited to 'main/apk-tools/fix-lua-apk.patch')
-rw-r--r--main/apk-tools/fix-lua-apk.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/apk-tools/fix-lua-apk.patch b/main/apk-tools/fix-lua-apk.patch
new file mode 100644
index 000000000..0c13e815b
--- /dev/null
+++ b/main/apk-tools/fix-lua-apk.patch
@@ -0,0 +1,13 @@
+diff --git a/src/lua-apk.c b/src/lua-apk.c
+index 6fbd1cf..45488c2 100644
+--- a/src/lua-apk.c
++++ b/src/lua-apk.c
+@@ -208,7 +208,7 @@ static int Papk_exists(lua_State *L)
+ apk_blob_t blob = APK_BLOB_STR(depstr);
+ apk_blob_pull_dep(&blob, db, &dep);
+
+- if (APK_BLOB_IS_NULL(blob) || b.len > 0)
++ if (APK_BLOB_IS_NULL(blob) || blob.len > 0)
+ goto ret_nil;
+
+ name = dep.name;