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