Check-in [6e18ecd7b2]
Overview
Comment:Fixed patch based on testing from Andreas
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6e18ecd7b2ccdfb5fb86dfb6e88d2d1a33579862
User & Date: rkeene on 2014-06-24 21:32:11
Other Links: manifest | tags
Context
2014-07-16
03:37
Added a "proc" sub-command to generate C stubs to call Tcl code check-in: e9115a162e user: rkeene tags: trunk
2014-06-24
21:32
Fixed patch based on testing from Andreas check-in: 6e18ecd7b2 user: rkeene tags: trunk
20:50
Added support for compiling on Solaris, hopefully check-in: cd7f26aad3 user: rkeene tags: trunk
Changes

Modified build/tcc-patches/0.9.26/tcc-0.9.26-unix.diff from [312fef1211] to [5db5ed3430].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -uNr tcc-0.9.26.orig/configure tcc-0.9.26-1unix/configure
--- tcc-0.9.26.orig/configure	2013-02-15 08:24:00.000000000 -0600
+++ tcc-0.9.26-1unix/configure	2014-06-24 15:47:30.088507000 -0500
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 #
 # tcc configure script (c) 2003 Fabrice Bellard
 
@@ -527,7 +527,9 @@
          esac
          ;;
     esac
-    ln -sfn $tgt $2
+    if [ ! -d "$2" ]; then
+        ln -s -f $tgt $2
+    fi
 }
 
 if test "$source_path_used" = "yes" ; then


|












|




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -uNr tcc-0.9.26.orig/configure tcc-0.9.26-1unix/configure
--- tcc-0.9.26.orig/configure	2013-02-15 08:24:00.000000000 -0600
+++ tcc-0.9.26-1unix/configure	2014-06-24 16:31:54.358507000 -0500
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 #
 # tcc configure script (c) 2003 Fabrice Bellard
 
@@ -527,7 +527,9 @@
          esac
          ;;
     esac
-    ln -sfn $tgt $2
+    if [ ! -d "$2" ]; then
+        ln -f -s $tgt $2
+    fi
 }
 
 if test "$source_path_used" = "yes" ; then