From 52b76e132728a3a0e13436f09f10391aec3e259b Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Mon, 13 Jul 2009 05:30:15 +0000 Subject: Resurrect this port from the Attic based on the new version from the author. As before, we modify the author's code to use either OpenSSL's -lcrypto or BSD's -lmd /directly/ instead of compiling the bundled definitions digests. We also link with -lz and -lbz2 instead of dlopen-ing them at run-time. --- devel/tcl-trf/files/patch-transform | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 devel/tcl-trf/files/patch-transform (limited to 'devel/tcl-trf/files/patch-transform') diff --git a/devel/tcl-trf/files/patch-transform b/devel/tcl-trf/files/patch-transform new file mode 100644 index 000000000000..c14d7d07515e --- /dev/null +++ b/devel/tcl-trf/files/patch-transform @@ -0,0 +1,30 @@ +--- generic/transform.h 2009-06-18 00:55:33.000000000 -0400 ++++ generic/transform.h 2009-07-12 22:14:08.000000000 -0400 +@@ -739,9 +739,9 @@ + typedef void Trf_MDUpdateBuf (VOID* context /* state to update */, + unsigned char* buf /* buffer to hash into the state */, +- int bufLen /* number of characters in the buffer */); ++ size_t bufLen /* number of characters in the buffer */); + #else + typedef void Trf_MDUpdateBuf _ANSI_ARGS_ ((VOID* context, + unsigned char* buffer, +- int bufLen)); ++ size_t bufLen)); + #endif + +@@ -754,6 +754,6 @@ + + #ifdef __C2MAN__ +-typedef void Trf_MDFinal (VOID* context /* state to finalize */, +- VOID* digest /* result area to fill */); ++typedef void Trf_MDFinal (VOID* digest /* result area to fill */, ++ VOID* context /* state to finalize */); + #else + typedef void Trf_MDFinal _ANSI_ARGS_ ((VOID* context, VOID* digest)); +@@ -916,5 +916,5 @@ + #define TCL_STORAGE_CLASS + +-EXTERN char *Trf_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, CONST char *version, int exact)); ++EXTERN CONST char *Trf_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, CONST char *version, int exact)); + + #ifndef USE_TRF_STUBS -- cgit v1.2.3