summaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0001-lua-fix-compile-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/apk-tools/0001-lua-fix-compile-error.patch')
-rw-r--r--main/apk-tools/0001-lua-fix-compile-error.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/apk-tools/0001-lua-fix-compile-error.patch b/main/apk-tools/0001-lua-fix-compile-error.patch
new file mode 100644
index 000000000..54059f1de
--- /dev/null
+++ b/main/apk-tools/0001-lua-fix-compile-error.patch
@@ -0,0 +1,25 @@
+From 00fd7b07f12a18615da1ad32b915787f72074dfa Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
+Date: Tue, 17 Jan 2012 15:59:01 +0200
+Subject: [PATCH 1/2] lua: fix compile error
+
+---
+ src/lua-apk.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+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;
+--
+1.7.7.3
+