Bug 29173

Summary: [PATCH] wrong flags for rpcgen(1)
Product: Base System Reporter: mb <mb>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description mb 2001-07-23 22:10:00 UTC
Rpcgen(1) should not be invoked with -CM. This got accidently comitted during
the ti-rpc merger.

Fix: 

Add my patch:

http://home.teleport.ch/freebsd/userland/librpcsvc-Makefile.diff
How-To-Repeat: 
cd /usr/src/librpcsrv && make depend && make install
Comment 1 mb 2001-10-07 01:43:14 UTC
And here is the patch:

Remove the accidently commited "M" flag from rpcgen. We should use
-M only if we have threaded programs. And rpcgen -M does have issues
at the moment, we first have to fix them.

--- lib/librpcsvc/Makefile	Mon Mar 19 13:50:00 2001
+++ lib/librpcsvc/Makefile	Sat Apr  7 13:54:45 2001
@@ -12,7 +12,7 @@
 OTHERSRCS=  rnusers.c rstat.c rwall.c yp_passwd.c yp_update.c
 SECRPCSRCS= secretkey.c xcrypt.c

-RPCCOM = rpcgen -CM
+RPCCOM = rpcgen -C

 INCDIRS= -I${DESTDIR}/usr/include/rpcsvc -I${DESTDIR}/usr/include
Comment 2 Martin Blapp freebsd_committer freebsd_triage 2002-02-09 20:43:03 UTC
State Changed
From-To: open->closed

Fix comitted by Alfred.