19 |
SRC_URI=( |
SRC_URI=( |
20 |
gnu://${PNAME}/${SRCFILE} |
gnu://${PNAME}/${SRCFILE} |
21 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
22 |
|
mirror://${PNAME}/${PNAME}-1.4.14-fix-includes.patch |
23 |
|
mirror://${PNAME}/${PNAME}-${PVER}-readlink-einval.patch |
24 |
|
mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch |
25 |
) |
) |
26 |
|
|
27 |
UP2DATE="updatecmd_gnu ${PNAME}" |
UP2DATE="updatecmd_gnu ${PNAME}" |
28 |
|
|
29 |
|
src_prepare() |
30 |
|
{ |
31 |
|
munpack ${SRCFILE} || die |
32 |
|
cd ${SRCDIR} |
33 |
|
|
34 |
|
# fix missing includes |
35 |
|
mpatch ${PNAME}-1.4.14-fix-includes.patch || die |
36 |
|
|
37 |
|
# fix src_check |
38 |
|
mpatch ${PNAME}-${PVER}-readlink-einval.patch || die |
39 |
|
|
40 |
|
# fix ftbfs against newer glibc (>=2.16) |
41 |
|
mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die |
42 |
|
} |
43 |
|
|
44 |
src_compile() |
src_compile() |
45 |
{ |
{ |
46 |
cd ${SRCDIR} |
cd ${SRCDIR} |