Magellan Linux

Diff of /smage/trunk/extras/mesa/mesa-7.8.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 582 by niro, Wed Oct 13 20:38:29 2010 UTC revision 583 by niro, Wed Oct 13 20:45:40 2010 UTC
# Line 51  SRC_URI=( Line 51  SRC_URI=(
51   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
52   mirror://${PNAME}/libGLU.la   mirror://${PNAME}/libGLU.la
53   mirror://${PNAME}/libGL.la   mirror://${PNAME}/libGL.la
54     mirror://${PNAME}/${PNAME}-${PVER}-libdrm-fix.patch
55  )  )
56    
57  UP2DATE="updatecmd_sourceforge mesa3d MesaLib"  UP2DATE="updatecmd_sourceforge mesa3d MesaLib"
# Line 59  src_prepare() Line 60  src_prepare()
60  {  {
61   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
62    
63     # fix build issues with libdrm-2.4.20
64     # see: https://bugs.freedesktop.org/show_bug.cgi?id=27612
65     mpatch ${PNAME}-${PVER}-libdrm-fix.patch || die
66    
67   # no debug code in the drives (gentoo)   # no debug code in the drives (gentoo)
68   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/" ;'   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/" ;'
69    
# Line 93  src_compile() Line 98  src_compile()
98   mmake || die   mmake || die
99  }  }
100    
101  src_install()  mcore_generic_src_install()
102  {  {
103   # needed directories   # needed directories
104   minstalldir /etc/env.d || die   minstalldir /etc/env.d || die

Legend:
Removed from v.582  
changed lines
  Added in v.583