--- smage/trunk/core/mesa/mesa-10.4.6-r1.smage2 2015/09/23 14:58:26 7676 +++ smage/trunk/core/mesa/mesa-10.4.6-r1.smage2 2015/09/23 15:11:45 7677 @@ -244,6 +244,7 @@ ftp://ftp.freedesktop.org/pub/mesa/${PVER%_*}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-loader-fstat-fix-implicit-function-declaration.patch + mirror://${PNAME}/${PNAME}-${PVER}-llvm36.patch ) #UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | highesttarball xz" @@ -569,6 +570,9 @@ # see commit: http://cgit.freedesktop.org/mesa/mesa/commit/src/loader/loader.c?id=771cd266b9d00bdcf2cf7acaa3c8363c358d7478 mpatch ${PNAME}-${PVER}-loader-fstat-fix-implicit-function-declaration.patch || die + # llvm-3.6 fix + mpatch ${PNAME}-${PVER}-llvm36.patch || die + # no debug code in the drives (gentoo) all-abis 'find src/mesa/drivers/dri -name *.[hc] -exec egrep -l "\#define\W+DO_DEBUG\W+1" {} \; | xargs --no-run-if-empty sed -i -re "s/\#define\W+DO_DEBUG\W+1/\#define DO_DEBUG 0/" ;'