summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-11 17:33:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-11 17:33:32 +0000
commitb9d414b043d13a7bddc30f4ac46f43ef0883566d (patch)
tree2dffa6b71d7412088ba0534b2038a255d4813279 /media-sound/aumix/files
parentx86 stable wrt bug #319517 (diff)
downloadgentoo-2-b9d414b043d13a7bddc30f4ac46f43ef0883566d.tar.gz
gentoo-2-b9d414b043d13a7bddc30f4ac46f43ef0883566d.tar.bz2
gentoo-2-b9d414b043d13a7bddc30f4ac46f43ef0883566d.zip
Version bump.
(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-noninter_strncpy.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/media-sound/aumix/files/aumix-2.8-noninter_strncpy.patch b/media-sound/aumix/files/aumix-2.8-noninter_strncpy.patch
deleted file mode 100644
index 2c68873c29ae..000000000000
--- a/media-sound/aumix/files/aumix-2.8-noninter_strncpy.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ur aumix-2.8.orig/src/common.c aumix-2.8/src/common.c
---- aumix-2.8.orig/src/common.c 2002-10-29 23:27:51.000000000 +0200
-+++ aumix-2.8/src/common.c 2009-05-12 14:36:08.000000000 +0300
-@@ -612,17 +612,18 @@
- int SetShowNoninter(int dev)
- {
- /* Change or display settings from the command line. */
-- char *devstr, dest;
-+ char *devstr;
-+ char dest[4];
- int change = 0, tmp, left, right;
- /* Increase or decrease levels, optionally by a number. */
- if (!strncmp(optarg, "+", 1) || !strncmp(optarg, "-", 1)) {
- ErrorExitWarn(ReadLevel(dev, &tmp), 'e');
- right = tmp >> 8; /* I'll take the high byte, */
- left = tmp & 0xFF; /* and you take the low byte. */
-- strncpy(&dest, (optarg + 1), 3);
-+ strncpy(dest, (optarg + 1), 3);
- change = 1; /* For compatibility with versions 1.15 to 1.17, assume one if no number was given. */
-- if (atoi(&dest))
-- change = atoi(&dest);
-+ if (atoi(dest))
-+ change = atoi(dest);
- if (*optarg == '+') { /* increase */
- right += change;
- left += change;