--- branches/magellan-next/core/mesa/mesa-7.10.2-r1.smage2 2011/05/30 16:50:43 7732 +++ branches/magellan-next/core/mesa/mesa-7.10.2-r1.smage2 2011/05/30 16:54:21 7733 @@ -72,6 +72,7 @@ mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/libGLU.la mirror://${PNAME}/libGL.la + mirror://${PNAME}/${PNAME}-${PVER}-nouveau-missing-headers.patch ) UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | lasttarball" @@ -185,6 +186,9 @@ { munpack ${SRCFILE} || die + # fix missing nouveau headers + mpatch ${PNAME}-${PVER}-nouveau-missing-headers.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 sed -i -re "s/\#define\W+DO_DEBUG\W+1/\#define DO_DEBUG 0/" ;'