]> git.pld-linux.org Git - packages/pingus.git/blob - pingus-opt.patch
- release 10
[packages/pingus.git] / pingus-opt.patch
1 --- pingus-0.7.1/src/input/SConstruct.main~     2007-09-03 19:17:58.000000000 +0200
2 +++ pingus-0.7.1/src/input/SConstruct.main      2007-09-23 22:01:17.000000000 +0200
3 @@ -1,6 +1,8 @@
4  ##  -*- python -*-
5  
6 -env = Environment(CCFLAGS  = ['-O0', '-Wall', '-Werror', '-g'],
7 +env = Environment(CXX = ARGUMENTS.get('CXX', 'g++'),
8 +                 CC = ARGUMENTS.get('CC', 'gcc'),
9 +                 CCFLAGS  = ARGUMENTS.get('CXXFLAGS', ['-O2', '-Wall', '-Werror', '-g']),
10                    CPPPATH  = ['..', '../..'],
11                    CPPDEFINES = ['HAVE_CWIID'],
12                    LIBS = ['cwiid'])
13 --- pingus-0.7.1/src/pingus_main.cpp~   2007-09-22 17:58:45.000000000 +0200
14 +++ pingus-0.7.1/src/pingus_main.cpp    2007-09-23 22:04:32.000000000 +0200
15 @@ -583,6 +583,7 @@
16        path_manager.add_path("data"); // assume game is run from source dir, without any magic
17        free(exe_path);
18  #else
19 +      path_manager.add_path("/usr/share/pingus/data");
20        path_manager.add_path("data"); // assume game is run from source dir
21  #endif
22  
23 --- pingus-0.7.1/SConstruct~    2007-09-22 17:46:31.000000000 +0200
24 +++ pingus-0.7.1/SConstruct     2007-09-23 22:07:59.000000000 +0200
25 @@ -302,6 +302,7 @@
26     opts.Add('LINKFLAGS', 'Linker Compiler flags', [])
27     opts.Add('CC', 'C Compiler', 'gcc')
28     opts.Add('CXX', 'C++ Compiler', 'g++')
29 +   opts.Add('CXXFLAGS', 'compiler flags')
30  #   opts.Add('debug', 'Build with debugging options', 0)
31  #   opts.Add('profile', 'Build with profiling support', 0)
32     opts.Add('with_xinput', 'Build with Xinput support', False)
This page took 0.027333 seconds and 3 git commands to generate.