summaryrefslogtreecommitdiff
path: root/devel/tcl-trf/files/patch-crc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tcl-trf/files/patch-crc')
-rw-r--r--devel/tcl-trf/files/patch-crc25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/tcl-trf/files/patch-crc b/devel/tcl-trf/files/patch-crc
new file mode 100644
index 000000000000..bd6d8112d226
--- /dev/null
+++ b/devel/tcl-trf/files/patch-crc
@@ -0,0 +1,25 @@
+--- generic/crc.c 2009-06-18 00:54:43.000000000 -0400
++++ generic/crc.c 2009-07-12 23:44:21.000000000 -0400
+@@ -48,6 +48,6 @@
+ static void MDcrc_Start _ANSI_ARGS_ ((VOID* context));
+ static void MDcrc_Update _ANSI_ARGS_ ((VOID* context, unsigned int character));
+-static void MDcrc_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
+-static void MDcrc_Final _ANSI_ARGS_ ((VOID* context, VOID* digest));
++static void MDcrc_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, size_t bufLen));
++static void MDcrc_Final _ANSI_ARGS_ ((VOID* digest, VOID* context));
+
+ /*
+@@ -193,5 +193,5 @@
+ VOID* context;
+ unsigned char* buffer;
+-int bufLen;
++size_t bufLen;
+ {
+ /* call md specific update here */
+@@ -234,5 +234,5 @@
+
+ static void
+-MDcrc_Final (context, digest)
++MDcrc_Final (digest, context)
+ VOID* context;
+ VOID* digest;