[arch-commits] Commit in mysql/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Wed May 19 16:16:28 UTC 2010


    Date: Wednesday, May 19, 2010 @ 12:16:27
  Author: andrea
Revision: 80564

gcc 4.5 fix (FS#19520)

Modified:
  mysql/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-05-19 16:11:07 UTC (rev 80563)
+++ PKGBUILD	2010-05-19 16:16:27 UTC (rev 80564)
@@ -13,10 +13,12 @@
 makedepends=('tcp_wrappers' 'zlib' 'perl' 'openssl' 'libtool' 'patch')
 options=('!libtool')
 source=("http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.1/${pkgbase}-${pkgver}.tar.gz"
-        'mysqld' 'my.cnf')
+        'mysqld' 'my.cnf'
+	'gcc4.5.patch')
 md5sums=('04f7c1422199c73a88a3d408b9161b63'
          '2832c3ed6c70c198785ade1b2d9c0404'
-         '0337741fa9afbe57939993636081a827')
+         '0337741fa9afbe57939993636081a827'
+	 '4cbf0fc3eb76057f7a8dd52a3e2a58e6')
 
 build() {
   cd ${srcdir}/${pkgbase}-${pkgver}
@@ -27,6 +29,8 @@
   CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing"
   CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing"
 
+  patch -Np1 -i ${srcdir}/gcc4.5.patch
+
   ./configure --prefix=/usr \
     --libexecdir=/usr/sbin \
     --localstatedir=/var \




More information about the arch-commits mailing list