summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-03 20:14:39 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-03 20:14:39 +0000
commit92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4 (patch)
tree2251474f0fa4c40dc6346ddcf080d8b1ad044944 /media-sound/tapiir/files
parentold (diff)
downloadhistorical-92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4.tar.gz
historical-92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4.tar.bz2
historical-92eec734595b2c48b1c3b9e6b0c9da4b2b4c09e4.zip
old
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-sound/tapiir/files')
-rw-r--r--media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch100
-rw-r--r--media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch34
2 files changed, 0 insertions, 134 deletions
diff --git a/media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch b/media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch
deleted file mode 100644
index 993f49a39fdc..000000000000
--- a/media-sound/tapiir/files/tapiir-0.7.1-gcc3.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-diff -ur tapiir-0.7.1/src/MTD.hxx tapiir-0.7.1-gentoo/src/MTD.hxx
---- tapiir-0.7.1/src/MTD.hxx 2003-02-22 06:06:16.000000000 +1300
-+++ tapiir-0.7.1-gentoo/src/MTD.hxx 2003-10-11 21:29:57.000000000 +1300
-@@ -28,7 +28,7 @@
- /**** the following might be specialized for specific data types ****/
- float FromGain(const T& g) const { return (float) g; }
- T ToGain(const float& v) const { return (T) v; }
-- void MulAdj( T& i ) const { }
-+ void MulAdj( T& i ) const { }
- void Clip( T&) const {}
-
- public:
-@@ -193,22 +193,22 @@
-
- /****************************** specializations ******************************/
-
--float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; }
--float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; }
-+inline float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; }
-+inline float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; }
-
--int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); }
--int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); }
-+inline int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); }
-+inline int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); }
-
--void MTD<float,short>::Clip( float& f) const
-+inline void MTD<float,short>::Clip( float& f) const
- { if (f>32767.) f = 32767.; else if (f<-32767.) f = -32767.; }
--void MTD<int ,short>::Clip( int& i) const
-+inline void MTD<int ,short>::Clip( int& i) const
- { if (i>32767) i = 32767; else if (i<-32767) i = -32767; }
--void MTD<float,float>::Clip( float& f) const
-+inline void MTD<float,float>::Clip( float& f) const
- { if (f>1.) f = 1.; else if (f<-1.) f = -1.; }
-
-
--void MTD<int,float>::MulAdj( int& i) const { i>>=8; }
--void MTD<int,short>::MulAdj( int& i) const { i>>=8; }
-+inline void MTD<int,float>::MulAdj( int& i) const { i>>=8; }
-+inline void MTD<int,short>::MulAdj( int& i) const { i>>=8; }
-
- /*****************************************************************************/
-
-diff -ur tapiir-0.7.1/src/alsaio.cxx tapiir-0.7.1-gentoo/src/alsaio.cxx
---- tapiir-0.7.1/src/alsaio.cxx 2003-02-26 02:24:24.000000000 +1300
-+++ tapiir-0.7.1-gentoo/src/alsaio.cxx 2003-10-06 20:35:48.000000000 +1300
-@@ -402,18 +402,17 @@
- {
- int k;
- //-c,--channels channels default %d
-- printf("\
--Usage: %s [OPTION]...
---h,--help help
---P,--pdevice playback device default %s
---C,--cdevice capture device default %s
---m,--min minimum latency in frames default %d
---M,--max maximum latency in frames default %d
---r,--rate rate default %d
---b,--block block mode default: %s
---t,--time maximal tick time in us
---p,--poll use poll (wait for event - reduces CPU usage) default: %s
--",
-+ printf("\n"
-+"Usage: %s [OPTION]...\n"
-+"-h,--help help\n"
-+"-P,--pdevice playback device default %s\n"
-+"-C,--cdevice capture device default %s\n"
-+"-m,--min minimum latency in frames default %d\n"
-+"-M,--max maximum latency in frames default %d\n"
-+"-r,--rate rate default %d\n"
-+"-b,--block block mode default: %s\n"
-+"-t,--time maximal tick time in us\n"
-+"-p,--poll use poll (wait for event - reduces CPU usage) default: %s\n",
- program,
- pdevice,cdevice,
- latency_min,latency_max,channels,rate,block?"on":"off",use_poll?"on":"off"
-diff -ur tapiir-0.7.1/src/jackio.cxx tapiir-0.7.1-gentoo/src/jackio.cxx
---- tapiir-0.7.1/src/jackio.cxx 2003-02-26 02:24:53.000000000 +1300
-+++ tapiir-0.7.1-gentoo/src/jackio.cxx 2003-10-06 20:22:05.000000000 +1300
-@@ -60,13 +60,12 @@
- static void help(char* program)
- {
- int k;
-- printf("\
--Usage: %s [OPTION]...
---h,--help help
---C,--cconnect <LEFT,RIGHT> jack-connect to capture client default none
---P,--pconnect <LEFT,RIGHT> jack-connect to playback client default none
---a,--alsaconnect jack-connect to alsa_pcm
--",
-+ printf("\n"
-+"Usage: %s [OPTION]...\n"
-+"-h,--help help\n"
-+"-C,--cconnect <LEFT,RIGHT> jack-connect to capture client default none\n"
-+"-P,--pconnect <LEFT,RIGHT> jack-connect to playback client default none\n"
-+"-a,--alsaconnect jack-connect to alsa_pcm\n",
- program
- );
- }
diff --git a/media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch b/media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch
deleted file mode 100644
index cdd68e1be0b8..000000000000
--- a/media-sound/tapiir/files/tapiir-0.7.1-gcc4.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/MTD.hxx.old 2006-11-01 14:18:31.000000000 +0100
-+++ src/MTD.hxx 2006-11-01 14:18:34.000000000 +0100
-@@ -193,22 +193,22 @@
-
- /****************************** specializations ******************************/
-
--inline float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; }
--inline float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; }
-+template <> inline float MTD<int,short>::FromGain(const int& g) const { return float(g)/256.; }
-+template <> inline float MTD<int,float>::FromGain(const int& g) const { return float(g)/256.; }
-
--inline int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); }
--inline int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); }
-+template <> inline int MTD<int,short>::ToGain(const float& f) const { return (int)(f*256.); }
-+template <> inline int MTD<int,float>::ToGain(const float& f) const { return (int)(f*256.); }
-
--inline void MTD<float,short>::Clip( float& f) const
-+template <> inline void MTD<float,short>::Clip( float& f) const
- { if (f>32767.) f = 32767.; else if (f<-32767.) f = -32767.; }
--inline void MTD<int ,short>::Clip( int& i) const
-+template <> inline void MTD<int ,short>::Clip( int& i) const
- { if (i>32767) i = 32767; else if (i<-32767) i = -32767; }
--inline void MTD<float,float>::Clip( float& f) const
-+template <> inline void MTD<float,float>::Clip( float& f) const
- { if (f>1.) f = 1.; else if (f<-1.) f = -1.; }
-
-
--inline void MTD<int,float>::MulAdj( int& i) const { i>>=8; }
--inline void MTD<int,short>::MulAdj( int& i) const { i>>=8; }
-+template <> inline void MTD<int,float>::MulAdj( int& i) const { i>>=8; }
-+template <> inline void MTD<int,short>::MulAdj( int& i) const { i>>=8; }
-
- /*****************************************************************************/
-