summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-06 22:57:52 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-06 22:57:52 +0000
commit12a1f4c5b5a650e9813a37323a79b1a4a739736b (patch)
tree8ab6b38d05f8238be626b70fcc125a16e10246dd /media-sound/k3guitune/files
parentdont patch both makefile.in and .am and run full eautoreconf, bug #226777 (diff)
downloadhistorical-12a1f4c5b5a650e9813a37323a79b1a4a739736b.tar.gz
historical-12a1f4c5b5a650e9813a37323a79b1a4a739736b.tar.bz2
historical-12a1f4c5b5a650e9813a37323a79b1a4a739736b.zip
remove old and fix build with gcc 4.3 for latest version
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'media-sound/k3guitune/files')
-rw-r--r--media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch163
-rw-r--r--media-sound/k3guitune/files/k3guitune-0.5-configure.patch142
-rw-r--r--media-sound/k3guitune/files/k3guitune-1.0-gcc43.patch13
3 files changed, 13 insertions, 305 deletions
diff --git a/media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch b/media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch
deleted file mode 100644
index c7fb661c4eee..000000000000
--- a/media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch
+++ /dev/null
@@ -1,163 +0,0 @@
---- configure.orig 2005-06-30 20:27:58.000000000 +0300
-+++ configure 2005-06-30 20:28:25.000000000 +0300
-@@ -14073,138 +14073,6 @@
- fi
-
-
-- echo "$as_me:$LINENO: checking for mcopidl" >&5
--echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
-- if test -n "$MCOPIDL"; then
-- kde_cv_path="$MCOPIDL";
-- else
-- kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
--
-- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
--
-- kde_cv_path="NONE"
-- dirs="$kde_default_bindirs"
-- kde_save_IFS=$IFS
-- IFS=':'
-- for dir in $PATH; do
-- dirs="$dirs $dir"
-- done
-- IFS=$kde_save_IFS
--
-- for dir in $dirs; do
-- if test -x "$dir/mcopidl"; then
-- if test -n ""
-- then
-- evalstr="$dir/mcopidl 2>&1 "
-- if eval $evalstr; then
-- kde_cv_path="$dir/mcopidl"
-- break
-- fi
-- else
-- kde_cv_path="$dir/mcopidl"
-- break
-- fi
-- fi
-- done
--
-- eval "kde_cv_path_$kde_cache=$kde_cv_path"
--
--
--fi
--
--
-- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
--
-- fi
--
-- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
-- echo "$as_me:$LINENO: result: not found" >&5
--echo "${ECHO_T}not found" >&6
--
-- { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
--Please check whether you installed KDE correctly.
--" >&5
--echo "$as_me: error: The important program mcopidl was not found!
--Please check whether you installed KDE correctly.
--" >&2;}
-- { (exit 1); exit 1; }; }
--
-- else
-- echo "$as_me:$LINENO: result: $kde_cv_path" >&5
--echo "${ECHO_T}$kde_cv_path" >&6
-- MCOPIDL=$kde_cv_path
--
-- fi
--
--
-- echo "$as_me:$LINENO: checking for artsc-config" >&5
--echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
-- if test -n "$ARTSCCONFIG"; then
-- kde_cv_path="$ARTSCCONFIG";
-- else
-- kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
--
-- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
--
-- kde_cv_path="NONE"
-- dirs="$kde_default_bindirs"
-- kde_save_IFS=$IFS
-- IFS=':'
-- for dir in $PATH; do
-- dirs="$dirs $dir"
-- done
-- IFS=$kde_save_IFS
--
-- for dir in $dirs; do
-- if test -x "$dir/artsc-config"; then
-- if test -n ""
-- then
-- evalstr="$dir/artsc-config 2>&1 "
-- if eval $evalstr; then
-- kde_cv_path="$dir/artsc-config"
-- break
-- fi
-- else
-- kde_cv_path="$dir/artsc-config"
-- break
-- fi
-- fi
-- done
--
-- eval "kde_cv_path_$kde_cache=$kde_cv_path"
--
--
--fi
--
--
-- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
--
-- fi
--
-- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
-- echo "$as_me:$LINENO: result: not found" >&5
--echo "${ECHO_T}not found" >&6
--
-- { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
--Please check whether you installed KDE correctly.
--" >&5
--echo "$as_me: error: The important program artsc-config was not found!
--Please check whether you installed KDE correctly.
--" >&2;}
-- { (exit 1); exit 1; }; }
--
-- else
-- echo "$as_me:$LINENO: result: $kde_cv_path" >&5
--echo "${ECHO_T}$kde_cv_path" >&6
-- ARTSCCONFIG=$kde_cv_path
--
-- fi
--
--
- echo "$as_me:$LINENO: checking for kde-config" >&5
- echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
- if test -n "$KDECONFIG"; then
---- k3guitune/Makefile.am 2004-07-12 12:08:48.000000000 +0300
-+++ k3guitune/Makefile.am 2005-06-30 20:30:54.000000000 +0300
-@@ -4,7 +4,7 @@
- ## INCLUDES were found outside kdevelop specific part
-
- k3guitune_SOURCES = audiodlg.cpp soundinput.cpp k2guitune.cpp guitune.cpp osziview.cpp main.cpp logview.cpp k2guitune_meta_unload.cpp
--k3guitune_LDADD = -lartsc -lkdeui -lkdecore $(LIBSOCKET)
-+k3guitune_LDADD = -lkdeui -lkdecore $(LIBSOCKET)
-
-
- EXTRA_DIST = k3guitune.desktop k2guitune_meta_unload.cpp logview.cpp logview.h main.cpp osziview.cpp osziview.h resources.h guitune.cpp guitune.h k2guitune.cpp k2guitune.h k3guituneui.rc soundinput.h soundinput.cpp audiodlg.h audiodlg.cpp
---- k3guitune/Makefile.in 2005-06-30 20:31:48.000000000 +0300
-+++ k3guitune/Makefile.in 2005-06-30 20:31:03.000000000 +0300
-@@ -305,7 +305,7 @@
- x_includes = @x_includes@
- x_libraries = @x_libraries@
- k3guitune_SOURCES = audiodlg.cpp soundinput.cpp k2guitune.cpp guitune.cpp osziview.cpp main.cpp logview.cpp k2guitune_meta_unload.cpp
--k3guitune_LDADD = -lartsc -lkdeui -lkdecore $(LIBSOCKET)
-+k3guitune_LDADD = -lkdeui -lkdecore $(LIBSOCKET)
- EXTRA_DIST = k3guitune.desktop k2guitune_meta_unload.cpp logview.cpp logview.h main.cpp osziview.cpp osziview.h resources.h guitune.cpp guitune.h k2guitune.cpp k2guitune.h k3guituneui.rc soundinput.h soundinput.cpp audiodlg.h audiodlg.cpp
-
- ####### kdevelop will overwrite this part!!! (end)############
diff --git a/media-sound/k3guitune/files/k3guitune-0.5-configure.patch b/media-sound/k3guitune/files/k3guitune-0.5-configure.patch
deleted file mode 100644
index abe0885133b9..000000000000
--- a/media-sound/k3guitune/files/k3guitune-0.5-configure.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-diff -Nur k3guitune-0.5.orig/configure k3guitune-0.5/configure
---- k3guitune-0.5.orig/configure 2005-08-16 13:29:01.000000000 +0200
-+++ k3guitune-0.5/configure 2005-08-24 09:43:26.000000000 +0200
-@@ -14086,138 +14086,6 @@
- fi
-
-
-- echo "$as_me:$LINENO: checking for mcopidl" >&5
--echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
-- if test -n "$MCOPIDL"; then
-- kde_cv_path="$MCOPIDL";
-- else
-- kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
--
-- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
--
-- kde_cv_path="NONE"
-- dirs="$kde_default_bindirs"
-- kde_save_IFS=$IFS
-- IFS=':'
-- for dir in $PATH; do
-- dirs="$dirs $dir"
-- done
-- IFS=$kde_save_IFS
--
-- for dir in $dirs; do
-- if test -x "$dir/mcopidl"; then
-- if test -n ""
-- then
-- evalstr="$dir/mcopidl 2>&1 "
-- if eval $evalstr; then
-- kde_cv_path="$dir/mcopidl"
-- break
-- fi
-- else
-- kde_cv_path="$dir/mcopidl"
-- break
-- fi
-- fi
-- done
--
-- eval "kde_cv_path_$kde_cache=$kde_cv_path"
--
--
--fi
--
--
-- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
--
-- fi
--
-- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
-- echo "$as_me:$LINENO: result: not found" >&5
--echo "${ECHO_T}not found" >&6
--
-- { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
--Please check whether you installed KDE correctly.
--" >&5
--echo "$as_me: error: The important program mcopidl was not found!
--Please check whether you installed KDE correctly.
--" >&2;}
-- { (exit 1); exit 1; }; }
--
-- else
-- echo "$as_me:$LINENO: result: $kde_cv_path" >&5
--echo "${ECHO_T}$kde_cv_path" >&6
-- MCOPIDL=$kde_cv_path
--
-- fi
--
--
-- echo "$as_me:$LINENO: checking for artsc-config" >&5
--echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
-- if test -n "$ARTSCCONFIG"; then
-- kde_cv_path="$ARTSCCONFIG";
-- else
-- kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
--
-- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
-- echo $ECHO_N "(cached) $ECHO_C" >&6
--else
--
-- kde_cv_path="NONE"
-- dirs="$kde_default_bindirs"
-- kde_save_IFS=$IFS
-- IFS=':'
-- for dir in $PATH; do
-- dirs="$dirs $dir"
-- done
-- IFS=$kde_save_IFS
--
-- for dir in $dirs; do
-- if test -x "$dir/artsc-config"; then
-- if test -n ""
-- then
-- evalstr="$dir/artsc-config 2>&1 "
-- if eval $evalstr; then
-- kde_cv_path="$dir/artsc-config"
-- break
-- fi
-- else
-- kde_cv_path="$dir/artsc-config"
-- break
-- fi
-- fi
-- done
--
-- eval "kde_cv_path_$kde_cache=$kde_cv_path"
--
--
--fi
--
--
-- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
--
-- fi
--
-- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
-- echo "$as_me:$LINENO: result: not found" >&5
--echo "${ECHO_T}not found" >&6
--
-- { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
--Please check whether you installed KDE correctly.
--" >&5
--echo "$as_me: error: The important program artsc-config was not found!
--Please check whether you installed KDE correctly.
--" >&2;}
-- { (exit 1); exit 1; }; }
--
-- else
-- echo "$as_me:$LINENO: result: $kde_cv_path" >&5
--echo "${ECHO_T}$kde_cv_path" >&6
-- ARTSCCONFIG=$kde_cv_path
--
-- fi
--
--
- echo "$as_me:$LINENO: checking for kde-config" >&5
- echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
- if test -n "$KDECONFIG"; then
diff --git a/media-sound/k3guitune/files/k3guitune-1.0-gcc43.patch b/media-sound/k3guitune/files/k3guitune-1.0-gcc43.patch
new file mode 100644
index 000000000000..5ac67cc79f46
--- /dev/null
+++ b/media-sound/k3guitune/files/k3guitune-1.0-gcc43.patch
@@ -0,0 +1,13 @@
+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;
+ };