Magellan Linux

Diff of /branches/R11-stable/extras/idesk/idesk-0.7.5-r5.smage2

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

revision 11222 by niro, Tue Feb 21 14:42:30 2012 UTC revision 11223 by niro, Tue Feb 21 14:46:20 2012 UTC
# Line 19  SDEPEND=">= dev-util/pkgconfig-0.25" Line 19  SDEPEND=">= dev-util/pkgconfig-0.25"
19  SRCFILE="${PNAME}-${PVER}.tar.bz2"  SRCFILE="${PNAME}-${PVER}.tar.bz2"
20  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22  sminclude mbuild mtools  sminclude mtools
23    
24  SRC_URI=(  SRC_URI=(
25   sourceforge://${PNAME}/${SRCFILE}   sourceforge://${PNAME}/${SRCFILE}
26   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
27  )  )
28    
29    src_prepare()
30    {
31     munpack ${SRCFILE} || die
32     cd ${SRCDIR}
33    
34     # fix missing includes to build with newer gcc
35     sed -i '1,1i#include <unistd.h>' src/DesktopConfig.cpp || die
36     sed -i '1,1i#include <sys/stat.h>' src/DesktopConfig.cpp || die
37     sed -i '1,1i#include <sys/types.h>' src/DesktopConfig.cpp || die
38    }
39    
40  src_compile()  src_compile()
41  {  {
42   cd ${SRCDIR}   cd ${SRCDIR}

Legend:
Removed from v.11222  
changed lines
  Added in v.11223