Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 451830 Details for
Bug 582954
net-libs/libvncserver-0.9.10_p20160127: build w/gcc-6: breaks build of kde-apps/krfb-16.04.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
krfb-16.08.2-fix-build-by-undefining-max-macro.patch
krfb-16.08.2-fix-build-by-undefining-max-macro.patch (text/plain), 659 bytes, created by
Jonathan Scruggs (RETIRED)
on 2016-10-29 12:03:04 UTC
(
hide
)
Description:
krfb-16.08.2-fix-build-by-undefining-max-macro.patch
Filename:
MIME Type:
Creator:
Jonathan Scruggs (RETIRED)
Created:
2016-10-29 12:03:04 UTC
Size:
659 bytes
patch
obsolete
>From 51957837575210517f5917d1cebcda1fe90f509b Mon Sep 17 00:00:00 2001 >From: Tomaz Canabrava <tomaz.canabrava@gmail.com> >Date: Fri, 19 Aug 2016 12:43:24 -0300 >Subject: [PATCH] Fix build by undefining the max macro > >The max macro was being defined in the c++ namespace, >conflicting with the max C++ function call, breaking the >build. > >Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> >--- > krfb/rfb.h | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/krfb/rfb.h b/krfb/rfb.h >index fa94eda..1df4836 100644 >--- a/krfb/rfb.h >+++ b/krfb/rfb.h >@@ -8,6 +8,10 @@ > > #include "rfb/rfb.h" > >+#ifdef max >+#undef max >+#endif >+ > #undef TRUE > #undef FALSE >
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 582954
:
434232
|
451830
|
451860
|
451862
|
451894