diff options
author | Mark Brand <mabrand@mabrand.nl> | 2010-09-13 15:38:10 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2010-09-13 15:38:10 (GMT) |
commit | f03c9ed75e8c1722613e3c341659ac5e0d3814a9 (patch) | |
tree | c5844321c9592d2c71c0fa19c21f997bd9e57868 /src | |
parent | cc37fe7f5ec1a702ba1b1be95ed50371a41881ac (diff) | |
download | mxe-f03c9ed75e8c1722613e3c341659ac5e0d3814a9.zip mxe-f03c9ed75e8c1722613e3c341659ac5e0d3814a9.tar.gz mxe-f03c9ed75e8c1722613e3c341659ac5e0d3814a9.tar.bz2 |
package freetds: fixed generation of configure script (by Tony Theodore)
The ./configure script produced by autoreconf has a dangling dot on
line 5 that causes the script to stop. This is caused by a quirk in
OSX sh.
From man echo:
Most notably, the builtin echo in sh(1) does not accept the -n option.
Applications aiming for maximum portability are strongly encouraged to use
printf(1) to suppress the newline character.
Tested on FreeBSD, openSUSE, OSX, and Ubuntu.
Diffstat (limited to 'src')
-rw-r--r-- | src/freetds-2-fixes.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/freetds-2-fixes.patch b/src/freetds-2-fixes.patch new file mode 100644 index 0000000..7d5654d --- /dev/null +++ b/src/freetds-2-fixes.patch @@ -0,0 +1,18 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +This patch has been taken from: +http://lists.ibiblio.org/pipermail/freetds/2010q3/026273.html + +diff -ur orig/configure.ac new/configure.ac +--- orig/configure.ac 2010-09-13 22:54:42.000000000 +1000 ++++ new/configure.ac 2010-09-13 22:56:35.000000000 +1000 +@@ -12,7 +12,7 @@ + # ------------------------------------------------------------ + # Initialization + # ------------------------------------------------------------ +-AC_INIT(FreeTDS, 0.83.dev.esyscmd(echo -n $(date +"%Y%m%d"))) ++AC_INIT(FreeTDS, 0.83.dev.esyscmd(printf $(date +"%Y%m%d"))) + AC_CONFIG_SRCDIR(src/dblib/dblib.c) + AC_PREREQ(2.53) + AC_REVISION($Revision: 1.55 $) |