Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/x11
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24522

Added Files:
        blt-tcltk86.patch 
Log Message:
fix blt for pymol apbstools on 10.9 using FreeBSD approach of building against 
tcl/tk 8.6.0 internal headers

--- NEW FILE: blt-tcltk86.patch ---
diff -uNr blt2.4z/src/bltArrayObj.c blt2.4z.tcltk86/src/bltArrayObj.c
--- blt2.4z/src/bltArrayObj.c   2002-07-12 14:38:47.000000000 -0400
+++ blt2.4z.tcltk86/src/bltArrayObj.c   2013-08-20 11:23:00.000000000 -0400
@@ -54,7 +54,7 @@
     Blt_HashEntry *hPtr;
     Blt_HashTable *tablePtr;
     Tcl_Obj *elemObjPtr;
-    Tcl_ObjType *oldTypePtr = objPtr->typePtr;
+    const Tcl_ObjType *oldTypePtr = objPtr->typePtr;
     char **elemArr;
     char *string;
     int isNew;
diff -uNr blt2.4z/src/bltInit.c blt2.4z.tcltk86/src/bltInit.c
--- blt2.4z/src/bltInit.c       2013-08-20 12:00:03.000000000 -0400
+++ blt2.4z.tcltk86/src/bltInit.c       2013-08-20 11:23:00.000000000 -0400
@@ -454,7 +454,7 @@
            return TCL_ERROR;
        }
        Tcl_SetAssocData(interp, BLT_THREAD_KEY, NULL, 
[...11807 lines suppressed...]
+/*
+ * These calls implement native bitmaps which are not supported under
+ * UNIX.  The macros eliminate the calls.
+ */
+
+#define TkpDefineNativeBitmaps()
+#define TkpCreateNativeBitmap(display, source) None
+#define TkpGetNativeAppBitmap(display, name, w, h) None
+
+/*
+ * This macro stores a representation of the window handle in a string.
+ * This should perhaps use the real size of an XID.
+ */
+
+#ifndef __CYGWIN__
+#define TkpPrintWindowId(buf,w) \
+       sprintf((buf), "%#08lx", (unsigned long) (w))
+#endif
+
+#endif /* _UNIXPORT */


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to