diff options
Diffstat (limited to 'media-sound/k3guitune/files/k3guitune-1.01-gcc43.patch')
-rw-r--r-- | media-sound/k3guitune/files/k3guitune-1.01-gcc43.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-sound/k3guitune/files/k3guitune-1.01-gcc43.patch b/media-sound/k3guitune/files/k3guitune-1.01-gcc43.patch new file mode 100644 index 00000000..53989d3f --- /dev/null +++ b/media-sound/k3guitune/files/k3guitune-1.01-gcc43.patch @@ -0,0 +1,15 @@ +Fix compilation with GNU GCC 4.3.0 and up. + +Index: k3guitune-1.0/k3guitune/soundinput.h +=================================================================== +--- k3guitune-1.0.orig/k3guitune/soundinput.h ++++ k3guitune-1.0/k3guitune/soundinput.h +@@ -41,7 +41,7 @@ class SoundInputException : public std:: + */ + class SoundInput { + public: +- static SoundInput *autodetect( const char *alsa_devicename, const char *dsp_devicename, int &blksize, int &sampfreq, double &sampfreq ); ++ static SoundInput *autodetect( const char *alsa_devicename, const char *dsp_devicename, int &blksize, int &sampfreq1, double &sampfreq2 ); + virtual ~SoundInput(); + virtual int getData( short int *buf, int blksize ) = 0; + }; |