Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 593458 Details for
Bug 676238
games-strategy/glob2-0.9.4.4-r2 : NameError: global name Options is not defined:
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to replace Options with Variables for python3 scons
glob2-0.9.4.4-py3.patch (text/plain), 1.48 KB, created by
Peter Fox
on 2019-10-20 19:20:20 UTC
(
hide
)
Description:
Proposed patch to replace Options with Variables for python3 scons
Filename:
MIME Type:
Creator:
Peter Fox
Created:
2019-10-20 19:20:20 UTC
Size:
1.48 KB
patch
obsolete
>--- a/SConstruct 2019-10-20 07:37:36.240619447 +0100 >+++ b/SConstruct 2019-10-20 20:10:17.606765956 +0100 >@@ -14,7 +14,7 @@ > > > def establish_options(env): >- opts = Options('options_cache.py') >+ opts = Variables('options_cache.py') > opts.Add("CXXFLAGS", "Manually add to the CXXFLAGS", "-g") > opts.Add("LINKFLAGS", "Manually add to the LINKFLAGS", "-g") > if isDarwinPlatform: >@@ -23,10 +23,10 @@ > opts.Add("INSTALLDIR", "Installation Directory", "/usr/local/share") > opts.Add("BINDIR", "Binary Installation Directory", "/usr/local/bin") > opts.Add("DATADIR", "Directory where data will be put, set to the same as INSTALLDIR", "/usr/local/share") >- opts.Add(BoolOption("release", "Build for release", 0)) >- opts.Add(BoolOption("profile", "Build with profiling on", 0)) >- opts.Add(BoolOption("mingw", "Build with mingw enabled if not auto-detected", 0)) >- opts.Add(BoolOption("server", "Build only the YOG server, excluding the game and any GUI/sound components", 0)) >+ opts.Add(BoolVariable("release", "Build for release", 0)) >+ opts.Add(BoolVariable("profile", "Build with profiling on", 0)) >+ opts.Add(BoolVariable("mingw", "Build with mingw enabled if not auto-detected", 0)) >+ opts.Add(BoolVariable("server", "Build only the YOG server, excluding the game and any GUI/sound components", 0)) > opts.Add("font", "Build the game using an alternative font placed in the data/font folder", "sans.ttf") > Help(opts.GenerateHelpText(env)) > opts.Update(env)
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 676238
:
562794
|
562796
|
562798
|
562800
|
562802
|
562804
| 593458