244 |
ftp://ftp.freedesktop.org/pub/mesa/${PVER%_*}/${SRCFILE} |
ftp://ftp.freedesktop.org/pub/mesa/${PVER%_*}/${SRCFILE} |
245 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
246 |
mirror://${PNAME}/${PNAME}-${PVER}-loader-fstat-fix-implicit-function-declaration.patch |
mirror://${PNAME}/${PNAME}-${PVER}-loader-fstat-fix-implicit-function-declaration.patch |
247 |
|
mirror://${PNAME}/${PNAME}-${PVER}-llvm36.patch |
248 |
) |
) |
249 |
|
|
250 |
#UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | highesttarball xz" |
#UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | highesttarball xz" |
570 |
# see commit: http://cgit.freedesktop.org/mesa/mesa/commit/src/loader/loader.c?id=771cd266b9d00bdcf2cf7acaa3c8363c358d7478 |
# see commit: http://cgit.freedesktop.org/mesa/mesa/commit/src/loader/loader.c?id=771cd266b9d00bdcf2cf7acaa3c8363c358d7478 |
571 |
mpatch ${PNAME}-${PVER}-loader-fstat-fix-implicit-function-declaration.patch || die |
mpatch ${PNAME}-${PVER}-loader-fstat-fix-implicit-function-declaration.patch || die |
572 |
|
|
573 |
|
# llvm-3.6 fix |
574 |
|
mpatch ${PNAME}-${PVER}-llvm36.patch || die |
575 |
|
|
576 |
# no debug code in the drives (gentoo) |
# no debug code in the drives (gentoo) |
577 |
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/" ;' |
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/" ;' |
578 |
|
|