From e4b47abe2ede6381e89d1c39a28966bf80d55092 Mon Sep 17 00:00:00 2001 From: rluzuriaga Date: Fri, 24 Nov 2023 13:13:23 -0800 Subject: [PATCH] Update partclone from 0.3.20 to 0.3.27. --- ...clone-0.3.20.patch => partclone-0.3.27.patch} | 16 ++++++++-------- Buildroot/package/partclone/partclone.mk | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) rename Buildroot/package/partclone/{partclone-0.3.20.patch => partclone-0.3.27.patch} (79%) diff --git a/Buildroot/package/partclone/partclone-0.3.20.patch b/Buildroot/package/partclone/partclone-0.3.27.patch similarity index 79% rename from Buildroot/package/partclone/partclone-0.3.20.patch rename to Buildroot/package/partclone/partclone-0.3.27.patch index 647c3339..56daecc7 100644 --- a/Buildroot/package/partclone/partclone-0.3.20.patch +++ b/Buildroot/package/partclone/partclone-0.3.27.patch @@ -1,7 +1,7 @@ -diff -Nur partclone-0.3.20_original/src/progress.c partclone-0.3.20_patched/src/progress.c ---- partclone-0.3.20_original/src/progress.c 2022-04-27 01:56:42.000000000 -0500 -+++ partclone-0.3.20_patched/src/progress.c 2022-09-12 16:15:01.807055634 -0500 -@@ -193,6 +193,47 @@ +diff -Nur partclone-0.3.27_original/src/progress.c partclone-0.3.27_patched/src/progress.c +--- partclone-0.3.27_original/src/progress.c 2023-10-04 02:18:19.000000000 -0700 ++++ partclone-0.3.27_patched/src/progress.c 2023-10-25 11:47:49.162860998 -0700 +@@ -196,6 +196,47 @@ strncpy(prog_stat->Rformated, Rformated, sizeof(Rformated)+1); } @@ -49,15 +49,15 @@ diff -Nur partclone-0.3.20_original/src/progress.c partclone-0.3.20_patched/src/ /// update information at progress bar extern void progress_update(struct progress_bar *prog, unsigned long long copied, unsigned long long current, int done) { -@@ -214,6 +255,7 @@ +@@ -217,6 +258,7 @@ fprintf(stderr, _(", %6.2f%s/min,"), prog_stat.speed, prog_stat.speed_unit); if(prog->flag == IO) - fprintf(stderr, "\n\r%80c\rcurrent block: %10Lu, total block: %10Lu, Complete: %6.2f%%%s\r", clear_buf, current, prog->total, prog_stat.total_percent, "\x1b[A"); -+ fogLogStatusFile(prog, &prog_stat, current); + fprintf(stderr, _("\n\r%80c\rCurrent block: %10Lu, Total block: %10Lu, Complete: %6.2f%%%s\r"), clear_buf, current, prog->total, prog_stat.total_percent, "\x1b[A"); ++ fogLogStatusFile(prog, &prog_stat, current); } else { setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); -@@ -289,6 +331,7 @@ +@@ -294,6 +336,7 @@ wrefresh(p_win); wrefresh(bar_win); wrefresh(tbar_win); diff --git a/Buildroot/package/partclone/partclone.mk b/Buildroot/package/partclone/partclone.mk index e2110ee9..00320551 100644 --- a/Buildroot/package/partclone/partclone.mk +++ b/Buildroot/package/partclone/partclone.mk @@ -4,7 +4,7 @@ # ################################################################################ -PARTCLONE_VERSION = 0.3.20 +PARTCLONE_VERSION = 0.3.27 PARTCLONE_SOURCE = partclone-$(PARTCLONE_VERSION).tar.gz PARTCLONE_SITE = $(call github,Thomas-Tsai,partclone,$(PARTCLONE_VERSION)) PARTCLONE_INSTALL_STAGING = YES