wok-next diff zsnes/stuff/zsnes.patch @ rev 18371
Add hiredis
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 16 18:39:55 2015 +0200 (2015-09-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zsnes/stuff/zsnes.patch Wed Sep 16 18:39:55 2015 +0200 1.3 @@ -0,0 +1,67 @@ 1.4 +diff -cr zsnes_1_51/src/parsegen.cpp zsnes_1_51-patched/src/parsegen.cpp 1.5 +*** zsnes_1_51/src/parsegen.cpp 2007-10-31 01:30:26.000000000 -0300 1.6 +--- zsnes_1_51-patched/src/parsegen.cpp 2008-07-13 18:28:53.000000000 -0300 1.7 +*************** 1.8 +*** 19,24 **** 1.9 +--- 19,27 ---- 1.10 + Config file handler creator by Nach (C) 2005-2007 1.11 + */ 1.12 + 1.13 ++ #include <cstring> 1.14 ++ #include <cstdlib> 1.15 ++ 1.16 + #if !defined(__GNUC__) && !defined(_MSC_VER) 1.17 + #error You are using an unsupported compiler 1.18 + #endif 1.19 +*************** 1.20 +*** 1822,1828 **** 1.21 + } 1.22 + } 1.23 + 1.24 +! int main(size_t argc, const char *const *const argv) 1.25 + { 1.26 + const char *cheader_file = 0; 1.27 + bool compile = false; 1.28 +--- 1825,1831 ---- 1.29 + } 1.30 + } 1.31 + 1.32 +! int main(int argc, const char *const *const argv) 1.33 + { 1.34 + const char *cheader_file = 0; 1.35 + bool compile = false; 1.36 +diff -cr zsnes_1_51/src/tools/depbuild.cpp zsnes_1_51-patched/src/tools/depbuild.cpp 1.37 +*** zsnes_1_51/src/tools/depbuild.cpp 2006-12-27 08:04:05.000000000 -0300 1.38 +--- zsnes_1_51-patched/src/tools/depbuild.cpp 2008-07-13 18:30:46.000000000 -0300 1.39 +*************** 1.40 +*** 183,189 **** 1.41 + } 1.42 + } 1.43 + 1.44 +! int main(size_t argc, const char *const *const argv) 1.45 + { 1.46 + if (argc < 5) 1.47 + { 1.48 +--- 183,189 ---- 1.49 + } 1.50 + } 1.51 + 1.52 +! int main(int argc, const char *const *const argv) 1.53 + { 1.54 + if (argc < 5) 1.55 + { 1.56 +diff -cr zsnes_1_51/src/tools/strutil.h zsnes_1_51-patched/src/tools/strutil.h 1.57 +*** zsnes_1_51/src/tools/strutil.h 2006-12-27 08:04:05.000000000 -0300 1.58 +--- zsnes_1_51-patched/src/tools/strutil.h 2008-07-13 18:30:27.000000000 -0300 1.59 +*************** 1.60 +*** 15,20 **** 1.61 +--- 15,23 ---- 1.62 + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 1.63 + */ 1.64 + 1.65 ++ #include <cstring> 1.66 ++ #include <cstdlib> 1.67 ++ 1.68 + /* 1.69 + This is part of a toolkit used to assist in ZSNES development 1.70 + */