sysutils/sysctlinfo-kmod: fix after r366465
- the new sysctl object {0.7} "sysctl.nextnoskip" overlaps this interface - add files/patch-sysctlinfo.h to change sysctl OIDs of this interface PR: 250148 Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> (maintainer)
This commit is contained in:
parent
95a71f07bf
commit
b3b913fc7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553780
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= sysctlinfo-kmod
|
PORTNAME= sysctlinfo-kmod
|
||||||
DISTVERSION= 20191005
|
DISTVERSION= 20191005
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
|
|
||||||
MAINTAINER= alfix86@gmail.com
|
MAINTAINER= alfix86@gmail.com
|
||||||
|
49
sysutils/sysctlinfo-kmod/files/patch-sysctlinfo.h
Normal file
49
sysutils/sysctlinfo-kmod/files/patch-sysctlinfo.h
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
--- sysctlinfo.h.orig 2020-10-05 19:02:01 UTC
|
||||||
|
+++ sysctlinfo.h
|
||||||
|
@@ -40,26 +40,26 @@
|
||||||
|
/*
|
||||||
|
* MIB level 2, sysctlinfo identifiers
|
||||||
|
*/
|
||||||
|
-#define ENTRYFAKENAME 7
|
||||||
|
-#define ENTRYNAME 8
|
||||||
|
-#define ENTRYDESC 9
|
||||||
|
-#define ENTRYLABEL 10
|
||||||
|
-#define ENTRYKIND 11
|
||||||
|
-#define ENTRYFMT 12
|
||||||
|
-#define ENTRYNEXTNODE 13
|
||||||
|
-#define ENTRYNEXTLEAF 14
|
||||||
|
-#define ENTRYALLINFO 15
|
||||||
|
-#define ENTRYALLINFO_WITHNEXTNODE 16
|
||||||
|
-#define ENTRYALLINFO_WITHNEXTLEAF 17
|
||||||
|
-#define ENTRYIDBYNAME 18
|
||||||
|
-#define ENTRYFAKEIDBYNAME 19
|
||||||
|
-#define ENTRYDESCBYNAME 20
|
||||||
|
-#define ENTRYLABELBYNAME 21
|
||||||
|
-#define ENTRYKINDBYNAME 22
|
||||||
|
-#define ENTRYFMTBYNAME 23
|
||||||
|
-#define ENTRYALLINFOBYNAME 24
|
||||||
|
-#define ENTRYALLINFOBYNAME_WITHNEXTNODE 25
|
||||||
|
-#define ENTRYALLINFOBYNAME_WITHNEXTLEAF 26
|
||||||
|
+#define ENTRYFAKENAME 8
|
||||||
|
+#define ENTRYNAME 9
|
||||||
|
+#define ENTRYDESC 10
|
||||||
|
+#define ENTRYLABEL 11
|
||||||
|
+#define ENTRYKIND 12
|
||||||
|
+#define ENTRYFMT 13
|
||||||
|
+#define ENTRYNEXTNODE 14
|
||||||
|
+#define ENTRYNEXTLEAF 15
|
||||||
|
+#define ENTRYALLINFO 16
|
||||||
|
+#define ENTRYALLINFO_WITHNEXTNODE 17
|
||||||
|
+#define ENTRYALLINFO_WITHNEXTLEAF 18
|
||||||
|
+#define ENTRYIDBYNAME 19
|
||||||
|
+#define ENTRYFAKEIDBYNAME 20
|
||||||
|
+#define ENTRYDESCBYNAME 21
|
||||||
|
+#define ENTRYLABELBYNAME 22
|
||||||
|
+#define ENTRYKINDBYNAME 23
|
||||||
|
+#define ENTRYFMTBYNAME 24
|
||||||
|
+#define ENTRYALLINFOBYNAME 25
|
||||||
|
+#define ENTRYALLINFOBYNAME_WITHNEXTNODE 26
|
||||||
|
+#define ENTRYALLINFOBYNAME_WITHNEXTLEAF 27
|
||||||
|
|
||||||
|
#define SYSCTLINFO_MAXFAKENAME 64
|
||||||
|
|
Loading…
Reference in New Issue
Block a user