lsof: fix build on -currentdiff -r1.91 -r1.92 pkgsrc/sysutils/lsof/distinfo
(tnn)
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: distinfo,v 1.91 2019/01/06 16:36:00 tnn Exp $ | 1 | $NetBSD: distinfo,v 1.92 2020/03/05 20:49:22 tnn Exp $ | |
2 | 2 | |||
3 | SHA1 (lsof_4.91.tar.bz2) = da6f9883d00f200671f6e47cf838bb9b6b9c6f01 | 3 | SHA1 (lsof_4.91.tar.bz2) = da6f9883d00f200671f6e47cf838bb9b6b9c6f01 | |
4 | RMD160 (lsof_4.91.tar.bz2) = 5f7be9a860f30b66e247e0405657a69dd044e245 | 4 | RMD160 (lsof_4.91.tar.bz2) = 5f7be9a860f30b66e247e0405657a69dd044e245 | |
5 | SHA512 (lsof_4.91.tar.bz2) = 49f811941dd6303f7cb0655fddb8b1177af5d1b18f2bd1edfab09d2c128aea73daecf09c7a5375979c66ba764c88a6e70c9086b55c3634e3be01ab1aa12e9f92 | 5 | SHA512 (lsof_4.91.tar.bz2) = 49f811941dd6303f7cb0655fddb8b1177af5d1b18f2bd1edfab09d2c128aea73daecf09c7a5375979c66ba764c88a6e70c9086b55c3634e3be01ab1aa12e9f92 | |
6 | Size (lsof_4.91.tar.bz2) = 791734 bytes | 6 | Size (lsof_4.91.tar.bz2) = 791734 bytes | |
7 | SHA1 (patch-aa) = 4469a5fed540e3c5635b6082efedc477ea96a382 | 7 | SHA1 (patch-aa) = 4469a5fed540e3c5635b6082efedc477ea96a382 | |
8 | SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4 | 8 | SHA1 (patch-ab) = 1501d8b0e6fd2c61949ba0d447c7b726655725c4 | |
9 | SHA1 (patch-ac) = dac0fcdfee97d42c8f23684a4321519b9f8698d9 | 9 | SHA1 (patch-ac) = dac0fcdfee97d42c8f23684a4321519b9f8698d9 | |
10 | SHA1 (patch-ad) = 7f639e8832c2da8e498c33a38ecbc7b3d3a7430a | 10 | SHA1 (patch-ad) = 7f639e8832c2da8e498c33a38ecbc7b3d3a7430a | |
11 | SHA1 (patch-ae) = 3f4a7ce54c0646941fd86400f91a2d17e9d2354a | 11 | SHA1 (patch-ae) = 3f4a7ce54c0646941fd86400f91a2d17e9d2354a | |
12 | SHA1 (patch-af) = 2e5dced3772fe33412f4cf782d21fab1c4373b38 | 12 | SHA1 (patch-af) = 4106e4cdf01587d6f6a080ddb5bb0261729bcede | |
13 | SHA1 (patch-ag) = bd146026dff5a383b1a53e1bc9cf68302f742575 | 13 | SHA1 (patch-ag) = ced30f63961268a6c76bcc1d22a2eb9e1f750480 | |
14 | SHA1 (patch-ah) = 2de22b9a3733f958298af5e33b66c0653c320f59 | 14 | SHA1 (patch-ah) = 2de22b9a3733f958298af5e33b66c0653c320f59 | |
15 | SHA1 (patch-dialects_n+obsd_dnode1.c) = dc8c766760aca4eb2e7d7af3944260dd49795c09 | 15 | SHA1 (patch-dialects_n+obsd_dnode1.c) = dc8c766760aca4eb2e7d7af3944260dd49795c09 |
@@ -1,106 +1,114 @@ | @@ -1,106 +1,114 @@ | |||
1 | $NetBSD: patch-af,v 1.16 2019/01/06 16:36:00 tnn Exp $ | 1 | $NetBSD: patch-af,v 1.17 2020/03/05 20:49:22 tnn Exp $ | |
2 | 2 | |||
3 | --- dialects/n+obsd/dlsof.h.orig 2006-03-28 21:54:15.000000000 +0000 | 3 | --- dialects/n+obsd/dlsof.h.orig 2006-03-28 21:54:15.000000000 +0000 | |
4 | +++ dialects/n+obsd/dlsof.h | 4 | +++ dialects/n+obsd/dlsof.h | |
5 | @@ -95,6 +95,10 @@ struct uio; /* dummy for function protot | 5 | @@ -46,6 +46,7 @@ | |
6 | #include <signal.h> | |||
7 | #include <string.h> | |||
8 | #include <unistd.h> | |||
9 | +#include <sys/ptrace.h> /* pulled in by procfs.h, but needs to be pulled in before _KERNEL is defined */ | |||
10 | ||||
11 | # if defined(HASGETBOOTFILE) | |||
12 | #include <util.h> | |||
13 | @@ -95,6 +96,10 @@ struct uio; /* dummy for function protot | |||
6 | # endif /* (defined(OPENBSDV) && OPENBSDV<3030) | 14 | # endif /* (defined(OPENBSDV) && OPENBSDV<3030) | |
7 | || (defined(NETBSDV) && __NetBSD_Version__>=106060000) */ | 15 | || (defined(NETBSDV) && __NetBSD_Version__>=106060000) */ | |
8 | 16 | |||
9 | +# if defined(NETBSDV) && NETBSDV>=1003000 | 17 | +# if defined(NETBSDV) && NETBSDV>=1003000 | |
10 | +#define sockproto NETBSD_sockproto | 18 | +#define sockproto NETBSD_sockproto | |
11 | +# endif /* defined(NETBSDV) && NETBSDV>=1003000 */ | 19 | +# endif /* defined(NETBSDV) && NETBSDV>=1003000 */ | |
12 | + | 20 | + | |
13 | #include <sys/mount.h> | 21 | #include <sys/mount.h> | |
14 | 22 | |||
15 | # if (defined(OPENBSDV) && OPENBSDV>=3030) \ | 23 | # if (defined(OPENBSDV) && OPENBSDV>=3030) \ | |
16 | @@ -106,10 +110,6 @@ struct uio; /* dummy for function protot | 24 | @@ -106,10 +111,6 @@ struct uio; /* dummy for function protot | |
17 | #include <rpc/types.h> | 25 | #include <rpc/types.h> | |
18 | #include <sys/protosw.h> | 26 | #include <sys/protosw.h> | |
19 | 27 | |||
20 | -# if defined(NETBSDV) && NETBSDV>=1003000 | 28 | -# if defined(NETBSDV) && NETBSDV>=1003000 | |
21 | -#define sockproto NETBSD_sockproto | 29 | -#define sockproto NETBSD_sockproto | |
22 | -# endif /* defined(NETBSDV) && NETBSDV>=1003000 */ | 30 | -# endif /* defined(NETBSDV) && NETBSDV>=1003000 */ | |
23 | - | 31 | - | |
24 | #include <sys/socket.h> | 32 | #include <sys/socket.h> | |
25 | 33 | |||
26 | # if defined(HASMSDOSFS) | 34 | # if defined(HASMSDOSFS) | |
27 | @@ -147,6 +147,9 @@ struct uio; /* dummy for function protot | 35 | @@ -147,6 +148,9 @@ struct uio; /* dummy for function protot | |
28 | || (defined(NETBSDV) && __NetBSD_Version__<106060000) */ | 36 | || (defined(NETBSDV) && __NetBSD_Version__<106060000) */ | |
29 | 37 | |||
30 | #define _KERNEL | 38 | #define _KERNEL | |
31 | +#ifndef VFS_PROTOS | 39 | +#ifndef VFS_PROTOS | |
32 | +#define VFS_PROTOS(x) | 40 | +#define VFS_PROTOS(x) | |
33 | +#endif | 41 | +#endif | |
34 | struct nameidata; /* to satisfy a function prototype in msdosfsmount.h */ | 42 | struct nameidata; /* to satisfy a function prototype in msdosfsmount.h */ | |
35 | #include <msdosfs/msdosfsmount.h> | 43 | #include <msdosfs/msdosfsmount.h> | |
36 | #undef _KERNEL | 44 | #undef _KERNEL | |
37 | @@ -161,6 +164,7 @@ struct nameidata; /* to satisfy a functi | 45 | @@ -161,6 +165,7 @@ struct nameidata; /* to satisfy a functi | |
38 | #include <sys/socketvar.h> | 46 | #include <sys/socketvar.h> | |
39 | #include <sys/un.h> | 47 | #include <sys/un.h> | |
40 | #include <sys/unpcb.h> | 48 | #include <sys/unpcb.h> | |
41 | +#include <net/route.h> | 49 | +#include <net/route.h> | |
42 | #include <netinet/in.h> | 50 | #include <netinet/in.h> | |
43 | #include <netinet/in_systm.h> | 51 | #include <netinet/in_systm.h> | |
44 | #include <netinet/ip.h> | 52 | #include <netinet/ip.h> | |
45 | @@ -170,7 +174,6 @@ struct nameidata; /* to satisfy a functi | 53 | @@ -170,7 +175,6 @@ struct nameidata; /* to satisfy a functi | |
46 | #include <netinet6/in6_pcb.h> | 54 | #include <netinet6/in6_pcb.h> | |
47 | # endif /* defined(HASIPv6) && defined(NETBSDV) && !defined(HASINRIAIPv6) */ | 55 | # endif /* defined(HASIPv6) && defined(NETBSDV) && !defined(HASINRIAIPv6) */ | |
48 | 56 | |||
49 | -#include <net/route.h> | 57 | -#include <net/route.h> | |
50 | #include <netinet/in_pcb.h> | 58 | #include <netinet/in_pcb.h> | |
51 | #include <netinet/ip_var.h> | 59 | #include <netinet/ip_var.h> | |
52 | #include <netinet/tcp.h> | 60 | #include <netinet/tcp.h> | |
53 | @@ -264,6 +267,9 @@ struct sockproto { | 61 | @@ -264,6 +268,9 @@ struct sockproto { | |
54 | 62 | |||
55 | #undef KERNEL | 63 | #undef KERNEL | |
56 | #include <ufs/mfs/mfsnode.h> | 64 | #include <ufs/mfs/mfsnode.h> | |
57 | +# if defined(HASTMPFS) | 65 | +# if defined(HASTMPFS) | |
58 | +#include <fs/tmpfs/tmpfs.h> | 66 | +#include <fs/tmpfs/tmpfs.h> | |
59 | +# endif /* defined(HASTMPFS) */ | 67 | +# endif /* defined(HASTMPFS) */ | |
60 | 68 | |||
61 | # if defined(HASNFSPROTO) | 69 | # if defined(HASNFSPROTO) | |
62 | #include <nfs/rpcv2.h> | 70 | #include <nfs/rpcv2.h> | |
63 | @@ -370,7 +376,6 @@ struct sockproto { | 71 | @@ -370,7 +377,6 @@ struct sockproto { | |
64 | #define Pregs PFSregs | 72 | #define Pregs PFSregs | |
65 | #define Pfile PFSfile | 73 | #define Pfile PFSfile | |
66 | #define Pfpregs PFSfpregs | 74 | #define Pfpregs PFSfpregs | |
67 | -#define Pctl PFSctl | 75 | -#define Pctl PFSctl | |
68 | #define Pstatus PFSstatus | 76 | #define Pstatus PFSstatus | |
69 | #define Pnote PFSnote | 77 | #define Pnote PFSnote | |
70 | #define Pnotepg PFSnotepg | 78 | #define Pnotepg PFSnotepg | |
71 | @@ -382,6 +387,9 @@ struct sockproto { | 79 | @@ -382,6 +388,9 @@ struct sockproto { | |
72 | #define Pmap PFSmap | 80 | #define Pmap PFSmap | |
73 | #define Pmaps PFSmaps | 81 | #define Pmaps PFSmaps | |
74 | # endif /* NETBSDV>=1006000 */ | 82 | # endif /* NETBSDV>=1006000 */ | |
75 | +# if NETBSDV<8099000 | 83 | +# if NETBSDV<8099000 | |
76 | +#define Pctl PFSctl | 84 | +#define Pctl PFSctl | |
77 | +# endif /* NETBSDV<8099000 */ | 85 | +# endif /* NETBSDV<8099000 */ | |
78 | # endif /* defined(NetBSDV) */ | 86 | # endif /* defined(NetBSDV) */ | |
79 | # endif /* defined(HASPROCFS_PFSROOT) */ | 87 | # endif /* defined(HASPROCFS_PFSROOT) */ | |
80 | #include <machine/reg.h> | 88 | #include <machine/reg.h> | |
81 | @@ -489,7 +497,12 @@ extern KA_T Kpa; | 89 | @@ -489,7 +498,12 @@ extern KA_T Kpa; | |
82 | struct l_vfs { | 90 | struct l_vfs { | |
83 | KA_T addr; /* kernel address */ | 91 | KA_T addr; /* kernel address */ | |
84 | fsid_t fsid; /* file system ID */ | 92 | fsid_t fsid; /* file system ID */ | |
85 | +#if defined(NETBSDV) && __NetBSD_Version__ >= 499002500 | 93 | +#if defined(NETBSDV) && __NetBSD_Version__ >= 499002500 | |
86 | + /* MFSNAMELEN was removed from the kernel source after 4.99.24 */ | 94 | + /* MFSNAMELEN was removed from the kernel source after 4.99.24 */ | |
87 | + char type[sizeof(((struct statvfs *)NULL)->f_fstypename)]; /* type of file system */ | 95 | + char type[sizeof(((struct statvfs *)NULL)->f_fstypename)]; /* type of file system */ | |
88 | +#else | 96 | +#else | |
89 | char type[MFSNAMELEN]; /* type of file system */ | 97 | char type[MFSNAMELEN]; /* type of file system */ | |
90 | +#endif | 98 | +#endif | |
91 | char *dir; /* mounted directory */ | 99 | char *dir; /* mounted directory */ | |
92 | char *fsname; /* file system name */ | 100 | char *fsname; /* file system name */ | |
93 | struct l_vfs *next; /* forward link */ | 101 | struct l_vfs *next; /* forward link */ | |
94 | @@ -581,4 +594,12 @@ struct sfile { | 102 | @@ -581,4 +595,12 @@ struct sfile { | |
95 | # endif /* defined(HASNCVPID) */ | 103 | # endif /* defined(HASNCVPID) */ | |
96 | # endif /* defined(HASNCACHE) */ | 104 | # endif /* defined(HASNCACHE) */ | |
97 | 105 | |||
98 | +#if defined(VV_ROOT) /* NetBSD >= 4.99.33 */ | 106 | +#if defined(VV_ROOT) /* NetBSD >= 4.99.33 */ | |
99 | +#define VNODE_VFLAG v_vflag | 107 | +#define VNODE_VFLAG v_vflag | |
100 | +#define NCACHE_VROOT VV_ROOT | 108 | +#define NCACHE_VROOT VV_ROOT | |
101 | +#else | 109 | +#else | |
102 | +#define VNODE_VFLAG v_flag | 110 | +#define VNODE_VFLAG v_flag | |
103 | +#define NCACHE_VROOT VROOT | 111 | +#define NCACHE_VROOT VROOT | |
104 | +#endif /* VV_ROOT */ | 112 | +#endif /* VV_ROOT */ | |
105 | + | 113 | + | |
106 | #endif /* NETBSD_LSOF_H */ | 114 | #endif /* NETBSD_LSOF_H */ |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | $NetBSD: patch-ag,v 1.9 2017/06/22 20:48:04 tnn Exp $ | 1 | $NetBSD: patch-ag,v 1.10 2020/03/05 20:49:22 tnn Exp $ | |
2 | 2 | |||
3 | --- Configure.orig 2015-07-07 20:17:04.000000000 +0000 | 3 | --- Configure.orig 2018-02-14 14:18:55.000000000 +0000 | |
4 | +++ Configure | 4 | +++ Configure | |
5 | @@ -3013,32 +3013,66 @@ return(0); } | 5 | @@ -3077,32 +3077,66 @@ return(0); } | |
6 | echo "!!!WARNING!!! Unsupported NetBSD version: $LSOF_VSTR" | 6 | echo "!!!WARNING!!! Unsupported NetBSD version: $LSOF_VSTR" | |
7 | echo "!!!WARNING!!! Configuring for NetBSD 3.0" | 7 | echo "!!!WARNING!!! Configuring for NetBSD 3.0" | |
8 | ;; | 8 | ;; | |
9 | + 4.0*) | 9 | + 4.0*) | |
10 | + LSOF_TSTBIGF=" " | 10 | + LSOF_TSTBIGF=" " | |
11 | + LSOF_VERS="4000000" | 11 | + LSOF_VERS="4000000" | |
12 | + ;; | 12 | + ;; | |
13 | + 4.99.*) | 13 | + 4.99.*) | |
14 | + LSOF_TSTBIGF=" " | 14 | + LSOF_TSTBIGF=" " | |
15 | + LSOF_VERS="4099000" | 15 | + LSOF_VERS="4099000" | |
16 | + ;; | 16 | + ;; | |
17 | + 4*) | 17 | + 4*) | |
18 | + LSOF_VERS="4000000" | 18 | + LSOF_VERS="4000000" | |
@@ -77,62 +77,72 @@ $NetBSD: patch-ag,v 1.9 2017/06/22 20:48 | @@ -77,62 +77,72 @@ $NetBSD: patch-ag,v 1.9 2017/06/22 20:48 | |||
77 | - exit 1 | 77 | - exit 1 | |
78 | - ;; | 78 | - ;; | |
79 | - esac # } | 79 | - esac # } | |
80 | LSOF_CFGF="$LSOF_CFGF -DNETBSDV=$LSOF_VERS" | 80 | LSOF_CFGF="$LSOF_CFGF -DNETBSDV=$LSOF_VERS" | |
81 | LSOF_TMP1="-DN_UNIXV=/netbsd" | 81 | LSOF_TMP1="-DN_UNIXV=/netbsd" | |
82 | - if test -r ${LSOF_INCLUDE}/util.h # { | 82 | - if test -r ${LSOF_INCLUDE}/util.h # { | |
83 | + if test -r /dev/ksyms # { | 83 | + if test -r /dev/ksyms # { | |
84 | + then | 84 | + then | |
85 | + LSOF_TMP1="-DN_UNIXV=/dev/ksyms" | 85 | + LSOF_TMP1="-DN_UNIXV=/dev/ksyms" | |
86 | + elif test -r ${LSOF_INCLUDE}/util.h # { | 86 | + elif test -r ${LSOF_INCLUDE}/util.h # { | |
87 | then | 87 | then | |
88 | grep -q getbootfile ${LSOF_INCLUDE}/util.h | 88 | grep -q getbootfile ${LSOF_INCLUDE}/util.h | |
89 | if test $? -eq 0 # { | 89 | if test $? -eq 0 # { | |
90 | @@ -3437,6 +3471,7 @@ return(0); } | 90 | @@ -3501,6 +3535,7 @@ return(0); } | |
91 | fi # } | 91 | fi # } | |
92 | LSOF_TMP2="sys/vnode.h" | 92 | LSOF_TMP2="sys/vnode.h" | |
93 | LSOF_NBSD_PTYFS=0 | 93 | LSOF_NBSD_PTYFS=0 | |
94 | + LSOF_NBSD_TMPFS=0 | 94 | + LSOF_NBSD_TMPFS=0 | |
95 | if test -r ${LSOF_INCLUDE}/$LSOF_TMP2 # { | 95 | if test -r ${LSOF_INCLUDE}/$LSOF_TMP2 # { | |
96 | then | 96 | then | |
97 | LSOF_TMP3="${LSOF_INCLUDE}/$LSOF_TMP2" | 97 | LSOF_TMP3="${LSOF_INCLUDE}/$LSOF_TMP2" | |
98 | @@ -3514,7 +3549,25 @@ return(0); } | 98 | @@ -3578,16 +3613,29 @@ return(0); } | |
99 | fi # } | 99 | fi # } | |
100 | fi # } | 100 | fi # } | |
101 | fi # } | 101 | fi # } | |
102 | - if test "X$NETBSD_UVM" = "X" # { | |||
103 | + grep -q VT_TMPFS $LSOF_TMP3 | 102 | + grep -q VT_TMPFS $LSOF_TMP3 | |
104 | + if test $? -eq 0 # { | 103 | + if test $? -eq 0 # { | |
105 | + then | 104 | + then | |
106 | + LSOF_TMP2="fs/tmpfs/tmpfs.h" | 105 | + LSOF_TMP2="fs/tmpfs/tmpfs.h" | |
107 | + if test -r ${LSOF_INCLUDE}/$LSOF_TMP2 # { | 106 | + if test -r ${LSOF_INCLUDE}/$LSOF_TMP2 # { | |
108 | + then | 107 | + then | |
109 | + LSOF_CFGF="$LSOF_CFGF -DHASTMPFS" | 108 | + LSOF_CFGF="$LSOF_CFGF -DHASTMPFS" | |
110 | + else | 109 | + else | |
111 | + if test -r ${NETBSD_SYS}/$LSOF_TMP2 # { | 110 | + if test -r ${NETBSD_SYS}/$LSOF_TMP2 # { | |
112 | + then | 111 | + then | |
113 | + if test $NETBSD_SYS != $LSOF_INCLUDE # { | 112 | + if test $NETBSD_SYS != $LSOF_INCLUDE # { | |
114 | + then | 113 | + then | |
115 | + LSOF_CFGF="$LSOF_CFGF -DHASTMPFS" | 114 | + LSOF_CFGF="$LSOF_CFGF -DHASTMPFS" | |
116 | + LSOF_NBSD_TMPFS=1 | 115 | + LSOF_NBSD_TMPFS=1 | |
117 | + fi # } | 116 | + fi # } | |
118 | + fi # } | 117 | + fi # } | |
119 | + fi # } | 118 | + fi # } | |
120 | + fi # } | 119 | + fi # } | |
121 | + if test "X$NETBSD_UVM" = "X" # { | 120 | if test "X$NETBSD_UVM" = "X" # { | |
122 | then | 121 | then | |
123 | grep -q UVM $LSOF_TMP3 | 122 | - grep -q UVM $LSOF_TMP3 | |
124 | if test $? -ne 0 # { | 123 | - if test $? -ne 0 # { | |
125 | @@ -3799,6 +3852,28 @@ return(0); } | 124 | + if test -r ${LSOF_INCLUDE}/uvm # { | |
125 | then | |||
126 | - egrep -q "v_uvm;|v_uobj;" $LSOF_TMP3 | |||
127 | - if test $? -eq 0 # { | |||
128 | - then | |||
129 | - NETBSD_UVM="Y" | |||
130 | - fi # } | |||
131 | + NETBSD_UVM="Y" | |||
132 | fi # } | |||
133 | fi # } | |||
134 | fi # } | |||
135 | @@ -3863,6 +3911,28 @@ return(0); } | |||
126 | LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/n+obsd/include" | 136 | LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/n+obsd/include" | |
127 | fi # } | 137 | fi # } | |
128 | fi # } | 138 | fi # } | |
129 | + if test $LSOF_NBSD_TMPFS -eq 1 # { | 139 | + if test $LSOF_NBSD_TMPFS -eq 1 # { | |
130 | + then | 140 | + then | |
131 | + | 141 | + | |
132 | + # Make a local copy of $NETBSD_SYS/sys/fs/tmpfs/tmpfs.h. | 142 | + # Make a local copy of $NETBSD_SYS/sys/fs/tmpfs/tmpfs.h. | |
133 | + | 143 | + | |
134 | + if test ! -d dialects/n+obsd/include # { | 144 | + if test ! -d dialects/n+obsd/include # { | |
135 | + then | 145 | + then | |
136 | + mkdir dialects/n+obsd/include | 146 | + mkdir dialects/n+obsd/include | |
137 | + fi # } | 147 | + fi # } | |
138 | + if test ! -d dialects/n+obsd/include/fs # { | 148 | + if test ! -d dialects/n+obsd/include/fs # { | |
@@ -141,22 +151,22 @@ $NetBSD: patch-ag,v 1.9 2017/06/22 20:48 | @@ -141,22 +151,22 @@ $NetBSD: patch-ag,v 1.9 2017/06/22 20:48 | |||
141 | + fi # } | 151 | + fi # } | |
142 | + rm -rf dialects/n+obsd/include/fs/tmpfs | 152 | + rm -rf dialects/n+obsd/include/fs/tmpfs | |
143 | + mkdir dialects/n+obsd/include/fs/tmpfs | 153 | + mkdir dialects/n+obsd/include/fs/tmpfs | |
144 | + cp $NETBSD_SYS/fs/tmpfs/tmpfs.h dialects/n+obsd/include/fs/tmpfs | 154 | + cp $NETBSD_SYS/fs/tmpfs/tmpfs.h dialects/n+obsd/include/fs/tmpfs | |
145 | + echo $LSOF_CFGF | grep /dialects/n+obsd/include > /dev/null 2>&1 | 155 | + echo $LSOF_CFGF | grep /dialects/n+obsd/include > /dev/null 2>&1 | |
146 | + if test $? -ne 0 # { | 156 | + if test $? -ne 0 # { | |
147 | + then | 157 | + then | |
148 | + LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/n+obsd/include" | 158 | + LSOF_CFGF="$LSOF_CFGF -I`pwd`/dialects/n+obsd/include" | |
149 | + fi # } | 159 | + fi # } | |
150 | + fi # } | 160 | + fi # } | |
151 | LSOF_CFGL="$LSOF_CFGL -lkvm" | 161 | LSOF_CFGL="$LSOF_CFGL -lkvm" | |
152 | LSOF_DIALECT_DIR=n+obsd | 162 | LSOF_DIALECT_DIR=n+obsd | |
153 | ;; | 163 | ;; | |
154 | @@ -5535,7 +5610,7 @@ fi # } | 164 | @@ -5607,7 +5677,7 @@ fi # } | |
155 | echo "" >> $LSOF_MKFC | 165 | echo "" >> $LSOF_MKFC | |
156 | if test "X$LSOF_DEBUG" = "X" # { | 166 | if test "X$LSOF_DEBUG" = "X" # { | |
157 | then | 167 | then | |
158 | - LSOF_DEBUG="-O" | 168 | - LSOF_DEBUG="-O" | |
159 | + LSOF_DEBUG="" | 169 | + LSOF_DEBUG="" | |
160 | else | 170 | else | |
161 | if test "X$LSOF_DEBUG" = "XNo-O" # { | 171 | if test "X$LSOF_DEBUG" = "XNo-O" # { | |
162 | then | 172 | then |