From: | "Markus Meier (maekke)" <maekke@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/ufraw/files: ufraw-0.15-glibc-2.10.patch |
Date: | Mon, 01 Jun 2009 13:14:54 |
Message-Id: | E1MB7Lo-00059F-9q@stork.gentoo.org |
1 | maekke 09/06/01 13:14:52 |
2 | |
3 | Added: ufraw-0.15-glibc-2.10.patch |
4 | Log: |
5 | fix building with glibc-2.10 by Andrew John Hughes, bug #271566 |
6 | (Portage version: 2.2_rc33/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-gfx/ufraw/files/ufraw-0.15-glibc-2.10.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/ufraw/files/ufraw-0.15-glibc-2.10.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/ufraw/files/ufraw-0.15-glibc-2.10.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ufraw-0.15-glibc-2.10.patch |
15 | =================================================================== |
16 | --- ufraw-0.15.old/dcraw.cc 2008-12-23 07:19:41.000000000 +0000 |
17 | +++ ufraw-0.15/dcraw.cc 2009-05-28 15:25:51.000000000 +0100 |
18 | @@ -8401,7 +8401,7 @@ |
19 | argv[argc] = ""; |
20 | for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) { |
21 | opt = argv[arg++][1]; |
22 | - if ((cp = strchr (sp="nbrkStqmHAC", opt))) |
23 | + if ((cp = (char*) strchr (sp="nbrkStqmHAC", opt))) |
24 | for (i=0; i < "11411111142"[cp-sp]-'0'; i++) |
25 | if (!isdigit(argv[arg+i][0])) { |
26 | dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt); |