Add upstream patch to fix calling undefined import method

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
This commit is contained in:
Damian Wrobel 2026-03-21 09:57:49 +01:00
commit 5e4e607774
2 changed files with 47 additions and 1 deletions

View file

@ -0,0 +1,39 @@
From e9370da546e97a4cd21836f4d978d80ef5379cb6 Mon Sep 17 00:00:00 2001
From: Damian Wrobe <dwrobel@ertelnet.rybnik.pl>
Date: Sat, 21 Mar 2026 10:41:04 +0100
Subject: [PATCH] Remove undefined import method BPC_DT_ALL #536
---
bin/BackupPC_nightly | 2 +-
bin/BackupPC_rrdUpdate | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/BackupPC_nightly b/bin/BackupPC_nightly
index dc00eab..5857a7c 100755
--- a/bin/BackupPC_nightly
+++ b/bin/BackupPC_nightly
@@ -86,7 +86,7 @@ use strict;
no utf8;
use lib "__INSTALLDIR__/lib";
-use BackupPC::Lib qw( :BPC_DT_ALL );
+use BackupPC::Lib;
use BackupPC::XS;
use BackupPC::DirOps;
use Getopt::Std;
diff --git a/bin/BackupPC_rrdUpdate b/bin/BackupPC_rrdUpdate
index ed99416..3c48f21 100755
--- a/bin/BackupPC_rrdUpdate
+++ b/bin/BackupPC_rrdUpdate
@@ -39,7 +39,7 @@ use strict;
no utf8;
use lib "__INSTALLDIR__/lib";
-use BackupPC::Lib qw( :BPC_DT_ALL );
+use BackupPC::Lib;
use File::Path;
use Data::Dumper;
our(%Info);
--
2.49.0

View file

@ -10,7 +10,7 @@
Name: BackupPC
Version: 4.4.0
Release: 22%{?dist}
Release: 23%{?dist}
Summary: High-performance backup system
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@ -30,6 +30,10 @@ Source8: apache.users
Patch0: BackupPC-4.1.3-docfix.patch
# Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2091514
Patch1: https://github.com/backuppc/backuppc/commit/2c9270b9b849b2c86ae6301dd722c97757bc9256.patch
# Fixes https://github.com/backuppc/backuppc/issues/536
# See also: https://sourceforge.net/p/backuppc/mailman/backuppc-users/thread/78CC8638-454D-4487-9C9E-5B88DEC665E3%40icloud.com/#msg58851936
# Remove for >=4.4.1
Patch2: 0001-Remove-undefined-import-method-BPC_DT_ALL-536.patch
BuildRequires: gcc
BuildRequires: perl-generators
@ -337,6 +341,9 @@ fi
%changelog
* Sat Mar 21 2026 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 4.4.0-23
- Add upstream patch to fix calling undefined import method
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild