summaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0002-pkg-fix-package-scanner-to-read-whole-archive.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 17:20:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 17:20:26 +0000
commit07c18fadee65a8fc58b7794818b5feeb5be2f697 (patch)
tree4b13687a5dae078230ae2288ca56ddefd106b04f /main/apk-tools/0002-pkg-fix-package-scanner-to-read-whole-archive.patch
parent98359887534bc0f5e4f3fa7aea5eb3a8eb116d89 (diff)
downloadaports-07c18fadee65a8fc58b7794818b5feeb5be2f697.tar.bz2
aports-07c18fadee65a8fc58b7794818b5feeb5be2f697.tar.xz
main/apk-tools: removing unused patches
Diffstat (limited to 'main/apk-tools/0002-pkg-fix-package-scanner-to-read-whole-archive.patch')
-rw-r--r--main/apk-tools/0002-pkg-fix-package-scanner-to-read-whole-archive.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/main/apk-tools/0002-pkg-fix-package-scanner-to-read-whole-archive.patch b/main/apk-tools/0002-pkg-fix-package-scanner-to-read-whole-archive.patch
deleted file mode 100644
index 3609a6aa4..000000000
--- a/main/apk-tools/0002-pkg-fix-package-scanner-to-read-whole-archive.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From bfabf8f8d966ab8305212b9730db8fc5eb5e1094 Mon Sep 17 00:00:00 2001
-From: Timo Teras <timo.teras@iki.fi>
-Date: Wed, 15 Jul 2009 08:38:30 +0300
-Subject: [PATCH] pkg: fix package scanner to read whole archive
-
-otherwise we don't get chechksum anymore after the changes to
-support partial gzip checksumming.
----
- src/package.c | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/package.c b/src/package.c
-index bb37317..6c050cf 100644
---- a/src/package.c
-+++ b/src/package.c
-@@ -372,7 +372,7 @@ static int read_info_entry(void *ctx, const struct apk_file_info *ae,
- if (strcmp(ae->name, ".INSTALL") == 0) {
- apk_warning("Package '%s-%s' contains deprecated .INSTALL",
- pkg->name->name, pkg->version);
-- return 1;
-+ return 0;
- }
- } else if (strncmp(ae->name, "var/db/apk/", 11) == 0) {
- /* APK 1.0 format */
-@@ -407,7 +407,7 @@ static int read_info_entry(void *ctx, const struct apk_file_info *ae,
- ri->has_install = 1;
- } else if (ri->version == 2) {
- /* All metdata of version 2.x package handled */
-- return 1;
-+ return 0;
- } else {
- /* Version 1.x packages do not contain installed size
- * in metadata, so we calculate it here */
---
-1.6.3.3
-