SHA256
1
0
forked from pool/amanda

Accepting request 814700 from Archiving

OBS-URL: https://build.opensuse.org/request/show/814700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/amanda?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-06-15 18:33:04 +00:00 committed by Git OBS Bridge
commit 6742ac9ddc
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/common-src/testutils.h b/common-src/testutils.h
index 31f89737..2e9bb0b3 100644
--- a/common-src/testutils.h
+++ b/common-src/testutils.h
@@ -75,7 +75,7 @@ typedef struct TestUtilsTest {
#define tu_dbg(...) if (tu_debugging_enabled) { g_fprintf(stderr, __VA_ARGS__); }
/* Is debugging enabled for this test run? (set internally) */
-int tu_debugging_enabled;
+extern gboolean tu_debugging_enabled;
/*
* Main loop

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 8 13:04:22 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
- add amanda-3.5.1-GCC10_extern.patch to fix build with GCC10
-------------------------------------------------------------------
Thu Nov 28 15:25:56 UTC 2019 - Kristyna Streitova <kstreitova@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package amanda
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -34,6 +34,7 @@ Patch4: amanda-3.3.2-returnvalues.patch
Patch5: amanda-timestamp.patch
Patch6: amanda-3.5-no_return_in_nonvoid_fnc.patch
Patch7: amanda-libnsl.patch
Patch8: amanda-3.5.1-GCC10_extern.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@ -90,6 +91,7 @@ rm -r patches
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
./autogen