diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2017-06-28 15:40:15 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2017-06-28 15:40:15 +0200 |
commit | ee50e145da2f9a2cb21019c15bc012d58a1cbc62 (patch) | |
tree | 3c3956e7c0903c4e1b071b10d77fc7c0e8f88601 /media-radio/fldigi/files/fldigi-c++11.patch | |
parent | media-libs/exempi: amd64 stable wrt bug #622826 (diff) | |
download | gentoo-ee50e145da2f9a2cb21019c15bc012d58a1cbc62.tar.gz gentoo-ee50e145da2f9a2cb21019c15bc012d58a1cbc62.tar.bz2 gentoo-ee50e145da2f9a2cb21019c15bc012d58a1cbc62.zip |
media-radio/fldigi: Fix -Werror=terminate problem (bug #622686) Tnx Toralf.
Furthermore fix homepage
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-radio/fldigi/files/fldigi-c++11.patch')
-rw-r--r-- | media-radio/fldigi/files/fldigi-c++11.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-radio/fldigi/files/fldigi-c++11.patch b/media-radio/fldigi/files/fldigi-c++11.patch new file mode 100644 index 000000000000..0ca08c484a59 --- /dev/null +++ b/media-radio/fldigi/files/fldigi-c++11.patch @@ -0,0 +1,41 @@ +#fix -Werror=terminate +--- /src/soundcard/sound.cxx.orig 2017-06-28 12:58:41.682698479 +0000 ++++ /src/soundcard/sound.cxx 2017-06-28 13:02:44.862055549 +0000 +@@ -143,7 +143,7 @@ + #endif + } + +-SoundBase::~SoundBase() ++SoundBase::~SoundBase() throw (SndException) + { + delete [] wrt_buffer; + +@@ -1091,7 +1091,7 @@ + memset(fbuf, 0, 2 * SND_BUF_LEN * sizeof(*fbuf)); + } + +-SoundPort::~SoundPort() ++SoundPort::~SoundPort() throw (SndException) + { + Close(); + +--- /src/include/sound.h.orig 2017-06-28 12:59:04.670899172 +0000 ++++ /src/include/sound.h 2017-06-28 13:00:41.253335034 +0000 +@@ -119,7 +119,7 @@ + + public: + SoundBase(); +- virtual ~SoundBase(); ++ virtual ~SoundBase() throw (SndException); + virtual int Open(int mode, int freq = 8000) = 0; + virtual void Close(unsigned dir = UINT_MAX) = 0; + virtual void Abort(unsigned dir = UINT_MAX) = 0; +@@ -213,7 +213,7 @@ + + public: + SoundPort(const char *in_dev, const char *out_dev); +- ~SoundPort(); ++ ~SoundPort() throw (SndException); + int Open(int mode, int freq = 8000); + void Close(unsigned dir = UINT_MAX); + void Abort(unsigned dir = UINT_MAX); |