diff options
| author | Timo Teräs <timo.teras@iki.fi> | 2012-01-20 11:45:48 +0200 |
|---|---|---|
| committer | Timo Teräs <timo.teras@iki.fi> | 2012-01-20 11:45:48 +0200 |
| commit | c73effbe1823cd37af9fe647cdc4d133ba0429cb (patch) | |
| tree | efb0216f39592cc705eb2073ae74ca95662e83cd /main/apk-tools/0001-lua-fix-compile-error.patch | |
| parent | 14fe40fd6c7831a489afdce377a7a1acdd69bd09 (diff) | |
| download | aports-c73effbe1823cd37af9fe647cdc4d133ba0429cb.tar.bz2 aports-c73effbe1823cd37af9fe647cdc4d133ba0429cb.tar.xz | |
main/apk-tools: cherry-pick a regression fix from upstream
Diffstat (limited to 'main/apk-tools/0001-lua-fix-compile-error.patch')
| -rw-r--r-- | main/apk-tools/0001-lua-fix-compile-error.patch | 25 |
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 0000000000..54059f1ded --- /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 + |
