25 |
SRC_URI=( |
SRC_URI=( |
26 |
sourceforge://${PNAME}/${SRCFILE} |
sourceforge://${PNAME}/${SRCFILE} |
27 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
|
mirror://${PNAME}/${PNAME}-1.5.0-libX11-segfault-fix.patch |
|
28 |
) |
) |
29 |
|
|
30 |
src_prepare() |
src_prepare() |
32 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
33 |
cd ${SRCDIR} |
cd ${SRCDIR} |
34 |
|
|
|
# fixes segfaults with >=libX11-1.1.1 |
|
|
mpatch ${PNAME}-1.5.0-libX11-segfault-fix.patch || die |
|
|
|
|
35 |
# force use of our CFLAGS |
# force use of our CFLAGS |
36 |
sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |
sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |
37 |
} |
} |