Package: linpsk / 1.2.5~rc1-1

ftbfs-clang.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: Fix FTBFS with Clang instead of GCC
Author: Alexander <sanek23994@gmail.com>
Reviewed-by: Iain R. Learmonth <irl@fsfe.org>
Last-Update: 2015-05-04

--- a/src/textinput.cpp
+++ b/src/textinput.cpp
@@ -22,7 +22,7 @@
 extern Parameter settings;
 extern int errno;
 
-TextInput::TextInput ( int ptt = -1 ) : Input ( ptt )
+TextInput::TextInput ( int ptt ) : Input ( ptt )
 {
 }
 TextInput::~TextInput()
--- a/src/textinput.h
+++ b/src/textinput.h
@@ -29,7 +29,7 @@
 {
     Q_OBJECT
   public:
-    TextInput ( int ptt );
+    TextInput ( int ptt = -1 );
     ~TextInput();
 
     /** Opens the Device for writting **/
--- a/src/waveinput.cpp
+++ b/src/waveinput.cpp
@@ -19,7 +19,7 @@
 
 extern Parameter settings;
 
-WaveInput::WaveInput(int ptt = -1): Input(ptt)
+WaveInput::WaveInput(int ptt): Input(ptt)
 {
  EightBits=false;
 }
--- a/src/waveinput.h
+++ b/src/waveinput.h
@@ -31,7 +31,7 @@
 {
 Q_OBJECT
   public:
-    WaveInput ( int ptt );
+    WaveInput ( int ptt = -1 );
     ~WaveInput();
     /** Opens the Device for writting **/
     bool open_Device_write ( QString * );