Author: janderwald
Date: Fri Oct 13 13:56:30 2006
New Revision: 24500
URL:
http://svn.reactos.org/svn/reactos?rev=24500&view=rev
Log:
- add binpatch to build system
- fix a gcc warning
Added:
trunk/reactos/base/applications/utils/binpatch/binpatch.rbuild (with props)
Modified:
trunk/reactos/base/applications/utils/binpatch/patch.c
trunk/reactos/base/applications/utils/utils.rbuild
Added: trunk/reactos/base/applications/utils/binpatch/binpatch.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/utils/bi…
==============================================================================
--- trunk/reactos/base/applications/utils/binpatch/binpatch.rbuild (added)
+++ trunk/reactos/base/applications/utils/binpatch/binpatch.rbuild Fri Oct 13 13:56:30
2006
@@ -1,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>
Propchange: trunk/reactos/base/applications/utils/binpatch/binpatch.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/base/applications/utils/binpatch/patch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/utils/bi…
==============================================================================
--- trunk/reactos/base/applications/utils/binpatch/patch.c (original)
+++ trunk/reactos/base/applications/utils/binpatch/patch.c Fri Oct 13 13:56:30 2006
@@ -211,7 +211,7 @@
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;
Modified: trunk/reactos/base/applications/utils/utils.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/utils/ut…
==============================================================================
--- trunk/reactos/base/applications/utils/utils.rbuild (original)
+++ trunk/reactos/base/applications/utils/utils.rbuild Fri Oct 13 13:56:30 2006
@@ -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>