1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/pcnfsd/files/patch-ae
Chris Piazza 99c25961e6 1) Add a patch to fix the syntax for 'lpc status' for FreeBSD 3.x+
2) Shorten down a long line in DESCR.

PR:		12442
Submitted by:	Isupov A.Yu <isupov@moonhe.jinr.ru>
1999-06-30 03:57:40 +00:00

17 lines
405 B
Plaintext

*** pcnfsd_print.c Tue Jun 29 10:46:56 1999
--- pcnfsd_print.c Tue Jun 29 10:49:51 1999
***************
*** 691,697 ****
--- 691,701 ----
int saw_system;
#if (defined(BSD) && (BSD >= 199103))
+ #if __FreeBSD__ < 3
p = popen("/usr/sbin/lpc status", "r");
+ #else
+ p = popen("/usr/sbin/lpc status all", "r");
+ #endif /* __FreeBSD__ */
#else
p = popen("/usr/etc/lpc status", "r");
#endif