20 |
SRC_URI=( |
SRC_URI=( |
21 |
http://dri.freedesktop.org/${PNAME}/${SRCFILE} |
http://dri.freedesktop.org/${PNAME}/${SRCFILE} |
22 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
mirror://${PNAME}/${PNAME}-${PVER}-mesa-fix.patch |
|
23 |
) |
) |
24 |
|
|
25 |
UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" |
UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" |
26 |
|
|
|
src_prepare() |
|
|
{ |
|
|
munpack ${SRCFILE} || die |
|
|
|
|
|
# fix build issues with mesa-7.8.1 |
|
|
# see: https://bugs.freedesktop.org/show_bug.cgi?id=27612 |
|
|
mpatch ${PNAME}-${PVER}-mesa-fix.patch || die |
|
|
} |
|
|
|
|
27 |
src_compile() |
src_compile() |
28 |
{ |
{ |
29 |
# add march=native to cflags to fix compile issues |
# add march=native to cflags to fix compile issues |