diff options
Diffstat (limited to 'games/shaaft/files')
-rw-r--r-- | games/shaaft/files/patch-HashString.h | 20 | ||||
-rw-r--r-- | games/shaaft/files/patch-PNG.cpp | 20 | ||||
-rw-r--r-- | games/shaaft/files/patch-ResourceManager.cpp | 10 | ||||
-rw-r--r-- | games/shaaft/files/patch-Value.hpp | 12 | ||||
-rw-r--r-- | games/shaaft/files/patch-utilsgl_gl++.hpp | 15 |
5 files changed, 0 insertions, 77 deletions
diff --git a/games/shaaft/files/patch-HashString.h b/games/shaaft/files/patch-HashString.h deleted file mode 100644 index 532ace0118a4..000000000000 --- a/games/shaaft/files/patch-HashString.h +++ /dev/null @@ -1,20 +0,0 @@ ---- utils/HashString.hpp.orig Tue Aug 17 16:17:33 2004 -+++ utils/HashString.hpp Tue Aug 17 16:18:12 2004 -@@ -21,7 +21,7 @@ - - namespace HASH_NAMESPACE - { -- struct hash<const string> -+ template <> struct hash<const string> - { - //a simple hash function for string - int operator()(const string & s) const -@@ -32,7 +32,7 @@ - } - }; - -- struct hash<string> -+ template <> struct hash<string> - { - //a simple hash function for string - int operator()(string s) const diff --git a/games/shaaft/files/patch-PNG.cpp b/games/shaaft/files/patch-PNG.cpp deleted file mode 100644 index 92417be1dfe0..000000000000 --- a/games/shaaft/files/patch-PNG.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- utilssdl/PNG.cpp.orig 2003-03-03 02:32:18 UTC -+++ utilssdl/PNG.cpp -@@ -45,7 +45,7 @@ void PNG::writeData( png_structp png, pn - { - png_uint_32 check; - -- check = fwrite( data, 1, length, (FILE *)(png->io_ptr)); -+ check = fwrite( data, 1, length, (FILE *)(png_get_io_ptr(png))); - if( check != length) - { - png_error( png, "Write Error"); -@@ -72,7 +72,7 @@ bool PNG::init( FILE *fp, int width, int - return false; - } - -- if( setjmp(_png->jmpbuf)) -+ if( setjmp(png_jmpbuf(_png))) - { - fclose( fp); - png_destroy_write_struct(&_png, (png_infopp)NULL); diff --git a/games/shaaft/files/patch-ResourceManager.cpp b/games/shaaft/files/patch-ResourceManager.cpp deleted file mode 100644 index 8414bfca04d4..000000000000 --- a/games/shaaft/files/patch-ResourceManager.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- utils/ResourceManager.cpp.orig -+++ utils/ResourceManager.cpp -@@ -13,6 +13,7 @@ - // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details - // - #include <unistd.h> -+#include <cstring> - #include <iomanip> - #include <dirent.h> - #include <sys/types.h> diff --git a/games/shaaft/files/patch-Value.hpp b/games/shaaft/files/patch-Value.hpp deleted file mode 100644 index 38c7fa726b3f..000000000000 --- a/games/shaaft/files/patch-Value.hpp +++ /dev/null @@ -1,12 +0,0 @@ ---- utils/Value.hpp.orig 2013-11-30 21:16:05.000000000 +0900 -+++ utils/Value.hpp 2013-11-30 21:16:35.000000000 +0900 -@@ -15,7 +15,8 @@ - #ifndef _Value_hpp_ - #define _Value_hpp_ - --#include <stdio.h> -+#include <cstdio> -+#include <cstdlib> - #include <string> - - #include <Trace.hpp> diff --git a/games/shaaft/files/patch-utilsgl_gl++.hpp b/games/shaaft/files/patch-utilsgl_gl++.hpp deleted file mode 100644 index aae454102b59..000000000000 --- a/games/shaaft/files/patch-utilsgl_gl++.hpp +++ /dev/null @@ -1,15 +0,0 @@ ---- utilsgl/gl++.hpp.orig 2004-01-01 04:32:28 UTC -+++ utilsgl/gl++.hpp -@@ -27,12 +27,6 @@ - # if defined(_WIN64) - typedef __int64 GLintptrARB; - typedef __int64 GLsizeiptrARB; --# elif defined(__ia64__) || defined(__x86_64__) -- typedef long int GLintptrARB; -- typedef long int GLsizeiptrARB; --# else -- typedef int GLintptrARB; -- typedef int GLsizeiptrARB; - # endif - #endif - |