Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317598 Details for
Bug 424731
dev-util/apitrace-3.0-r1: fails to build with gcc 4.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
apitrace-3.0-gcc47.patch
apitrace-3.0-gcc47.patch (text/plain), 859 bytes, created by
Tristan Heaven (RETIRED)
on 2012-07-08 18:38:08 UTC
(
hide
)
Description:
apitrace-3.0-gcc47.patch
Filename:
MIME Type:
Creator:
Tristan Heaven (RETIRED)
Created:
2012-07-08 18:38:08 UTC
Size:
859 bytes
patch
obsolete
>commit bdd9281dd964c36ac94ef3a9fd5d4f7dd24a3d06 >Author: Martin Olsson <martin@minimum.se> >Date: Mon Mar 26 10:40:45 2012 +0200 > > Fix compile error "isatty was not declared"; missing unistd.h include > > When I built apitrace on Fedora 16, using the usual: > > cmake -H. -Bbuild > make -C build > > ...then I got this compile error: > > apitrace/cli/cli_dump.cpp: In function âint command(int, char**)â: > apitrace/cli/cli_dump.cpp:176:25: error: âisattyâ was not declared in this scope > >diff --git a/cli/cli_dump.cpp b/cli/cli_dump.cpp >index 28c91af..f52b83c 100644 >--- a/cli/cli_dump.cpp >+++ b/cli/cli_dump.cpp >@@ -28,6 +28,9 @@ > #include <string.h> > #include <limits.h> // for CHAR_MAX > #include <getopt.h> >+#ifndef _WIN32 >+#include <unistd.h> // for isatty() >+#endif > > #include "cli.hpp" > #include "cli_pager.hpp"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 424731
: 317598