Check-in [abc83d3b1d]
Overview
Comment:Added script to remove "fixstrtod" in Tk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: abc83d3b1d19f9aec19f7f40d51a17cc2b494a1d
User & Date: rkeene on 2014-05-29 05:15:56
Other Links: manifest | tags
Context
2014-05-29
05:19
Unified cross-compiling detection and configuration check-in: 6b648f7f4d user: rkeene tags: trunk
05:15
Added script to remove "fixstrtod" in Tk check-in: abc83d3b1d user: rkeene tags: trunk
2014-05-27
14:20
Added support for a manual knob (KC_CROSSCOMPILE) for determing whether fake xmkmf wrapper is used check-in: f49c630023 user: rkeene tags: trunk
Changes

Added tk/patchscripts/fixfixstrtod.sh version [039781ed67].
















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/bash

# The "fix" for strtod:
#    1. Only applies to Solaris 2.4 (which noone should use)
#    2. Does not actually link against the file (which is
#       not even in Tk 8.6.1) that would supply such a symbol

grep -v '#define strtod fixstrtod' unix/configure > unix/configure.new
cat unix/configure.new > unix/configure
rm -f unix/configure.new

grep -v '#define strtod fixstrtod' macosx/configure > macosx/configure.new
cat macosx/configure.new > macosx/configure
rm -f macosx/configure.new