File: 40provide_VERSION.patch

package info (click to toggle)
libswish-api-common-perl 0.04-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 160 kB
  • ctags: 46
  • sloc: perl: 229; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: work around SWISH namespaces wreckage
 The absence of a working &VERSION causes problems with ExtUtils::MakeMaker
Origin: vendor
Author: Frank Lichtenheld <djpig@debian.org>
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422609
Forwarded: no
--- a/lib/SWISH/API/Common.pm
+++ b/lib/SWISH/API/Common.pm
@@ -22,6 +22,8 @@
 use Sysadm::Install qw(:all);
 use File::Temp qw(tempfile);
 
+sub VERSION { return $VERSION; }
+
 ###########################################
 sub new {
 ###########################################