summaryrefslogtreecommitdiff
path: root/ham/linpsk/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-03-02 18:06:22 +0000
committerjoerg <joerg@pkgsrc.org>2013-03-02 18:06:22 +0000
commitfd6547205dd4430ec00773861997e01f21e90ad7 (patch)
treea6cb76931e6367f435a58c22a406b8c0829a93dd /ham/linpsk/patches
parentb1daf489cad96645e5b6b74514181cae2f594b74 (diff)
downloadpkgsrc-fd6547205dd4430ec00773861997e01f21e90ad7.tar.gz
Don't add default arguments at implementation time.
Diffstat (limited to 'ham/linpsk/patches')
-rw-r--r--ham/linpsk/patches/patch-src_csound.cpp13
-rw-r--r--ham/linpsk/patches/patch-src_textinput.cpp13
-rw-r--r--ham/linpsk/patches/patch-src_waveinput.cpp13
3 files changed, 39 insertions, 0 deletions
diff --git a/ham/linpsk/patches/patch-src_csound.cpp b/ham/linpsk/patches/patch-src_csound.cpp
new file mode 100644
index 00000000000..131bd8a422e
--- /dev/null
+++ b/ham/linpsk/patches/patch-src_csound.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_csound.cpp,v 1.1 2013/03/02 18:06:22 joerg Exp $
+
+--- src/csound.cpp.orig 2013-02-28 22:13:24.000000000 +0000
++++ src/csound.cpp
+@@ -81,7 +81,7 @@ return 0;
+
+ }
+
+-CSound::CSound(int ptt = -1):Input(ptt)
++CSound::CSound(int ptt):Input(ptt)
+ {
+ stream=0;
+ audio_buffer.maxbuf=3*BUF_SIZE; // We take 3 buffers
diff --git a/ham/linpsk/patches/patch-src_textinput.cpp b/ham/linpsk/patches/patch-src_textinput.cpp
new file mode 100644
index 00000000000..69e3dcd4679
--- /dev/null
+++ b/ham/linpsk/patches/patch-src_textinput.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_textinput.cpp,v 1.1 2013/03/02 18:06:22 joerg Exp $
+
+--- src/textinput.cpp.orig 2013-02-28 22:14:28.000000000 +0000
++++ 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()
diff --git a/ham/linpsk/patches/patch-src_waveinput.cpp b/ham/linpsk/patches/patch-src_waveinput.cpp
new file mode 100644
index 00000000000..7724bcbd746
--- /dev/null
+++ b/ham/linpsk/patches/patch-src_waveinput.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_waveinput.cpp,v 1.1 2013/03/02 18:06:22 joerg Exp $
+
+--- src/waveinput.cpp.orig 2013-02-28 22:14:51.000000000 +0000
++++ 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;
+ }