wok-next diff pingus/stuff/pingus-0.7.2_gcc4.u @ rev 10416

db: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 07:54:39 2011 +0000 (2011-05-24)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pingus/stuff/pingus-0.7.2_gcc4.u	Tue May 24 07:54:39 2011 +0000
     1.3 @@ -0,0 +1,49 @@
     1.4 +--- pingus-0.7.2-ori/SConstruct	Tue Oct 30 10:23:37 2007
     1.5 ++++ pingus-0.7.2/SConstruct	Tue Jan  5 13:09:07 2010
     1.6 +@@ -333,7 +333,7 @@
     1.7 + SpaceListOption = _SpaceListOptionClass()
     1.8 + 
     1.9 + def DefineOptions(filename, args):
    1.10 +-   opts = Options(filename, args)
    1.11 ++   opts = Variables(filename, args)
    1.12 +    opts.Add('CC', 'C Compiler', 'gcc')
    1.13 +    opts.Add('CXX', 'C++ Compiler', 'g++')
    1.14 + #   opts.Add('debug', 'Build with debugging options', 0)
    1.15 +@@ -347,11 +347,11 @@
    1.16 +    opts.Add('CCFLAGS',    'C Compiler flags', [])
    1.17 +    opts.Add('LINKFLAGS',  'Linker Compiler flags', [])
    1.18 + 
    1.19 +-   opts.Add(BoolOption('with_xinput',        'Build with Xinput support', False))
    1.20 +-   opts.Add(BoolOption('with_linuxusbmouse', 'Build with Linux USB mouse support', True))
    1.21 +-   opts.Add(BoolOption('with_linuxevdev',    'Build with Linux evdev support', True))
    1.22 +-   opts.Add(BoolOption('with_wiimote',       'Build with Wiimote support', False))
    1.23 +-   opts.Add(BoolOption('ignore_errors',      'Ignore any fatal configuration errors', False))
    1.24 ++   opts.Add(BoolVariable('with_xinput',        'Build with Xinput support', False))
    1.25 ++   opts.Add(BoolVariable('with_linuxusbmouse', 'Build with Linux USB mouse support', True))
    1.26 ++   opts.Add(BoolVariable('with_linuxevdev',    'Build with Linux evdev support', True))
    1.27 ++   opts.Add(BoolVariable('with_wiimote',       'Build with Wiimote support', False))
    1.28 ++   opts.Add(BoolVariable('ignore_errors',      'Ignore any fatal configuration errors', False))
    1.29 +    opts.Add('optional_sources', 'Additional source files', [])
    1.30 +    return opts
    1.31 + 
    1.32 +--- pingus-0.7.2-ori/src/input/evdev_device.cpp	Mon Oct  1 19:24:54 2007
    1.33 ++++ pingus-0.7.2/src/input/evdev_device.cpp	Tue Jan  5 13:10:57 2010
    1.34 +@@ -24,6 +24,8 @@
    1.35 + #include <unistd.h>
    1.36 + #include <stdexcept>
    1.37 + #include <iostream>
    1.38 ++#include <cstdio>
    1.39 ++#include <cstring>
    1.40 + #include <errno.h>
    1.41 + 
    1.42 + #include "evdev_device.hpp"
    1.43 +--- pingus-0.7.2-ori/src/tinygettext/po_file_reader.cpp	Thu Oct 18 19:54:01 2007
    1.44 ++++ pingus-0.7.2/src/tinygettext/po_file_reader.cpp	Tue Jan  5 13:10:31 2010
    1.45 +@@ -24,6 +24,7 @@
    1.46 + #include <sstream>
    1.47 + #include <stdexcept>
    1.48 + #include <string.h>
    1.49 ++#include <cstdio> 
    1.50 + #include "iconv.hpp"
    1.51 + #include "po_file_reader.hpp"
    1.52 +