Lines 28-37
Link Here
|
28 |
# Don't build or install locate because it conflicts with slocate, |
28 |
# Don't build or install locate because it conflicts with slocate, |
29 |
# which is a secure version of locate. See bug 18729 |
29 |
# which is a secure version of locate. See bug 18729 |
30 |
sed -i '/^SUBDIRS/s/locate//' Makefile.in |
30 |
sed -i '/^SUBDIRS/s/locate//' Makefile.in |
31 |
|
31 |
|
32 |
epatch "${FILESDIR}"/${P}-listfile-segv.patch #188249 |
32 |
epatch "${FILESDIR}"/${P}-listfile-segv.patch #188249 |
|
|
33 |
epatch "${FILESDIR}"/${P}-ptrdiff_t.patch #197326 |
33 |
use selinux && epatch "${FILESDIR}/${SELINUX_PATCH}" |
34 |
use selinux && epatch "${FILESDIR}/${SELINUX_PATCH}" |
34 |
} |
35 |
} |
35 |
|
36 |
|
36 |
src_compile() { |
37 |
src_compile() { |
37 |
use static && append-ldflags -static |
38 |
use static && append-ldflags -static |