diff --git a/srcpkgs/partclone/patches/fix-musl-PATH_MAX.patch b/srcpkgs/partclone/patches/fix-musl-PATH_MAX.patch new file mode 100644 index 00000000000..be968e89030 --- /dev/null +++ b/srcpkgs/partclone/patches/fix-musl-PATH_MAX.patch @@ -0,0 +1,26 @@ +From 63009fb8aebf0c303346c606d60d74e5fae1213c Mon Sep 17 00:00:00 2001 +From: maxice8 +Date: Mon, 29 Oct 2018 00:13:27 -0300 +Subject: [PATCH] src/main.c: add limits.h include for PATH_MAX + +fixes compilation with musl libc +--- + src/main.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/main.c b/src/main.c +index 3389f19..1cd9cfd 100644 +--- src/main.c ++++ src/main.c +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + // SHA1 for torrent info + #include +-- +2.19.1 + + diff --git a/srcpkgs/partclone/template b/srcpkgs/partclone/template index f31ffe3bbb8..2f9cc020e62 100644 --- a/srcpkgs/partclone/template +++ b/srcpkgs/partclone/template @@ -1,19 +1,20 @@ # Template file for 'partclone' pkgname=partclone -version=0.3.11 +version=0.3.12 revision=1 build_style=gnu-configure configure_args="--disable-rpath --enable-ncursesw --enable-f2fs --enable-extfs --enable-hfsp --enable-fat --enable-exfat --enable-ntfs --enable-btrfs --enable-minix --enable-nilfs2" hostmakedepends="pkg-config automake autoconf libtool" -makedepends="e2fsprogs-devel libuuid-devel ncurses-devel ntfs-3g-devel nilfs-utils-devel" +makedepends="e2fsprogs-devel libuuid-devel ncurses-devel ntfs-3g-devel + nilfs-utils-devel libressl-devel" short_desc="File system clone and restore utilities" maintainer="Juan RP " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://www.partclone.org/" distfiles="https://github.com/Thomas-Tsai/${pkgname}/archive/${version}.tar.gz" -checksum=6cf3e25bd8fa62920d7bc33f6c0f9050d831fbcaac2e6aa7212361f682310a08 +checksum=28c54554a52cfea77e99b37315b3122bf80da5b1738aee9f27673913c8179b80 CFLAGS="-DBTRFS_DISABLE_BACKTRACE" pre_configure() {