Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 415112 Details for
Bug 562480
[TRACKER] Migrate from x11-libs/wxGTK:2.8 to :3.0 and dev-python/wxpython:2.8 to :3.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
wxwidgets.eclass.debug.patch
wxwidgets.eclass.debug.patch (text/plain), 1.58 KB, created by
Ryan Hill (RETIRED)
on 2015-10-21 17:50:21 UTC
(
hide
)
Description:
wxwidgets.eclass.debug.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2015-10-21 17:50:21 UTC
Size:
1.58 KB
patch
obsolete
>diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass >index 07e2d8c..ea7cf9f 100644 >--- a/eclass/wxwidgets.eclass >+++ b/eclass/wxwidgets.eclass >@@ -52,8 +52,13 @@ > # > # Note: unless you know your package works with wxbase (which is very > # doubtful), always depend on wxGTK[X]. >+# >+# Debugging: In wxGTK 3.0 and later debugging support is enabled in the >+# library by default and needs to be controlled at the package level. >+# Use the -DNDEBUG preprocessor flag to disable debugging features. >+# (Using need-wxwidgets will do this for you, see below.) > >-inherit eutils multilib >+inherit eutils flag-o-matic multilib > > # We do this in global scope so ebuilds can get sane defaults just by > # inheriting. >@@ -80,10 +85,18 @@ fi > # @USAGE: <profile> > # @DESCRIPTION: > # >-# Available configurations are: >+# Available profiles are: > # > # unicode (USE="X") > # base-unicode (USE="-X") >+# >+# This lets you choose which config file from /usr/lib/wx/config is used when >+# building the package. It also exports ${WX_CONFIG} with the full path to >+# that config. >+# >+# If your ebuild does not have a debug USE flag, or it has one and it is >+# disabled, -DNDEBUG will be automatically added to CPPFLAGS. This can be >+# overridden by setting WX_DISABLE_DEBUG if you want to handle it yourself. > > need-wxwidgets() { > local wxtoolkit wxdebug wxconf >@@ -124,6 +137,10 @@ need-wxwidgets() { > else > wxdebug="release-" > fi >+ else >+ if [[ -z ${WX_DISABLE_DEBUG} ]]; then >+ use_if_iuse debug || append-cppflags -DNDEBUG >+ fi > fi > > wxconf="${wxtoolkit}-unicode-${wxdebug}${WX_GTK_VER}"
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 562480
: 415112