Control: tags -1 + patch

Dear maintainer,

attached is a patch that fixes the build with the new scons version.

Regards,
  Reiner
diff -Nru klick-0.12.2/debian/patches/scons.patch klick-0.12.2/debian/patches/scons.patch
--- klick-0.12.2/debian/patches/scons.patch	1970-01-01 01:00:00.000000000 +0100
+++ klick-0.12.2/debian/patches/scons.patch	2020-02-02 15:03:42.000000000 +0100
@@ -0,0 +1,29 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Fix build failure with recent scons version
+Bug-Debian: https://bugs.debian.org/947566
+
+--- a/SConstruct
++++ b/SConstruct
+@@ -12,14 +12,14 @@
+ )
+ 
+ # build options
+-opts = Options('scache.conf')
+-opts.AddOptions(
+-    PathOption('PREFIX', 'install prefix', '/usr/local'),
+-    PathOption('DESTDIR', 'intermediate install prefix', '', PathOption.PathAccept),
+-    BoolOption('DEBUG', 'debug mode', False),
+-    BoolOption('OSC', 'OSC support', True),
+-    BoolOption('TERMINAL', 'terminal control support', True),
+-    BoolOption('RUBBERBAND', 'use Rubber Band for pitch shifting', False),
++opts = Variables('scache.conf')
++opts.AddVariables(
++    PathVariable('PREFIX', 'install prefix', '/usr/local'),
++    PathVariable('DESTDIR', 'intermediate install prefix', '', PathVariable.PathAccept),
++    BoolVariable('DEBUG', 'debug mode', False),
++    BoolVariable('OSC', 'OSC support', True),
++    BoolVariable('TERMINAL', 'terminal control support', True),
++    BoolVariable('RUBBERBAND', 'use Rubber Band for pitch shifting', False),
+ )
+ opts.Update(env)
+ opts.Save('scache.conf', env)
diff -Nru klick-0.12.2/debian/patches/series klick-0.12.2/debian/patches/series
--- klick-0.12.2/debian/patches/series	2016-07-11 23:55:33.000000000 +0200
+++ klick-0.12.2/debian/patches/series	2020-02-02 15:03:42.000000000 +0100
@@ -1,2 +1,3 @@
 01-hardening_fix.patch
 02-gcc_6.patch
+scons.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to