- add binpatch to build system

- fix a gcc warning

svn path=/trunk/; revision=24500
This commit is contained in:
Johannes Anderwald 2006-10-13 09:56:30 +00:00
parent d9692ef1cd
commit 7ee180373e
3 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,7 @@
<module name="binpatch" type="win32cui" installbase="bin" installname="binpatch.exe" >
<define name="__USE_W32API" />
<library>msvcrt</library>
<library>kernel32</library>
<library>ntdll</library>
<file>patch.c</file>
</module>

View file

@ -211,7 +211,7 @@ compareFiles(
static int
outputPatch(const char *outputFileName)
{
unsigned char *patchExe, *patchBuffer;
unsigned char *patchExe, *patchBuffer = NULL;
int i, size, patchExeSize, patchSize, stringSize, stringOffset, patchOffset;
Patch *patch;
PatchedFile *files;

View file

@ -1,4 +1,7 @@
<group>
<directory name="binpatch">
<xi:include href="binpatch/binpatch.rbuild" />
</directory>
<directory name="ps">
<xi:include href="ps/ps.rbuild" />
</directory>