21 |
SRC_URI=( |
SRC_URI=( |
22 |
gnu://${PNAME}/${SRCFILE} |
gnu://${PNAME}/${SRCFILE} |
23 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
24 |
|
mirror://${PNAME}/${PNAME}-${PVER}-CVE-2007-4476.patch |
25 |
|
mirror://${PNAME}/${PNAME}-${PVER}-gnu-inline.patch |
26 |
|
mirror://${PNAME}/${PNAME}-${PVER}-restore-perms-owners.patch |
27 |
) |
) |
28 |
|
|
29 |
UP2DATE="updatecmd_gnu ${PNAME}" |
UP2DATE="updatecmd_gnu ${PNAME}" |
30 |
|
|
31 |
|
src_prepare() |
32 |
|
{ |
33 |
|
munpack ${SRCFILE} || die |
34 |
|
cd ${SRCDIR} |
35 |
|
|
36 |
|
# security fix CVE-2007-4476 |
37 |
|
mpatch ${PNAME}-${PVER}-CVE-2007-4476.patch || die |
38 |
|
# fixes gnu-inlines (compile fix for gcc-4.3) |
39 |
|
mpatch ${PNAME}-${PVER}-gnu-inline.patch || die |
40 |
|
# fix permissions |
41 |
|
mpatch ${PNAME}-${PVER}-restore-perms-owners.patch || die |
42 |
|
} |
43 |
|
|
44 |
src_compile() |
src_compile() |
45 |
{ |
{ |
46 |
cd ${SRCDIR} |
cd ${SRCDIR} |