Created attachment 524358 [details, diff] rpcsvc-proto-1.3.1.ebuild.patch Hi! net-libs/rpcsvc-proto has a regression compared to <=glibc-2.25[rpc] version: rpcgen lacks support of -M and -N options: $ rpcgen -N -M -C -L -h -o l2tp_rpc.h l2tp_rpc.x This implementation doesn't support newstyle or MT-safe code! The code for -N and -M support is present, but disabled, because _RPC_THREAD_SAFE_ is not defined. libtirpc docs indicate that at least client-side the library is thread safe, so it should be reasonable to enable newstyle and MT-safe rpcgen code generators in order to be compatible with <=glibc-2.25. Attached patch fixes this issue.
Ping here! The change is simple. OK to commit?
It would probably make more sense to backport this: https://github.com/thkukuk/rpcsvc-proto/pull/3 Please feel free to do that. :)
[master fb035e7aede7] net-libs/rpcsvc-proto: Drop obsolete preprocessor conditional (#650852) 2 files changed, 61 insertions(+) create mode 100644 net-libs/rpcsvc-proto/files/rpcsvc-proto-1.3.1-old-preprocessor.patch create mode 100644 net-libs/rpcsvc-proto/rpcsvc-proto-1.3.1-r1.ebuild