/[gentoo-x86]/media-gfx/nvidia-texture-tools/files/nvidia-texture-tools-2.0.8-gcc-4.7.patch
Gentoo

Contents of /media-gfx/nvidia-texture-tools/files/nvidia-texture-tools-2.0.8-gcc-4.7.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jun 29 08:26:26 2012 UTC (10 months, 3 weeks ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
fix compilation on gcc-4.7 wrt bug #423965

(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)

1 From: Julian Ospald <hasufell@gentoo.org>
2 Date: Fri Jun 29 08:15:12 UTC 2012
3 Subject: fix compilation on gcc 4.7
4
5 https://bugs.gentoo.org/show_bug.cgi?id=423965
6
7 --- src/nvcore/nvcore.h
8 +++ src/nvcore/nvcore.h
9 @@ -158,6 +158,7 @@
10 #elif NV_CC_GNUC
11 # if NV_OS_LINUX
12 # include "DefsGnucLinux.h"
13 +# include <unistd.h> // gcc 4.7
14 # elif NV_OS_DARWIN
15 # include "DefsGnucDarwin.h"
16 # elif NV_OS_MINGW

  ViewVC Help
Powered by ViewVC 1.1.13