packages (MYSQL_5_0): mysql/mysql.spec, mysql/mysql-gcc3.patch (NEW) - atom...
glen
glen at pld-linux.org
Tue Jun 16 18:18:04 CEST 2009
Author: glen Date: Tue Jun 16 16:18:04 2009 GMT
Module: packages Tag: MYSQL_5_0
---- Log message:
- atomic memory instructions came with gcc >= 4.1
---- Files affected:
packages/mysql:
mysql.spec (1.353.2.69 -> 1.353.2.70) , mysql-gcc3.patch (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: packages/mysql/mysql.spec
diff -u packages/mysql/mysql.spec:1.353.2.69 packages/mysql/mysql.spec:1.353.2.70
--- packages/mysql/mysql.spec:1.353.2.69 Tue Jun 16 18:13:27 2009
+++ packages/mysql/mysql.spec Tue Jun 16 18:17:58 2009
@@ -84,6 +84,7 @@
Patch30: %{name}-alpha-stack.patch
Patch31: %{name}-xtrabackup.patch
Patch32: %{name}-fixes.patch
+Patch33: %{name}-gcc3.patch
URL: http://www.mysql.com/products/database/mysql/community_edition.html
BuildRequires: autoconf
BuildRequires: automake
@@ -99,7 +100,7 @@
BuildRequires: perl-devel >= 1:5.6.1
BuildRequires: readline-devel >= 4.2
BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: rpmbuild(macros) >= 1.414
+BuildRequires: rpmbuild(macros) >= 1.453
BuildRequires: sed >= 4.0
BuildRequires: texinfo
BuildRequires: zlib-devel
@@ -529,6 +530,9 @@
%endif
%{?with_xtrabackup:%patch31 -p1}
%patch32 -p1
+%if "%{cxx_version}" < "4.1"
+%patch33 -p1
+%endif
%build
%{__libtoolize}
@@ -1083,6 +1087,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.353.2.70 2009/06/16 16:17:58 glen
+- atomic memory instructions came with gcc >= 4.1
+
Revision 1.353.2.69 2009/06/16 16:13:27 glen
- split mysqlhotcopy to separate package (needs just perl-DBI, not other "extras")
================================================================
Index: packages/mysql/mysql-gcc3.patch
diff -u /dev/null packages/mysql/mysql-gcc3.patch:1.1.2.1
--- /dev/null Tue Jun 16 18:18:04 2009
+++ packages/mysql/mysql-gcc3.patch Tue Jun 16 18:17:58 2009
@@ -0,0 +1,15 @@
+--- mysql-5.0.81/innobase/include/sync0rw.h~ 2009-05-26 00:35:13.000000000 +0300
++++ mysql-5.0.81/innobase/include/sync0rw.h 2009-06-16 19:09:27.587270045 +0300
+@@ -421,12 +421,6 @@
+ #ifdef HAVE_ATOMIC_BUILTINS
+ /* This value means NOT_LOCKED */
+ #define RW_LOCK_BIAS 0x00100000
+-#else
+-#error HAVE_ATOMIC_BUILTINS is not defined. Do you use enough new GCC or compatibles?
+-#error Or do you use exact options for CFLAGS?
+-#error e.g. (for x86_32): "-m32 -march=i586 -mtune=i686"
+-#error e.g. (for Sparc_64): "-m64 -mcpu=v9"
+-#error Otherwise, this build may be slower than normal version.
+ #endif
+
+ /* NOTE! The structure appears here only for the compiler to know its size.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql.spec?r1=1.353.2.69&r2=1.353.2.70&f=u
More information about the pld-cvs-commit
mailing list