[arch-commits] Commit in mysql/repos (extra-x86_64 extra-x86_64/PKGBUILD)

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


    Date: Wednesday, September 16, 2009 @ 05:48:51
  Author: douglas
Revision: 52132

Merged revisions 52131 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/mysql/trunk

........
  r52131 | douglas | 2009-09-16 09:47:05 +0000 (Qua, 16 Set 2009) | 2 lines
  
  upgpkg: mysql 5.1.38-1
      Updated to 5.1.38
........

Modified:
  mysql/repos/extra-x86_64/	(properties)
  mysql/repos/extra-x86_64/PKGBUILD

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


Property changes on: mysql/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /mysql/trunk:1-48129
   + /mysql/trunk:1-52131

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-09-16 09:47:05 UTC (rev 52131)
+++ extra-x86_64/PKGBUILD	2009-09-16 09:48:51 UTC (rev 52132)
@@ -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