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

Douglas Soares de Andrade douglas at archlinux.org
Wed Sep 16 09:47:05 UTC 2009


    Date: Wednesday, September 16, 2009 @ 05:47:05
  Author: douglas
Revision: 52131

upgpkg: mysql 5.1.38-1
    Updated to 5.1.38

Modified:
  mysql/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-09-16 08:52:34 UTC (rev 52130)
+++ PKGBUILD	2009-09-16 09:47:05 UTC (rev 52131)
@@ -3,7 +3,7 @@
 # Contributor: judd <jvinet at zeroflux.org>
 
 pkgname=mysql
-pkgver=5.1.37
+pkgver=5.1.38
 pkgrel=1
 pkgdesc="A fast SQL database server"
 arch=(i686 x86_64)
@@ -23,6 +23,13 @@
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
+
+  # fix build with gcc 4.4
+  # see http://bugs.archlinux.org/task/15242
+  # and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562
+  CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing"
+  CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing"
+
   patch -Np1 -i ${startdir}/src/mysql-no-clients.patch || return 1
   patch -Np1 -i ${startdir}/src/mysql-fix-libs.patch || return 1
 
@@ -55,7 +62,7 @@
   # Cleanup files provided by the other packages
   rm -rf $pkgdir/usr/{include,lib}
 }
-md5sums=('cbdb8783b053019755ee9196f67ea04c'
+md5sums=('8ee9bb80079bbd09499a28bc57d902e7'
          '8dce7e2b9f1f6ed6eca8bd62144bad0a'
          'd1921e85821a66196c24ef6e5346b572'
          'c093cc7eef5934f56f8bc775b559904b'




More information about the arch-commits mailing list