From fd6547205dd4430ec00773861997e01f21e90ad7 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 2 Mar 2013 18:06:22 +0000 Subject: Don't add default arguments at implementation time. --- ham/linpsk/distinfo | 5 ++++- ham/linpsk/patches/patch-src_csound.cpp | 13 +++++++++++++ ham/linpsk/patches/patch-src_textinput.cpp | 13 +++++++++++++ ham/linpsk/patches/patch-src_waveinput.cpp | 13 +++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 ham/linpsk/patches/patch-src_csound.cpp create mode 100644 ham/linpsk/patches/patch-src_textinput.cpp create mode 100644 ham/linpsk/patches/patch-src_waveinput.cpp (limited to 'ham') diff --git a/ham/linpsk/distinfo b/ham/linpsk/distinfo index f97f0299356..43c99ac7930 100644 --- a/ham/linpsk/distinfo +++ b/ham/linpsk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/07/03 18:06:38 joerg Exp $ +$NetBSD: distinfo,v 1.9 2013/03/02 18:06:22 joerg Exp $ SHA1 (linpsk-0.8.1.tar.gz) = d55d8c793ecd3a4395603ebdd8e795f1dc4d20f9 RMD160 (linpsk-0.8.1.tar.gz) = 975bbdfc0b63e516f1d5fdfe6baf10fa12899219 @@ -10,3 +10,6 @@ SHA1 (patch-ad) = d9a62afada11b17730e4457e73fef7e21b8bee62 SHA1 (patch-af) = 785bf818f14b1e733321a8e6cc0f998883cffe4a SHA1 (patch-ag) = 490d53c18ec1cb3961e7d49ec8f551c386bcec6a SHA1 (patch-ai) = 192112a67a4ad8d70d4f71fbb1390a1fb26d7496 +SHA1 (patch-src_csound.cpp) = 38897d8b3b07bb3e05215a2b5d49f7aa1d02c451 +SHA1 (patch-src_textinput.cpp) = e9a3881bad34d56da61881d23a7ee2b6cc52f6bb +SHA1 (patch-src_waveinput.cpp) = 0cd36c07772448dd203108796a0c605df2b251a5 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; + } -- cgit v1.2.3