trickle: fix build with newer glibc #35

Manually merged
hasufell merged 1 commits from tombriden/hasufell-repository:trickle-fix into master 2020-10-15 11:58:56 +00:00
Showing only changes of commit 47e3a327f5 - Show all commits

View File

@ -17,6 +17,7 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-libs/libevent:=
net-libs/libtirpc

Is it correct that these changes should also apply for the non-scm version?

Is it correct that these changes should also apply for the non-scm version?
Review

Yep, same build error:

make[1]: Leaving directory '/var/tmp/paludis/build/net-misc-trickle-1.07_p20180405/work/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07'                                                                          
xdr.c:10:10: fatal error: rpc/rpc.h: No such file or directory 
Yep, same build error: ``` make[1]: Leaving directory '/var/tmp/paludis/build/net-misc-trickle-1.07_p20180405/work/trickle-596bb13f2bc323fc8e7783b8dcba627de4969e07' xdr.c:10:10: fatal error: rpc/rpc.h: No such file or directory ```
"
BUGS_TO="hasufell@posteo.de"
@ -27,3 +28,10 @@ DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/fix-install.patch
)
src_prepare(){
CFLAGS+=" -I/usr/$(exhost --target)/include/tirpc"
LDFLAGS+=" -ltirpc"
autotools_src_prepare
}