summaryrefslogtreecommitdiff
path: root/sysutils/dptutil/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dptutil/patches/patch-af')
-rw-r--r--sysutils/dptutil/patches/patch-af18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/dptutil/patches/patch-af b/sysutils/dptutil/patches/patch-af
new file mode 100644
index 00000000000..87f24a51c12
--- /dev/null
+++ b/sysutils/dptutil/patches/patch-af
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1.1.1 2002/12/09 11:07:20 ad Exp $
+
+diff -ur dptutil/engcalls.c dptutil/engcalls.c
+--- odptutil/engcalls.c Tue Aug 13 16:02:24 2002
++++ dptutil/engcalls.c Fri Dec 6 09:04:44 2002
+@@ -118,6 +118,12 @@
+ char *CommEnginePathNameDefault = "/opt/SUNWhwrdg/dptcom";
+ char *DefaultPathName = "/opt/SUNWhwrdg/";
+
++#elif defined (__NetBSD__)
++
++char *EnginePathNameDefault = _NBSD_LIBEXEC "/dpteng &";
++char *CommEnginePathNameDefault = _NBSD_LIBEXEC "/dptcom &";
++char *DefaultPathName = _NBSD_LIBEXEC;
++
+ #else
+
+ char *EnginePathNameDefault = "/usr/dpt/dpteng &";