From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/xsetleds/files: xsetleds-0.1.3-isalpha.patch xsetleds-0.1.3-assignment.patch |
Date: | Wed, 03 Sep 2014 09:04:00 |
Message-Id: | 20140903090356.C53BD4971@oystercatcher.gentoo.org |
1 | jer 14/09/03 09:03:56 |
2 | |
3 | Added: xsetleds-0.1.3-isalpha.patch |
4 | xsetleds-0.1.3-assignment.patch |
5 | Log: |
6 | einstall -> EAPI 5 default (bug #521674). Respect CC. Fix some coding issues. |
7 | |
8 | (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 | |
10 | Revision Changes Path |
11 | 1.1 x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: xsetleds-0.1.3-isalpha.patch |
17 | =================================================================== |
18 | --- a/src/xsetleds.c |
19 | +++ b/src/xsetleds.c |
20 | @@ -29,8 +29,9 @@ |
21 | #include <string.h> |
22 | #include <stdlib.h> |
23 | #include <stdarg.h> |
24 | +#include <ctype.h> /* isalpha() */ |
25 | |
26 | -#include <xsetleds.h> |
27 | +#include "xsetleds.h" |
28 | |
29 | |
30 | struct key keytab[] = { |
31 | |
32 | |
33 | |
34 | 1.1 x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch |
35 | |
36 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch?rev=1.1&view=markup |
37 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch?rev=1.1&content-type=text/plain |
38 | |
39 | Index: xsetleds-0.1.3-assignment.patch |
40 | =================================================================== |
41 | --- a/src/utils.c |
42 | +++ b/src/utils.c |
43 | @@ -38,7 +38,7 @@ |
44 | { |
45 | const char *p; |
46 | |
47 | - if (p = strrchr (filename, '/')) |
48 | + if ((p = strrchr (filename, '/'))) |
49 | p = strrchr (filename, '/') + 1; |
50 | else |
51 | p = filename; |