summaryrefslogtreecommitdiff
path: root/net/pcnfsd/files/patch-ae
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-30 03:57:40 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-30 03:57:40 +0000
commit99c25961e6b7a96c03f16c721c474a1205890847 (patch)
tree30a22f0a3e8e3280f34fa2e2b33b9b9afa353b2c /net/pcnfsd/files/patch-ae
parentUpdate to version 0.1.18. (diff)
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>
Notes
Notes: svn path=/head/; revision=19910
Diffstat (limited to 'net/pcnfsd/files/patch-ae')
-rw-r--r--net/pcnfsd/files/patch-ae16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/pcnfsd/files/patch-ae b/net/pcnfsd/files/patch-ae
new file mode 100644
index 000000000000..433de8b0f95f
--- /dev/null
+++ b/net/pcnfsd/files/patch-ae
@@ -0,0 +1,16 @@
+*** 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