summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-21 04:09:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-21 04:09:30 +0000
commitddafa3cd35dd5f86bfaddc18627f2d1f68efb454 (patch)
tree24cce6b7c4e0926f9f2cd02c2583237feff81a12 /media-sound/aumix/files
parentRespect LDFLAGS wrt #333727 by Diego E. Pettenò. (diff)
downloadgentoo-2-ddafa3cd35dd5f86bfaddc18627f2d1f68efb454.tar.gz
gentoo-2-ddafa3cd35dd5f86bfaddc18627f2d1f68efb454.tar.bz2
gentoo-2-ddafa3cd35dd5f86bfaddc18627f2d1f68efb454.zip
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/aumix/files')
-rw-r--r--media-sound/aumix/files/aumix-2.8-close-dialogs.patch18
-rw-r--r--media-sound/aumix/files/aumix-2.8-mute.patch16
-rw-r--r--media-sound/aumix/files/aumix-2.8-nls.patch27
-rw-r--r--media-sound/aumix/files/aumix-2.8-nohome.patch12
-rw-r--r--media-sound/aumix/files/aumix-2.8-save_load.patch45
5 files changed, 0 insertions, 118 deletions
diff --git a/media-sound/aumix/files/aumix-2.8-close-dialogs.patch b/media-sound/aumix/files/aumix-2.8-close-dialogs.patch
deleted file mode 100644
index e2d46cc86cf4..000000000000
--- a/media-sound/aumix/files/aumix-2.8-close-dialogs.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./src/gtk.c.tv 2003-09-04 19:18:07.000000000 +0200
-+++ ./src/gtk.c 2003-09-04 19:18:41.000000000 +0200
-@@ -425,6 +425,7 @@
- /* Get the selected filename and copy it into the global save_filename. */
- {
- save_filename = g_strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs)));
-+ gtk_widget_destroy(fs);
- ErrorExitWarn(LoadSettings(), 'w');
- }
-
-@@ -432,6 +433,7 @@
- /* Get the selected filename and copy it into the global save_filename. */
- {
- save_filename = g_strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs)));
-+ gtk_widget_destroy(fs);
- ErrorExitWarn(SaveSettings(), 'e');
- }
-
diff --git a/media-sound/aumix/files/aumix-2.8-mute.patch b/media-sound/aumix/files/aumix-2.8-mute.patch
deleted file mode 100644
index 8a32fd5b9b87..000000000000
--- a/media-sound/aumix/files/aumix-2.8-mute.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix mute script: save volume and then set it to 0 instead of saving it directly
-to 0. Bug #122087.
-Index: aumix-2.8/src/mute
-===================================================================
---- aumix-2.8.orig/src/mute
-+++ aumix-2.8/src/mute
-@@ -8,7 +8,8 @@
- volumes=$(aumix -vq |tr -d ,)
- if [ $(echo $volumes | awk '{print $2}') -ne 0 -o \
- $(echo $volumes | awk '{print $3}') -ne 0 ]; then
-- aumix -S -v 0
-+ aumix -S
-+ aumix -v 0
- else
- aumix -L > /dev/null
- fi
diff --git a/media-sound/aumix/files/aumix-2.8-nls.patch b/media-sound/aumix/files/aumix-2.8-nls.patch
deleted file mode 100644
index 7c79d9ebd6b3..000000000000
--- a/media-sound/aumix/files/aumix-2.8-nls.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Naur aumix-2.8.orig/configure aumix-2.8/configure
---- aumix-2.8.orig/configure 2002-11-24 17:35:48.000000000 -0800
-+++ aumix-2.8/configure 2002-11-24 17:35:48.000000000 -0800
-@@ -3801,10 +3801,6 @@
- USE_INCLUDED_LIBINTL=no
-
-
--USE_NLS=yes
--
--
--
- trap '' 1 2 15
- cat > confcache <<\EOF
- # This file is a shell script that caches the results of configure
-diff -Naur aumix-2.8.orig/configure.in aumix-2.8/configure.in
---- aumix-2.8.orig/configure.in 2002-11-24 17:04:16.000000000 -0800
-+++ aumix-2.8/configure.in 2002-11-24 17:04:16.000000000 -0800
-@@ -240,9 +240,6 @@
- USE_INCLUDED_LIBINTL=no
- AC_SUBST(USE_INCLUDED_LIBINTL)
-
--USE_NLS=yes
--AC_SUBST(USE_NLS)
--
- dnl AC_OUTPUT(Makefile)
- dnl AC_OUTPUT([Makefile intl/Makefile.in po/Makefile.in],
- dnl [AUMIX_PROCESS_PO test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])
diff --git a/media-sound/aumix/files/aumix-2.8-nohome.patch b/media-sound/aumix/files/aumix-2.8-nohome.patch
deleted file mode 100644
index bf20f0372c00..000000000000
--- a/media-sound/aumix/files/aumix-2.8-nohome.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur aumix-2.8.orig/src/common.c aumix-2.8/src/common.c
---- aumix-2.8.orig/src/common.c 2002-10-29 13:27:51.000000000 -0800
-+++ aumix-2.8/src/common.c 2004-07-22 01:28:07.684999900 -0700
-@@ -591,7 +591,7 @@
- char filename[PATH_MAX];
- if (save_filename == NULL) {
- home = getenv("HOME");
-- if ((strlen(home) + strlen(AUMIXRC) + 2) < PATH_MAX) {
-+ if (home && (strlen(home) + strlen(AUMIXRC) + 2) < PATH_MAX) {
- sprintf(filename, "%s/.%s", home, AUMIXRC);
- setfile = CheckAndOpen(filename, mode);
- }
diff --git a/media-sound/aumix/files/aumix-2.8-save_load.patch b/media-sound/aumix/files/aumix-2.8-save_load.patch
deleted file mode 100644
index cf3c409eb015..000000000000
--- a/media-sound/aumix/files/aumix-2.8-save_load.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- ./src/common.c.load 2002-11-28 14:22:00.000000000 +0100
-+++ ./src/common.c 2002-11-28 14:23:11.000000000 +0100
-@@ -116,6 +116,7 @@
- int main(int argc, char *argv[])
- {
- int optn, ii;
-+ int save = 0, load = 0;
- #ifdef HAVE_CURSES
- int setcolors = FALSE;
- #endif /* HAVE_CURSES */
-@@ -171,14 +172,10 @@
- break;
- #endif /* HAVE_CURSES */
- case 'S': /* Save to file. */
-- if (mixer_fd == -1)
-- ErrorExitWarn(InitializeMixer(device_filename), 'e');
-- ErrorExitWarn(SaveSettings(), 'e');
-+ save = 1;
- break;
- case 'L': /* Load from file. */
-- if (mixer_fd == -1)
-- ErrorExitWarn(InitializeMixer(device_filename), 'e');
-- ErrorExitWarn(LoadSettings(), 'e');
-+ load = 1;
- break;
- #if defined (HAVE_CURSES) || defined (HAVE_GTK) || defined (HAVE_GTK1)
- case 'I': /* User asked for interactive mode. */
-@@ -194,6 +191,17 @@
- }
- }
- }
-+ if (save | load) {
-+ if (mixer_fd == -1)
-+ ErrorExitWarn(InitializeMixer(device_filename), 'e');
-+ if (save)
-+ ErrorExitWarn(SaveSettings(), 'e');
-+ else
-+ ErrorExitWarn(LoadSettings(), 'e');
-+ close(mixer_fd);
-+ exit(EXIT_SUCCESS);
-+ }
-+
- #if defined (HAVE_CURSES) || defined (HAVE_GTK) || defined (HAVE_GTK1)
- /* Be interactive if no options were given. */
- if (!interactive && argc <= 1)