File: usetclint.patch

package info (click to toggle)
blt 2.5.3%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 25,284 kB
  • ctags: 38,407
  • sloc: ansic: 133,724; tcl: 17,680; sh: 2,722; makefile: 803; cpp: 370
file content (36 lines) | stat: -rw-r--r-- 953 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: Patch adds missing headers which helps building BLT on
    64-bit architectures.
Author: Matthias Klose
Last-Modified: Sun, 06 Jul 2014 07:28:14 +0400

--- a/generic/bltNsUtil.c
+++ b/generic/bltNsUtil.c
@@ -27,6 +27,8 @@
 
 #include "bltInt.h"
 #include "bltList.h"
+#include "bltNsUtil.h"
+#include "tclInt.h"
 
 /* Namespace related routines */
 
--- a/configure
+++ b/configure
@@ -3493,6 +3493,7 @@
 	"${TCL_INC_DIR}" != "${TK_INC_DIR}" ; then
   INC_SPECS="${INC_SPECS} -I${TCL_INC_DIR}"
 fi
+INC_SPECS="${INC_SPECS} -I${TCL_SRC_DIR}/generic -I${TCL_SRC_DIR}/unix"
 
 
 # On Windows, override the default include directory with our own.
--- a/configure.in
+++ b/configure.in
@@ -825,6 +825,7 @@
 	"${TCL_INC_DIR}" != "${TK_INC_DIR}" ; then
   INC_SPECS="${INC_SPECS} -I${TCL_INC_DIR}"
 fi
+INC_SPECS="${INC_SPECS} -I${TCL_SRC_DIR}/generic -I${TCL_SRC_DIR}/unix"
 
 
 # On Windows, override the default include directory with our own.