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

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Jul 11 12:27:41 EDT 2011


    Date: Monday, July 11, 2011 @ 12:27:41
  Author: andyrtr
Revision: 131188

upgpkg: mesa 7.11rc1-3
fix linking issues FS#25093 and add --enable-shared-glapi that Gentoo recommends for use with gallium-egl

Modified:
  mesa/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-11 14:53:56 UTC (rev 131187)
+++ PKGBUILD	2011-07-11 16:27:41 UTC (rev 131188)
@@ -14,7 +14,7 @@
   else
     pkgver=7.11rc1
 fi
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 makedepends=('glproto>=1.4.14' 'libdrm>=2.4.26' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.4.3' 'libxt>=1.1.1' 
              'gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'imake' 'llvm')
@@ -34,8 +34,10 @@
          '2246d97eb0cfb1f6d2bf8a54b533d07f')
 
 build() {
-    cd ${srcdir}/?esa-*   
-
+    cd ${srcdir}/?esa-*
+    # fix link errors: https://bugs.archlinux.org/task/25093
+    export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
+    
 if [ "${_git}" = "true" ]; then
     patch -Np1 -i ${srcdir}/git_fixes.patch
     autoreconf -vfi
@@ -43,7 +45,7 @@
     --with-dri-driverdir=/usr/lib/xorg/modules/dri \
     --with-gallium-drivers=r300,r600,nouveau,swrast \
     --enable-gallium-llvm \
-    --enable-gallium-egl \
+    --enable-gallium-egl --enable-shared-glapi\
     --enable-glx-tls \
     --with-driver=dri \
     --enable-xcb \



More information about the arch-commits mailing list