mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00
- add binpatch to build system
- fix a gcc warning svn path=/trunk/; revision=24500
This commit is contained in:
parent
d9692ef1cd
commit
7ee180373e
3 changed files with 11 additions and 1 deletions
7
reactos/base/applications/utils/binpatch/binpatch.rbuild
Normal file
7
reactos/base/applications/utils/binpatch/binpatch.rbuild
Normal 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>
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue