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-warnings | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 devel/tcl-trf/files/patch-warnings (limited to 'devel/tcl-trf/files/patch-warnings') diff --git a/devel/tcl-trf/files/patch-warnings b/devel/tcl-trf/files/patch-warnings new file mode 100644 index 000000000000..327e633999e3 --- /dev/null +++ b/devel/tcl-trf/files/patch-warnings @@ -0,0 +1,29 @@ +--- generic/transformInt.h Tue Aug 21 01:51:33 2001 ++++ generic/transformInt.h Tue Apr 6 12:27:33 2004 +@@ -678,4 +678,8 @@ + #define TCL_STORAGE_CLASS DLLIMPORT + ++#ifndef CONST84 ++# define CONST84 ++#endif ++ + #ifdef __cplusplus + } +--- generic/trfStubLib.c Mon Sep 20 17:07:24 1999 ++++ generic/trfStubLib.c Tue Apr 6 13:13:38 2004 +@@ -61,5 +61,5 @@ + #endif + +-char * ++CONST char * + Trf_InitStubs(interp, version, exact) + Tcl_Interp *interp; +--- generic/registry.c 2009-06-18 00:54:44.000000000 -0400 ++++ generic/registry.c 2009-07-12 21:05:24.000000000 -0400 +@@ -1405,5 +1405,5 @@ + * [Bug 2788106]. + */ +- ckfree(trans); ++ ckfree((void *)trans); + + DONE (TrfClose); -- cgit v1.2.3