amanda/amanda-3.3.9-hash-permission.patch
Petr Šabata 6812403bf9 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/amanda#10289d7db32e16b62259537a3af7ba8348583718
2020-10-14 21:36:00 +02:00

14 lines
401 B
Diff

diff --git a/perl/Amanda/Config/FoldingHash.pm b/perl/Amanda/Config/FoldingHash.pm
index 49c278d..db11e81 100644
--- a/perl/Amanda/Config/FoldingHash.pm
+++ b/perl/Amanda/Config/FoldingHash.pm
@@ -1,6 +1,7 @@
package Amanda::Config::FoldingHash;
use Tie::Hash;
-use base 'Tie::StdHash';
+eval {require 'Tie::StdHash';};
+our @ISA = 'Tie::StdHash';
require Amanda::Config;
require Amanda::Debug;