SHA256
1
0
forked from pool/amanda

Accepting request 1189651 from Archiving

OBS-URL: https://build.opensuse.org/request/show/1189651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amanda?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2024-07-26 14:15:40 +00:00 committed by Git OBS Bridge
commit 7ed9782872
3 changed files with 29 additions and 0 deletions

22
amanda-fix-proto.patch Normal file
View File

@ -0,0 +1,22 @@
Index: amanda-tag-community-3.5.4/client-src/runtar.c
===================================================================
--- amanda-tag-community-3.5.4.orig/client-src/runtar.c
+++ amanda-tag-community-3.5.4/client-src/runtar.c
@@ -54,7 +54,7 @@ main(
{
#ifdef GNUTAR
int i;
- char **j;
+ const char **j;
char *e;
char *dbf;
char *cmdline;
@@ -255,7 +255,7 @@ check_whitelist(
gchar* option)
{
bool result = TRUE;
- char** i;
+ const char** i;
for(i=whitelisted_args; *i; i++) {
if (g_str_has_prefix(option, *i)) {

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 25 08:37:48 UTC 2024 - Marcus Meissner <meissner@suse.com>
- amanda-fix-proto.patch: fix build with gcc14
-------------------------------------------------------------------
Tue Feb 20 10:57:51 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -34,6 +34,7 @@ Patch3: amanda-2.6.1p1-avoid-perl-provides.patch
Patch4: amanda-3.3.2-returnvalues.patch
Patch6: amanda-3.5-no_return_in_nonvoid_fnc.patch
Patch7: amanda-libnsl.patch
Patch8: amanda-fix-proto.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@ -92,6 +93,7 @@ running multiple versions of Linux or Unix.
%patch -P 4 -p1
%patch -P 6 -p1
%patch -P 7 -p1
%patch -P 8 -p1
%build
./autogen