partclone: update to 0.3.20.

This commit is contained in:
Đoàn Trần Công Danh 2022-12-03 14:59:53 +07:00
parent f370dea8e2
commit 569ffa13e5
2 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,24 @@
Index: partclone-0.3.20/src/f2fs/libf2fs.c
===================================================================
--- partclone-0.3.20.orig/src/f2fs/libf2fs.c
+++ partclone-0.3.20/src/f2fs/libf2fs.c
@@ -22,7 +22,6 @@
#include <sys/mount.h>
#include <sys/ioctl.h>
#include <linux/hdreg.h>
-#include <linux/fs.h>
#include "f2fs_fs.h"
Index: partclone-0.3.20/src/partclone.c
===================================================================
--- partclone-0.3.20.orig/src/partclone.c
+++ partclone-0.3.20/src/partclone.c
@@ -37,7 +37,6 @@
#include <inttypes.h>
#include <assert.h>
#include "gettext.h"
-#include <linux/fs.h>
#include <sys/types.h>
#include <dirent.h>
#define _(STRING) gettext(STRING)

View file

@ -1,6 +1,6 @@
# Template file for 'partclone'
pkgname=partclone
version=0.3.19
version=0.3.20
revision=1
build_style=gnu-configure
configure_args="--disable-rpath --enable-ncursesw --enable-f2fs
@ -14,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://partclone.org/"
distfiles="https://github.com/Thomas-Tsai/partclone/archive/refs/tags/${version}.tar.gz"
checksum=e15e399297b8efd74a4fd19f3caca28e5c1772b051acf7fc311f3c86296bcda4
checksum=a32102452fed7b516494adc98e1bc3b6dbb3a0044f7e84b35ad104ec9277c550
CFLAGS="-DBTRFS_DISABLE_BACKTRACE"
pre_configure() {