Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 345782 Details for
Bug 328137
sys-apps/lcdtest segfaults when trying to initialize font
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1.18-build-system.patch
1.18-build-system.patch (text/plain), 1.99 KB, created by
Tony Vroon (RETIRED)
on 2013-04-17 13:37:13 UTC
(
hide
)
Description:
1.18-build-system.patch
Filename:
MIME Type:
Creator:
Tony Vroon (RETIRED)
Created:
2013-04-17 13:37:13 UTC
Size:
1.99 KB
patch
obsolete
>diff -uNr lcdtest-1.18.ORIG/SConstruct lcdtest-1.18/SConstruct >--- lcdtest-1.18.ORIG/SConstruct 2013-04-17 14:32:37.735358663 +0100 >+++ lcdtest-1.18/SConstruct 2013-04-17 14:33:52.706359788 +0100 >@@ -119,10 +119,10 @@ > # code > #----------------------------------------------------------------------------- > >-build_dir = 'build/' >+variant_dir = 'build/' > > SConscript ('src/SConscript', >- build_dir = build_dir, >+ variant_dir = variant_dir, > duplicate = 0, > exports = {'env' : env}) > >@@ -137,7 +137,7 @@ > #----------------------------------------------------------------------------- > > SConscript ('desktop/SConscript', >- build_dir = build_dir + '/desktop', >+ variant_dir = variant_dir + '/desktop', > duplicate = 0) > > #----------------------------------------------------------------------------- >diff -uNr lcdtest-1.18.ORIG/src/SConscript lcdtest-1.18/src/SConscript >--- lcdtest-1.18.ORIG/src/SConscript 2013-04-17 14:32:37.734358663 +0100 >+++ lcdtest-1.18/src/SConscript 2013-04-17 14:32:54.194358910 +0100 >@@ -17,6 +17,7 @@ > # along with this program. If not, see see <http://www.gnu.org/licenses/>. > > import os >+import SCons.Util > > Import('env') > >@@ -29,13 +30,18 @@ > > objs = [env.Object(src) for src in srcs] > >-# respect the environment CFLAGS if given >-if 'CFLAGS' in ARGUMENTS: >- env.MergeFlags (ARGUMENTS ['CFLAGS']) >-elif 'CFLAGS' in os.environ: >- env.MergeFlags (os.environ ['CFLAGS']) >-else: >- env.Append (CCFLAGS = ['-g', '-Wall', '-Wextra']) >+# respect the environments flags if given >+ >+if os.environ.has_key('CC'): >+ env['CC'] = os.environ['CC'] >+if os.environ.has_key('CFLAGS'): >+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) >+if os.environ.has_key('CXX'): >+ env['CXX'] = os.environ['CXX'] >+if os.environ.has_key('CXXFLAGS'): >+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) >+if os.environ.has_key('LDFLAGS'): >+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) > > env.Append (LIBS = ['SDL', 'SDL_image', 'SDL_ttf']); >
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 328137
:
238633
|
245489
|
245490
|
245492
|
245496
|
245500
|
257320
|
345766
|
345778
|
345780
| 345782