summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-10-24 15:46:54 +0200
committermsvensson@neptunus.(none) <>2006-10-24 15:46:54 +0200
commite8881843a9b4dde94b6076695eee6d3940ecbc21 (patch)
treea0aeea2659765e4badfed2a7185a285a179959e0
parent33a200d73dde609418d8096a4795694f5be885f5 (diff)
parent4bd1021a034502878c06b676067ec0a70ba20654 (diff)
downloadmariadb-git-e8881843a9b4dde94b6076695eee6d3940ecbc21.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
-rw-r--r--client/mysqldump.c4
-rw-r--r--configure.in12
-rwxr-xr-xnetware/BUILD/mwldnlm7
3 files changed, 21 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 229ba103ab4..992f20db6b6 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1208,7 +1208,7 @@ static void print_xml_tag(FILE * xml_file, const char* sbeg, const char* send,
const char* first_attribute_name, ...)
{
va_list arg_list;
- char *attribute_name, *attribute_value;
+ const char *attribute_name, *attribute_value;
fputs(sbeg, xml_file);
fputc('<', xml_file);
@@ -1458,7 +1458,7 @@ static uint dump_events_for_db(char *db)
static void print_blob_as_hex(FILE *output_file, const char *str, ulong len)
{
/* sakaik got the idea to to provide blob's in hex notation. */
- char *ptr= str, *end= ptr + len;
+ const char *ptr= str, *end= ptr + len;
for (; ptr < end ; ptr++)
fprintf(output_file, "%02X", *((uchar *)ptr));
check_io(output_file);
diff --git a/configure.in b/configure.in
index 22de4f2ff17..f1e0409c723 100644
--- a/configure.in
+++ b/configure.in
@@ -1060,6 +1060,18 @@ EOF
s,\(extra/comp_err\)\$(EXEEXT),\1.linux,
EOF
;;
+ libmysql/Makefile.in)
+ cat > $filesed << EOF
+s,libyassl.la,.libs/libyassl.a,
+s,libtaocrypt.la,.libs/libtaocrypt.a,
+EOF
+ ;;
+ libmysql_r/Makefile.in)
+ cat > $filesed << EOF
+s,libyassl.la,.libs/libyassl.a,
+s,libtaocrypt.la,.libs/libtaocrypt.a,
+EOF
+ ;;
client/Makefile.in)
#
cat > $filesed << EOF
diff --git a/netware/BUILD/mwldnlm b/netware/BUILD/mwldnlm
index cc8c9e63c6e..b1822827b59 100755
--- a/netware/BUILD/mwldnlm
+++ b/netware/BUILD/mwldnlm
@@ -3,6 +3,13 @@
# stop on errors
set -e
+# If libtool passes "x" as the first argument to this script
+# it's an indication that libtool is trying to unpack .la's
+# so they can be added to a new library
+# This step does not work on Netware and we avoid it by
+# replacing the .la library with the path to the .a library
+# in Makefile.in
+
args=" $*"
# NOTE: Option 'pipefail' is not standard sh