aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-01 22:22:08 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-02 06:58:06 +0000
commit301aee6a7e6d762454235b512c780b6060e83667 (patch)
tree3d7860a0169a94c4c5f11894a5ea2c3f90dac506 /main
parent533b67c0c98f951afbf3b4b8f1e15eb8fb735aad (diff)
downloadaports-301aee6a7e6d762454235b512c780b6060e83667.tar.bz2
aports-301aee6a7e6d762454235b512c780b6060e83667.tar.xz
main/avfs: upgrade to 1.1.2
Diffstat (limited to 'main')
-rw-r--r--main/avfs/APKBUILD12
-rw-r--r--main/avfs/fix-PATH_MAX.patch16
2 files changed, 22 insertions, 6 deletions
diff --git a/main/avfs/APKBUILD b/main/avfs/APKBUILD
index a84b931f8b..80f567e486 100644
--- a/main/avfs/APKBUILD
+++ b/main/avfs/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avfs
-pkgver=1.1.1
+pkgver=1.1.2
pkgrel=0
pkgdesc="A Virtual File System for looking into archives"
url="http://avf.sourceforge.net/"
@@ -10,10 +10,11 @@ license="GPL-2.0-or-later"
depends="bash"
makedepends="zlib-dev bzip2-dev fuse-dev zstd-dev xz-dev"
subpackages="$pkgname-dev"
-source="https://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.tar.bz2"
+source="https://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.tar.bz2
+ fix-PATH_MAX.patch
+ "
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,13 +30,12 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="0707f8e746d8d3633755b1a1efb944a400c095b517a7befd75de4d25e2fad1a1b5132b9cf94285b05ad1344bfc138ec75e9cb5f8a5d7775a69595b9b35266f92 avfs-1.1.1.tar.bz2"
+sha512sums="f54a82ed4f7f9abba3e9f02c76d3bf8693d8136010e7c628dbd82b960ea32d654f63c6e9d1237ee4bd794014a56d0cebcd4f4c3d29be8d00536fd676db3262b1 avfs-1.1.2.tar.bz2
+281d36f65652a265781e305647a4c1c8f03b851ba458a0b7d9f36119f5489f3b16337019da2b8521695c9bb5cee7ee01ef0a040453c27e1f82f51d858f4940b5 fix-PATH_MAX.patch"
diff --git a/main/avfs/fix-PATH_MAX.patch b/main/avfs/fix-PATH_MAX.patch
new file mode 100644
index 0000000000..36cdc4acac
--- /dev/null
+++ b/main/avfs/fix-PATH_MAX.patch
@@ -0,0 +1,16 @@
+Upstream: No (it is in sourceforge)
+Reason: Fixes compilation with musl libc
+
+diff --git a/modules/urar.c b/modules/urar.c
+index 206d2af..83c4660 100644
+--- a/modules/urar.c
++++ b/modules/urar.c
+@@ -16,6 +16,7 @@
+ #include "version.h"
+
+ #include <fcntl.h>
++#include <limits.h>
+ #include <unistd.h>
+
+ #define DOS_DIR_SEP_CHAR '\\'
+