svn commit: r327573 - head/devel/tcl-trf/files

Mikhail Teterin mi at FreeBSD.org
Wed Sep 18 20:07:28 UTC 2013


Author: mi
Date: Wed Sep 18 20:07:27 2013
New Revision: 327573
URL: http://svnweb.freebsd.org/changeset/ports/327573

Log:
  Fix the build in case, a stricter compiler and Tcl-8.6 are used. Keep compatibility
  with Tcl-8.4, however.
  
  Notified by:	pkg-fallout@

Modified:
  head/devel/tcl-trf/files/patch-warnings

Modified: head/devel/tcl-trf/files/patch-warnings
==============================================================================
--- head/devel/tcl-trf/files/patch-warnings	Wed Sep 18 18:39:14 2013	(r327572)
+++ head/devel/tcl-trf/files/patch-warnings	Wed Sep 18 20:07:27 2013	(r327573)
@@ -19,7 +19,7 @@
  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
++++ generic/registry.c	2013-09-18 15:16:57.000000000 -0400
 @@ -1405,5 +1405,5 @@
     * [Bug 2788106].
     */
@@ -27,3 +27,25 @@
 +  ckfree((void *)trans);
  
    DONE (TrfClose);
+@@ -1835,5 +1835,4 @@
+   TrfTransformationInstance* trans = (TrfTransformationInstance*) instanceData;
+   int         result;
+-  Tcl_Channel parent;
+   int         newLoc;
+ 
+@@ -1841,6 +1840,4 @@
+   PRINT ("(Mode = %d, Offset = %ld)\n", mode, offset); FL;
+ 
+-  parent = DOWNC (trans);
+-
+   /*
+    * Several things to look at before deciding what to do.
+@@ -3398,5 +3395,7 @@
+      * blowing the stack.
+      */
+-
++#if TCL_MAJOR_VERSION > 8 || TCL_MINOR_VERSION > 4
++    const
++#endif
+     Tcl_ChannelType*    parentType     = Tcl_GetChannelType  (parent);
+     Tcl_DriverSeekProc* parentSeekProc = Tcl_ChannelSeekProc (parentType);


More information about the svn-ports-all mailing list