SHA256
1
0
forked from pool/amanda
amanda/amanda-2.6.1p1-return_val.patch
Danilo Spinella dfaf1cfff6 Accepting request 999574 from home:1Antoine1:branches:Archiving
- Update to version 3.5.2:
  * amstatus
    + new --[no]taped argument, useful when running
      'watch amstatus CONF --summary --notaped' if the run have
      many tapes
  * amvault
    + new --uniq, --no-uniq argument
    + Behavior change: The default is --uniq
    + new --delayed argument
    + new --run-delayed argument
- Switch sources from Sourceforge to Github.
- Drop amanda-timestamp.patch: Makefile now handles
  SOURCE_DATE_EPOCH.
- Refresh patches on Perl bindings so that they apply on swig files
  since generated C files are not included in sources anymore:
  * amanda-2.6.1p1-return_val.patch
  * amanda-3.5-no_return_in_nonvoid_fnc.patch
- Add amanda-3.5.2-fix-tests.patch: Fix tests on Tumbleweed
  (gh#zmanda/amanda#167).
- Add build dependencies on swig and rpcgen: Generated files are
  not included in sources anymore.
- Remove redundant %configure options.

OBS-URL: https://build.opensuse.org/request/show/999574
OBS-URL: https://build.opensuse.org/package/show/Archiving/amanda?expand=0&rev=82
2022-08-29 08:30:38 +00:00

13 lines
419 B
Diff

Index: perl/Amanda/MainLoop.swg
===================================================================
--- perl/Amanda/MainLoop.swg.orig
+++ perl/Amanda/MainLoop.swg
@@ -362,6 +362,7 @@ typedef struct {
/* Constructor: use one of the package-level functions, below */
amglue_Source() {
die("Amanda::MainLoop::Source is an abstract base class");
+ return NULL;
}
/* Destructor: just unref the object */