Date: Friday, April 5, 2013 @ 09:25:02 Author: svenstaro Revision: 87657
upgpkg: cuda 5.0.35-4 Fix for gcc 4.8 Modified: cuda/trunk/PKGBUILD ----------+ PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-05 07:06:16 UTC (rev 87656) +++ PKGBUILD 2013-04-05 07:25:02 UTC (rev 87657) @@ -2,7 +2,7 @@ # Maintainer: Sven-Hendrik Haase <[email protected]> pkgname=cuda pkgver=5.0.35 -pkgrel=3 +pkgrel=4 pkgdesc="NVIDIA's GPU programming toolkit" arch=('i686' 'x86_64') url="http://www.nvidia.com/object/cuda_home.html" @@ -40,6 +40,9 @@ # allow gcc 4.7 to work sed -i "/unsupported GNU/d" $pkgdir/opt/cuda/include/host_config.h + # allow gcc 4.8 to work + sed -i "1 i #define __STRICT_ANSI__" $pkgdir/opt/cuda/include/cuda_runtime.h + # fix nvidia path fuckup sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nvvp sed -i "s|/build/pkg||g" $pkgdir/opt/cuda/bin/nsight
