Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsfml/files: libsfml-1.6-gcc47.patch
Date: Thu, 07 Jun 2012 20:18:36
Message-Id: 20120607201824.121F42004C@flycatcher.gentoo.org
1 radhermit 12/06/07 20:18:24
2
3 Added: libsfml-1.6-gcc47.patch
4 Log:
5 Fix build with gcc-4.7 (bug #420017 by Sergey Zubkov).
6
7 (Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-libs/libsfml/files/libsfml-1.6-gcc47.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/files/libsfml-1.6-gcc47.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/files/libsfml-1.6-gcc47.patch?rev=1.1&content-type=text/plain
14
15 Index: libsfml-1.6-gcc47.patch
16 ===================================================================
17 --- SFML-1.6/src/SFML/Window/Linux/Joystick.cpp
18 +++ SFML-1.6/src/SFML/Window/Linux/Joystick.cpp
19 @@ -27,7 +27,7 @@
20 ////////////////////////////////////////////////////////////
21 #include <SFML/Window/Joystick.hpp>
22 #include <sstream>
23 -
24 +#include <unistd.h>
25
26 namespace sf
27 {