Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 228101 Details for
Bug 307603
dev-util/codeblocks- USE="contrib pch" fails with wxGTK-2.8 and glib-2.22
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
codeblocks-8.02-gsocket.patch
codeblocks-8.02-gsocket.patch (text/plain), 1.33 KB, created by
Ryan Hill (RETIRED)
on 2010-04-17 07:16:09 UTC
(
hide
)
Description:
codeblocks-8.02-gsocket.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2010-04-17 07:16:09 UTC
Size:
1.33 KB
patch
obsolete
>diff --git a/src/plugins/contrib/codesnippets/codesnippets.cpp b/src/plugins/contrib/codesnippets/codesnippets.cpp >index 499c815..7fc1017 100644 >--- a/src/plugins/contrib/codesnippets/codesnippets.cpp >+++ b/src/plugins/contrib/codesnippets/codesnippets.cpp >@@ -52,8 +52,12 @@ > #include "memorymappedfile.h" > > #if defined(__WXGTK__) >+ // hack to avoid name-conflict between wxWidgets GSocket and the one defined >+ // in newer glib-headers >+ #define GSocket GLibSocket >+ #include <gdk/gdkx.h> >+ #undef GSocket > #include "wx/gtk/win_gtk.h" >- #include <gdk/gdkx.h> > #endif > > // The plugin needs a flag ON to enable some code for the plugin >diff --git a/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp b/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp >index d33b08d..220070d 100644 >--- a/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp >+++ b/src/plugins/contrib/codesnippets/codesnippetstreectrl.cpp >@@ -49,8 +49,12 @@ > #include "menuidentifiers.h" > #include "editsnippetframe.h" > #if defined(__WXGTK__) >+ // hack to avoid name-conflict between wxWidgets GSocket and the one defined >+ // in newer glib-headers >+ #define GSocket GLibSocket >+ #include <gdk/gdkx.h> >+ #undef GSocket > #include "wx/gtk/win_gtk.h" >- #include <gdk/gdkx.h> > #endif > > IMPLEMENT_DYNAMIC_CLASS(CodeSnippetsTreeCtrl, wxTreeCtrl)
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 307603
: 228101