| 1 |
Description: Remaining unsplit changes from previous packager |
| 2 |
Includes the rest of the changes that were applied to the source code by |
| 3 |
previous packager. |
| 4 |
Author: Paul E. Johnson (Debian Packaging) <[email protected]> |
| 5 |
|
| 6 |
--- a/configure.in |
| 7 |
+++ b/configure.in |
| 8 |
@@ -349,7 +349,7 @@ |
| 9 |
old_flags="$CFLAGS" |
| 10 |
CFLAGS="-g -lm" |
| 11 |
AC_MSG_CHECKING([whether DBL_EPSILON can be computed]) |
| 12 |
|
| 13 |
+ AC_TRY_RUN_WITH_OUTPUT([blt_cv_dbl_epsilon], [ |
| 14 |
main () { |
| 15 |
double e, u; |
| 16 |
/* |
| 17 |
--- a/generic/bltTree.c |
| 18 |
+++ b/generic/bltTree.c |
| 19 |
@@ -114,16 +114,18 @@ |
| 20 |
|
| 21 |
#define REBUILD_MULTIPLIER 3 |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
#if (SIZEOF_VOID_P == 8) |
| 29 |
#define RANDOM_INDEX(i) HashOneWord(mask, downshift, i) |
| 30 |
#define BITSPERWORD 64 |
| 31 |
+#define START_LOGSIZE 10 |
| 32 |
+#define MAX_LIST_VALUES 40 |
| 33 |
#else |
| 34 |
|
| 35 |
+#define START_LOGSIZE 5 /* Initial hash table size is 32. */ |
| 36 |
+#define MAX_LIST_VALUES 21 /* Convert to hash table when node |
| 37 |
+ * value list gets bigger than this |
| 38 |
+ * many values. */ |
| 39 |
+ |
| 40 |
/* |
| 41 |
* The following macro takes a preliminary integer hash value and |
| 42 |
* produces an index into a hash tables bucket list. The idea is |
| 43 |
--- a/generic/bltText.c |
| 44 |
+++ b/generic/bltText.c |
| 45 |
@@ -881,6 +881,9 @@ |
| 46 |
Pixmap bitmap; |
| 47 |
int active; |
| 48 |
|
| 49 |
+ if (!textPtr) |
| 50 |
+ return; |
| 51 |
+ |
| 52 |
display = Tk_Display(tkwin); |
| 53 |
theta = FMOD(tsPtr->theta, (double)360.0); |
| 54 |
if (theta < 0.0) { |
| 55 |
--- a/generic/bltNsUtil.h |
| 56 |
+++ b/generic/bltNsUtil.h |
| 57 |
@@ -54,7 +54,7 @@ |
| 58 |
#ifndef WIN32 |
| 59 |
#if 0 |
| 60 |
EXTERN Tcl_Command Tcl_FindCommand _ANSI_ARGS_((Tcl_Interp *interp, |
| 61 |
|
| 62 |
+ CONST char *name, Tcl_Namespace *nsPtr, int flags)); |
| 63 |
|
| 64 |
|
| 65 |
/* |
| 66 |
@@ -66,15 +66,15 @@ |
| 67 |
|
| 68 |
#if (TCL_MAJOR_VERSION >= 8) |
| 69 |
EXTERN Tcl_Namespace *Tcl_CreateNamespace _ANSI_ARGS_((Tcl_Interp *interp, |
| 70 |
|
| 71 |
+ CONST char *name, ClientData clientData, Tcl_NamespaceDeleteProc *nsDelProc)); |
| 72 |
|
| 73 |
EXTERN void Tcl_DeleteNamespace _ANSI_ARGS_((Tcl_Namespace *nsPtr)); |
| 74 |
|
| 75 |
EXTERN Tcl_Namespace *Tcl_FindNamespace _ANSI_ARGS_((Tcl_Interp *interp, |
| 76 |
|
| 77 |
+ CONST char *name, Tcl_Namespace *context, int flags)); |
| 78 |
|
| 79 |
EXTERN int Tcl_Export _ANSI_ARGS_((Tcl_Interp *interp, Tcl_Namespace *nsPtr, |
| 80 |
|
| 81 |
+ CONST char *name, int resetFlag)); |
| 82 |
|
| 83 |
EXTERN Tcl_Var Tcl_FindNamespaceVar _ANSI_ARGS_((Tcl_Interp *interp, char *name, |
| 84 |
Tcl_Namespace *contextNsPtr, int flags)); |
| 85 |
--- a/demos/scripts/page.tcl |
| 86 |
+++ b/demos/scripts/page.tcl |
| 87 |
@@ -1,4 +1,4 @@ |
| 88 |
|
| 89 |
+#!/usr/bin/tclsh8.6 |
| 90 |
|
| 91 |
array set page " |
| 92 |
rows 2 |
| 93 |
--- a/demos/scripts/xcolors.tcl |
| 94 |
+++ b/demos/scripts/xcolors.tcl |
| 95 |
@@ -1,3 +1,4 @@ |
| 96 |
+# |
| 97 |
#!../bltwish |
| 98 |
# |
| 99 |
# Tk version of xcolors |