aa5981f9d4
least minimal comments to all patches and tidy up some (but by no means all) pkglint. I have no idea if this works. It spews warnings about "packed", which lead me to suspect it may not run correctly, but I don't have the facilities to test it. It does, however, now build ok on LP64 and if someone can test it may be reasonable to remove the restriction on that.
28 lines
869 B
Text
28 lines
869 B
Text
$NetBSD: patch-ab,v 1.3 2011/05/22 19:11:42 dholland Exp $
|
|
|
|
- Config for netbsd.
|
|
|
|
--- dpteng/engcalls.c.orig Tue Aug 13 16:02:24 2002
|
|
+++ dpteng/engcalls.c Fri Dec 13 14:14:51 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 &";
|
|
@@ -954,7 +960,7 @@
|
|
/* Get The Shared Memory Segment */
|
|
|
|
BufferID = shmget(IPC_PRIVATE,(int)(toEngTotalSize + fromEngTotalSize),
|
|
- SHM_ALLRD | SHM_ALLWR | IPC_CREAT);
|
|
+ SHM_URD | SHM_UWR | IPC_CREAT);
|
|
|
|
/* If We Got The Segment, Try To Attach To It */
|
|
|