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

Pierre Schmitz pierre at archlinux.org
Wed Jun 24 08:19:37 EDT 2009


    Date: Wednesday, June 24, 2009 @ 08:19:37
  Author: pierre
Revision: 43468

Merged revisions 43467 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/libmysqlclient/trunk

........
  r43467 | pierre | 2009-06-24 14:19:01 +0200 (Mi, 24 Jun 2009) | 2 lines
  
  upgpkg: libmysqlclient 5.1.35-2
      fix FS#15242
........

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

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)


Property changes on: libmysqlclient/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /libmysqlclient/trunk:1-41974
   + /libmysqlclient/trunk:1-43467

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-06-24 12:19:01 UTC (rev 43467)
+++ extra-x86_64/PKGBUILD	2009-06-24 12:19:37 UTC (rev 43468)
@@ -3,19 +3,22 @@
 
 pkgname=libmysqlclient
 pkgver=5.1.35
-pkgrel=1
+pkgrel=2
 pkgdesc="MySQL client libraries"
 arch=(i686 x86_64)
-depends=('openssl' 'zlib')
-makedepends=('gcc' 'readline' 'tcp_wrappers' 'libtool')
+depends=('openssl' 'zlib' 'gcc-libs' 'tcp_wrappers')
+makedepends=('readline' 'libtool')
 options=('!libtool')
 license=('GPL')
 url=('http://www.mysql.com/')
 source=(ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/mysql-$pkgver.tar.gz)
 
 build() {
-  CFLAGS="-fPIC ${CFLAGS}"
-  CXXFLAGS="-fPIC ${CXXFLAGS}"
+  # 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"
   cd $startdir/src/mysql-${pkgver}
   ./configure --prefix=/usr --libexecdir=/usr/sbin \
     --localstatedir=/var --sysconfdir=/etc \



More information about the arch-commits mailing list