rpms/mysql/devel mysql-strmov.patch, NONE, 1.1 mysql-plugin-bug.patch, 1.10, 1.11 mysql.spec, 1.127, 1.128
Tom Lane
tgl at fedoraproject.org
Tue Sep 1 03:35:25 UTC 2009
- Previous message (by thread): rpms/emacs-magit/F-10 .cvsignore, 1.2, 1.3 emacs-magit.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message (by thread): rpms/eqntott/F-10 eqntott.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tgl
Update of /cvs/pkgs/rpms/mysql/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26606
Modified Files:
mysql-plugin-bug.patch mysql.spec
Added Files:
mysql-strmov.patch
Log Message:
Work around unportable assumptions about stpcpy()
mysql-strmov.patch:
m_string.h | 7 -------
1 file changed, 7 deletions(-)
--- NEW FILE mysql-strmov.patch ---
Remove overly optimistic definition of strmov() as stpcpy().
mysql uses this macro with overlapping source and destination strings,
which is verboten per spec, and fails on some Red Hat platforms.
Deleting the definition is sufficient to make it fall back to a
byte-at-a-time copy loop, which should consistently give the
expected behavior.
diff -Naur mysql-5.1.37.orig/include/m_string.h mysql-5.1.37/include/m_string.h
--- mysql-5.1.37.orig/include/m_string.h 2009-07-13 19:08:50.000000000 -0400
+++ mysql-5.1.37/include/m_string.h 2009-08-31 21:49:49.000000000 -0400
@@ -81,13 +81,6 @@
extern void *(*my_str_malloc)(size_t);
extern void (*my_str_free)(void *);
-#if defined(HAVE_STPCPY)
-#define strmov(A,B) stpcpy((A),(B))
-#ifndef stpcpy
-extern char *stpcpy(char *, const char *); /* For AIX with gcc 2.95.3 */
-#endif
-#endif
-
/* Declared in int2str() */
extern char NEAR _dig_vec_upper[];
extern char NEAR _dig_vec_lower[];
mysql-plugin-bug.patch:
disabled.def | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: mysql-plugin-bug.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql-plugin-bug.patch,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- mysql-plugin-bug.patch 29 Aug 2009 06:33:02 -0000 1.10
+++ mysql-plugin-bug.patch 1 Sep 2009 03:35:23 -0000 1.11
@@ -6,18 +6,14 @@ http://bugs.mysql.com/bug.php?id=42144
For the moment, just disable this test.
-Also, temporarily disable the "mysql" test --- there's something pretty
-broken there, but I haven't figured out what yet ...
-
diff -Naur mysql-5.1.37.orig/mysql-test/t/disabled.def mysql-5.1.37/mysql-test/t/disabled.def
--- mysql-5.1.37.orig/mysql-test/t/disabled.def 2009-07-13 19:43:47.000000000 -0400
+++ mysql-5.1.37/mysql-test/t/disabled.def 2009-08-02 20:43:36.000000000 -0400
-@@ -13,4 +13,6 @@
+@@ -13,4 +13,5 @@
innodb_bug39438 : Bug#42383 2009-01-28 lsoares "This fails in embedded and on windows. Note that this test is not run on windows and on embedded in PB for main trees currently"
query_cache_28249 : Bug#43861 2009-03-25 main.query_cache_28249 fails sporadically
init_connect : Bug#44920 2009-07-06 pcrews MTR not processing master.opt input properly on Windows. *Must be done this way due to the nature of the bug*
-
+#
+plugin_load : gives wrong answer on PPC64
-+mysql : fails for unclear reasons
Index: mysql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql.spec,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -p -r1.127 -r1.128
--- mysql.spec 29 Aug 2009 06:33:02 -0000 1.127
+++ mysql.spec 1 Sep 2009 03:35:23 -0000 1.128
@@ -1,6 +1,6 @@
Name: mysql
Version: 5.1.37
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: MySQL client programs and shared libraries
Group: Applications/Databases
URL: http://www.mysql.com
@@ -32,6 +32,7 @@ Patch6: mysql-stack-guard.patch
Patch7: mysql-plugin-bug.patch
Patch8: mysql-setschedparam.patch
Patch9: mysql-ndb-stacksize.patch
+Patch10: mysql-strmov.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gperf, perl, readline-devel, openssl-devel
@@ -174,6 +175,7 @@ the MySQL sources.
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
libtoolize --force
aclocal
@@ -205,13 +207,13 @@ export CFLAGS CXXFLAGS
--with-mysqld-user="mysql" \
--with-extra-charsets=all \
--with-big-tables \
- --with-innodb \
- --with-ndbcluster \
+ --with-pic \
+ --with-plugin-innobase \
+ --with-plugin-ndbcluster \
--enable-local-infile \
--enable-largefile \
--enable-thread-safe-client \
- --disable-dependency-tracking \
- --with-named-thread-libs="-lpthread"
+ --disable-dependency-tracking
gcc $CFLAGS $LDFLAGS -o scriptstub "-DLIBDIR=\"%{_libdir}/mysql\"" %{SOURCE4}
@@ -640,6 +642,10 @@ fi
%{_mandir}/man1/mysql_client_test.1*
%changelog
+* Mon Aug 31 2009 Tom Lane <tgl at redhat.com> 5.1.37-5
+- Work around unportable assumptions about stpcpy(); re-enable main.mysql test
+- Clean up some obsolete parameters to the configure script
+
* Sat Aug 29 2009 Tom Lane <tgl at redhat.com> 5.1.37-4
- Remove one misguided patch; turns out I was chasing a glibc bug
- Temporarily disable "main.mysql" test; there's something broken there too,
- Previous message (by thread): rpms/emacs-magit/F-10 .cvsignore, 1.2, 1.3 emacs-magit.spec, 1.2, 1.3 sources, 1.2, 1.3
- Next message (by thread): rpms/eqntott/F-10 eqntott.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list