[games-server/ghost++] long overdue bump, fixed zlib (apperently binutils got smart), support stormlib 8.22, sync FindMySQL.cmake from Connector/ODBC 5.3.0 alpha
parent
1d90209677
commit
d4f8660768
@ -1 +1 @@
|
||||
DIST ghost++-17.1_p20120618.tar.xz 790644 SHA256 7ca988a20ab070c2c8b8fbf7c4e3b8843640addc82390397555f2b3db88d2884 SHA512 ae658693f66c5a35f991a0970db83ccd8152daffddebb7ce5d2b5cc9b6abc46d2e96c0159d2a8fb8b18c27470652db34c4d1e020c6b4cbe9490f606f5565ea44 WHIRLPOOL bb7a3003b0264d21adaf78f1fdeb9d96488fd667193caec4fb1529aa5a3d130fe98e422b872823e7389966e6ffafbe1d424fa5ec00218675c5b157f981720937
|
||||
DIST ghost++-17.1_p20130528.tar.xz 897468 SHA256 38e5d155194f8bff82bb039c5a3932cac9a6499d3273e31e87d6a86cc6f5fedb SHA512 89b6582014f834fd0fd9c5c900d2422b4676f1dc74c7aa4bb59cb1fd1685607a35f4bb5d0b0bdf124c33626ef760138ec86ac788fe4fc723c451b35cf56eafe4 WHIRLPOOL f3fa1e38d38760ab0a12d00530eb1fc649aa7d809e2615293743c1bf8399e4f64672ce0b306c26eaad15e6c396cb0328055d0f77f86848aa62f913e7470d1599
|
||||
|
@ -1,13 +0,0 @@
|
||||
Index: ghost/socket.h
|
||||
===================================================================
|
||||
--- ghost/socket.h (revision 580)
|
||||
+++ ghost/socket.h (working copy)
|
||||
@@ -79,8 +79,6 @@
|
||||
#define SOCKET_ERROR -1
|
||||
|
||||
#define closesocket close
|
||||
-
|
||||
- extern int GetLastError( );
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_NONE
|
@ -0,0 +1,93 @@
|
||||
Index: ghost/ghost.cpp
|
||||
===================================================================
|
||||
--- ghost/ghost.cpp (revision 600)
|
||||
+++ ghost/ghost.cpp (working copy)
|
||||
@@ -48,7 +48,7 @@
|
||||
#endif
|
||||
|
||||
#define __STORMLIB_SELF__
|
||||
-#include <stormlib/StormLib.h>
|
||||
+#include <StormLib.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -1408,7 +1408,7 @@
|
||||
char *SubFileData = new char[FileLength];
|
||||
DWORD BytesRead = 0;
|
||||
|
||||
- if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead ) )
|
||||
+ if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead, NULL ) )
|
||||
{
|
||||
CONSOLE_Print( "[GHOST] extracting Scripts\\common.j from MPQ file to [" + m_MapCFGPath + "common.j]" );
|
||||
UTIL_FileWrite( m_MapCFGPath + "common.j", (unsigned char *)SubFileData, BytesRead );
|
||||
@@ -1435,7 +1435,7 @@
|
||||
char *SubFileData = new char[FileLength];
|
||||
DWORD BytesRead = 0;
|
||||
|
||||
- if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead ) )
|
||||
+ if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead, NULL ) )
|
||||
{
|
||||
CONSOLE_Print( "[GHOST] extracting Scripts\\blizzard.j from MPQ file to [" + m_MapCFGPath + "blizzard.j]" );
|
||||
UTIL_FileWrite( m_MapCFGPath + "blizzard.j", (unsigned char *)SubFileData, BytesRead );
|
||||
Index: ghost/map.cpp
|
||||
===================================================================
|
||||
--- ghost/map.cpp (revision 600)
|
||||
+++ ghost/map.cpp (working copy)
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "map.h"
|
||||
|
||||
#define __STORMLIB_SELF__
|
||||
-#include <stormlib/StormLib.h>
|
||||
+#include <StormLib.h>
|
||||
|
||||
#define ROTL(x,n) ((x)<<(n))|((x)>>(32-(n))) // this won't work with signed types
|
||||
#define ROTR(x,n) ((x)>>(n))|((x)<<(32-(n))) // this won't work with signed types
|
||||
@@ -313,7 +313,7 @@
|
||||
char *SubFileData = new char[FileLength];
|
||||
DWORD BytesRead = 0;
|
||||
|
||||
- if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead ) )
|
||||
+ if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead, NULL ) )
|
||||
{
|
||||
CONSOLE_Print( "[MAP] overriding default common.j with map copy while calculating map_crc/sha1" );
|
||||
OverrodeCommonJ = true;
|
||||
@@ -349,7 +349,7 @@
|
||||
char *SubFileData = new char[FileLength];
|
||||
DWORD BytesRead = 0;
|
||||
|
||||
- if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead ) )
|
||||
+ if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead, NULL ) )
|
||||
{
|
||||
CONSOLE_Print( "[MAP] overriding default blizzard.j with map copy while calculating map_crc/sha1" );
|
||||
OverrodeBlizzardJ = true;
|
||||
@@ -407,7 +407,7 @@
|
||||
char *SubFileData = new char[FileLength];
|
||||
DWORD BytesRead = 0;
|
||||
|
||||
- if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead ) )
|
||||
+ if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead, NULL ) )
|
||||
{
|
||||
if( *i == "war3map.j" || *i == "scripts\\war3map.j" )
|
||||
FoundScript = true;
|
||||
@@ -474,7 +474,7 @@
|
||||
char *SubFileData = new char[FileLength];
|
||||
DWORD BytesRead = 0;
|
||||
|
||||
- if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead ) )
|
||||
+ if( SFileReadFile( SubFile, SubFileData, FileLength, &BytesRead, NULL ) )
|
||||
{
|
||||
istringstream ISS( string( SubFileData, BytesRead ) );
|
||||
|
||||
Index: ghost/socket.h
|
||||
===================================================================
|
||||
--- ghost/socket.h (revision 600)
|
||||
+++ ghost/socket.h (working copy)
|
||||
@@ -79,8 +79,6 @@
|
||||
#define SOCKET_ERROR -1
|
||||
|
||||
#define closesocket close
|
||||
-
|
||||
- extern int GetLastError( );
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_NONE
|
@ -1,26 +0,0 @@
|
||||
Index: ghost/ghost.cpp
|
||||
===================================================================
|
||||
--- ghost/ghost.cpp (revision 572)
|
||||
+++ ghost/ghost.cpp (working copy)
|
||||
@@ -48,7 +48,7 @@
|
||||
#endif
|
||||
|
||||
#define __STORMLIB_SELF__
|
||||
-#include <stormlib/StormLib.h>
|
||||
+#include <StormLib.h>
|
||||
|
||||
/*
|
||||
|
||||
Index: ghost/map.cpp
|
||||
===================================================================
|
||||
--- ghost/map.cpp (revision 572)
|
||||
+++ ghost/map.cpp (working copy)
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "map.h"
|
||||
|
||||
#define __STORMLIB_SELF__
|
||||
-#include <stormlib/StormLib.h>
|
||||
+#include <StormLib.h>
|
||||
|
||||
#define ROTL(x,n) ((x)<<(n))|((x)>>(32-(n))) // this won't work with signed types
|
||||
#define ROTR(x,n) ((x)>>(n))|((x)<<(32-(n))) // this won't work with signed types
|
Loading…
Reference in New Issue