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:
commit
7ed9782872
22
amanda-fix-proto.patch
Normal file
22
amanda-fix-proto.patch
Normal 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)) {
|
@ -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>
|
Tue Feb 20 10:57:51 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ Patch3: amanda-2.6.1p1-avoid-perl-provides.patch
|
|||||||
Patch4: amanda-3.3.2-returnvalues.patch
|
Patch4: amanda-3.3.2-returnvalues.patch
|
||||||
Patch6: amanda-3.5-no_return_in_nonvoid_fnc.patch
|
Patch6: amanda-3.5-no_return_in_nonvoid_fnc.patch
|
||||||
Patch7: amanda-libnsl.patch
|
Patch7: amanda-libnsl.patch
|
||||||
|
Patch8: amanda-fix-proto.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -92,6 +93,7 @@ running multiple versions of Linux or Unix.
|
|||||||
%patch -P 4 -p1
|
%patch -P 4 -p1
|
||||||
%patch -P 6 -p1
|
%patch -P 6 -p1
|
||||||
%patch -P 7 -p1
|
%patch -P 7 -p1
|
||||||
|
%patch -P 8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen
|
./autogen
|
||||||
|
Loading…
Reference in New Issue
Block a user