Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/cbm/files: cbm-gcc-4.7.patch
Date: Sat, 03 Nov 2012 08:41:42
Message-Id: 20121103084123.DF301215FF@flycatcher.gentoo.org
1 pinkbyte 12/11/03 08:41:23
2
3 Added: cbm-gcc-4.7.patch
4 Log:
5 Fix building with GCC 4.7 wrt bug #441030. Thanks to Diego Elio Pettenò for discovering this issue
6
7 (Portage version: 2.2.0_alpha141/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 net-analyzer/cbm/files/cbm-gcc-4.7.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cbm/files/cbm-gcc-4.7.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cbm/files/cbm-gcc-4.7.patch?rev=1.1&content-type=text/plain
14
15 Index: cbm-gcc-4.7.patch
16 ===================================================================
17 --- src/cbm.cpp.orig 2012-11-03 12:36:00.305615930 +0400
18 +++ src/cbm.cpp 2012-11-03 12:36:10.920615253 +0400
19 @@ -18,6 +18,7 @@
20 #include <sys/socket.h>
21 #include <arpa/inet.h>
22 #include <net/if.h>
23 +#include <unistd.h>
24
25 // Externs
26 extern int optind, opterr, optopt;