From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/guvcview/files: guvcview-1.0.5-implicit_declaration_setlocale.patch guvcview-0.9.6-implicit_declaration_setlocale.patch |
Date: | Wed, 29 Apr 2009 12:38:20 |
Message-Id: | E1Lz93L-0005pM-2g@stork.gentoo.org |
1 | ssuominen 09/04/29 12:38:19 |
2 | |
3 | Added: guvcview-1.0.5-implicit_declaration_setlocale.patch |
4 | Removed: guvcview-0.9.6-implicit_declaration_setlocale.patch |
5 | Log: |
6 | Add include for locale.h to get setlocale wrt #267862, thanks to Ivan Miljenovic. |
7 | (Portage version: 2.1.6.11/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-video/guvcview/files/guvcview-1.0.5-implicit_declaration_setlocale.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/guvcview/files/guvcview-1.0.5-implicit_declaration_setlocale.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/guvcview/files/guvcview-1.0.5-implicit_declaration_setlocale.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: guvcview-1.0.5-implicit_declaration_setlocale.patch |
16 | =================================================================== |
17 | Missing locale.h for setlocale function, http://bugs.gentoo.org/267862. |
18 | |
19 | diff -ur guvcview-src-1.0.5.orig/src/guvcview.c guvcview-src-1.0.5/src/guvcview.c |
20 | --- guvcview-src-1.0.5.orig/src/guvcview.c 2009-04-03 20:25:59.000000000 +0000 |
21 | +++ guvcview-src-1.0.5/src/guvcview.c 2009-04-29 15:33:45.000000000 +0000 |
22 | @@ -23,7 +23,7 @@ |
23 | # # |
24 | ********************************************************************************/ |
25 | |
26 | - |
27 | +#include <locale.h> |
28 | #include <SDL/SDL.h> |
29 | #include <glib.h> |
30 | #include <glib/gprintf.h> |