Skip to content

Commit c0ed252

Browse files
- Applied various patches provided by Christian Hammers (MySQL maintainer
for the Debian project) to fix some architecture-specific problems and some bugs
1 parent 446b9c0 commit c0ed252

20 files changed

+50
-31
lines changed

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ AUTOMAKE_OPTIONS = foreign
2121
# These are built from source in the Docs directory
2222
EXTRA_DIST = INSTALL-SOURCE README \
2323
COPYING COPYING.LIB MIRRORS
24-
SUBDIRS = include @docs_dirs@ @readline_dir@ \
24+
SUBDIRS = . include @docs_dirs@ @readline_dir@ \
2525
@thread_dirs@ @sql_client_dirs@ \
2626
@sql_server_dirs@ scripts tests man \
27-
@bench_dirs@ support-files os2
27+
@bench_dirs@ support-files os2 libmysql_r
2828

2929
# Relink after clean
3030
CLEANFILES = linked_client_sources linked_server_sources linked_libmysql_sources linked_libmysql_r_sources linked_include_sources

bdb/dist/aclocal/mutex.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ fi
279279
dnl Sparc/gcc: SunOS, Solaris
280280
dnl The sparc/gcc code doesn't always work, specifically, I've seen assembler
281281
dnl failures from the stbar instruction on SunOS 4.1.4/sun4c and gcc 2.7.2.2.
282-
if test "$db_cv_mutex" = DOESNT_WORK; then
282+
if test "$db_cv_mutex" = no; then
283283
AC_TRY_RUN([main(){
284284
#if defined(__sparc__)
285285
#if defined(__GNUC__)

bdb/include/mutex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ typedef unsigned char tsl_t;
327327
*/
328328
#define MUTEX_SET(tsl) ({ \
329329
register tsl_t *__l = (tsl); \
330-
int __r; \
330+
unsigned char __r; \
331331
asm volatile("tas %1; \n \
332332
seq %0" \
333333
: "=dm" (__r), "=m" (*__l) \

ltconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,6 +3009,16 @@ hardcode_action=$hardcode_action
30093009
# This must work even if \$libdir does not exist.
30103010
hardcode_libdir_flag_spec=$hardcode_libdir_flag_spec
30113011
3012+
# Check if debuild is being run by the current shell. If it is then,
3013+
# the DEB_BUILD_ARCH variable should be of non-zero length, indicating
3014+
# that we are in the middle of a Debian package build (assuming the
3015+
# user isn't doing anything strange with environment variables).
3016+
if test -n "`dpkg-architecture -qDEB_BUILD_ARCH`" && ps | grep debuild | grep -v grep > /dev/null; then
3017+
# Debian policy mandates that rpaths should not be encoded into a binary
3018+
# so it is overridden.
3019+
hardcode_libdir_flag_spec=" -D_DEBIAN_PATCHED_LIBTOOL_ "
3020+
fi
3021+
30123022
# Whether we need a single -rpath flag with a separated argument.
30133023
hardcode_libdir_separator=$hardcode_libdir_separator
30143024

man/isamchk.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH ISAMCHK 1 "19 December 2000"
1+
.TH isamchk 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
.BR isamchk
44
\- Description, check and repair of ISAM tables.

man/isamlog.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH ISAMLOG 1 "20 December 2000"
1+
.TH isamlog 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
isamlog - Write info about whats in a nisam log file.
44
.SH USAGE

man/mysql.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH MYSQL 1 "13 June 1997"
1+
.TH mysql 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
mysql \- text-based client for mysqld, a SQL-based relational database daemon
44
.SH SYNOPSIS

man/mysql_zap.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH ZAP 1 "20 December 2000"
1+
.TH zap 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
zap - a perl script used to kill processes
44
.SH USAGE

man/mysqlaccess.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH MYSQLACCESS 1 "19 December 2000"
1+
.TH mysqlaccess 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
.BR mysqlaccess
44
\- Create new users to mysql.

man/mysqladmin.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH MYSQLADMIN 1 "18 December 2000"
1+
.TH mysqladmin 1 "19 December 2000" "MySQL 3.23" "MySQL database"
22
.SH NAME
33
mysqladmin [OPTIONS] command command.... \- A utility for performing administrative operations
44
.SH OPTION SYNOPSIS

0 commit comments

Comments
 (0)