forked from NetBSD/pkgsrc-wip
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The include order in Tcl was incorrect when tommath.h is included in the system libraires. The fake tommath.h in tcl/generic must be found before the real tommath.h
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$NetBSD$ | ||
|
||
Must see Tcl's tommath.h before the system version | ||
|
||
--- src/gui/tcltk/tcl/unix/Makefile.in.orig 2016-07-08 12:09:37 -04:00 | ||
+++ src/gui/tcltk/tcl/unix/Makefile.in | ||
@@ -107,7 +107,7 @@ CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ | ||
#CFLAGS = $(CFLAGS_DEBUG) | ||
#CFLAGS = $(CFLAGS_OPTIMIZE) | ||
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) | ||
-CFLAGS = @CFLAGS_DEFAULT@ @CFLAGS@ | ||
+CFLAGS = -I${GENERIC_DIR} @CFLAGS_DEFAULT@ @CFLAGS@ | ||
|
||
# Flags to pass to the linker | ||
LDFLAGS_DEBUG = @LDFLAGS_DEBUG@ | ||
|