Date: Wednesday, May 14, 2014 @ 16:26:47 Author: svenstaro Revision: 111126
upgpkg: cuda 6.0.37-2 allow gcc 4.9 to work more or less I guess Modified: cuda/trunk/PKGBUILD ----------+ PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-05-14 14:19:59 UTC (rev 111125) +++ PKGBUILD 2014-05-14 14:26:47 UTC (rev 111126) @@ -2,7 +2,7 @@ # Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> pkgname=cuda pkgver=6.0.37 -pkgrel=1 +pkgrel=2 pkgdesc="NVIDIA's GPU programming toolkit" arch=('x86_64') url="http://www.nvidia.com/object/cuda_home.html" @@ -47,6 +47,9 @@ perl install-linux.pl -prefix="${pkgdir}/opt/cuda" -noprompt perl install-sdk-linux.pl -cudaprefix="${pkgdir}/opt/cuda" -prefix="${pkgdir}/opt/cuda/samples" -noprompt + # allow gcc 4.9 to work + sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h + install -Dm755 "${srcdir}/cuda.sh" "${pkgdir}/etc/profile.d/cuda.sh" install -Dm644 "${srcdir}/cuda.conf" "${pkgdir}/etc/ld.so.conf.d/cuda.conf"