Summary: | sysutils/nsysctl: Update to 0.1.1 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Alfonso S. Siciliano <asiciliano> | ||||
Component: | Individual Port(s) | Assignee: | Steve Wills <swills> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | linimon | ||||
Priority: | --- | Keywords: | needs-qa | ||||
Version: | Latest | Flags: | asiciliano:
maintainer-feedback+
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://gitlab.com/alfix/nsysctl | ||||||
Attachments: |
|
Description
Alfonso S. Siciliano
2019-03-26 14:24:56 UTC
nsysctl/opaque.c reuse the code of /sbin/sysctl.c (for the OIDs of type CTLTYPE_OPAQUE), sysctl.c has: ``` #ifdef __amd64__ #include <sys/efi.h> #include <machine/metadata.h> #endif #if defined(__amd64__) || defined(__i386__) #include <machine/pc/bios.h> #endif ``` Then I fixed opaque.c: https://gitlab.com/alfix/nsysctl/commit/f71d2fded69b95808f9247f7e01866d7a92b7ff9 It should avoid the errors for no-i386/amd64 CPUs. Thank you, Alfonso A commit references this bug: Author: linimon Date: Sun Apr 7 16:39:21 UTC 2019 New revision: 498293 URL: https://svnweb.freebsd.org/changeset/ports/498293 Log: Maintainer Update nsysctl 0.1 -> 0.1.1: Fix "pkg-fallout": includes in opaque.c for no i386/amd64 delete sysctlmibinfo.h/c: add devel/libsysctlmibinfo to LIB_DEPENDS Note: this obsoletes files/patch-opaque.c. PR: 236802 Submitted by: maintainer Changes: head/sysutils/nsysctl/Makefile head/sysutils/nsysctl/distinfo head/sysutils/nsysctl/files/ A commit references this bug: Author: linimon Date: Sun Apr 7 16:41:54 UTC 2019 New revision: 498294 URL: https://svnweb.freebsd.org/changeset/ports/498294 Log: MFH: r498293 Maintainer Update nsysctl 0.1 -> 0.1.1: Fix "pkg-fallout": includes in opaque.c for no i386/amd64 delete sysctlmibinfo.h/c: add devel/libsysctlmibinfo to LIB_DEPENDS Note: this obsoletes files/patch-opaque.c. PR: 236802 Submitted by: maintainer Approved by: portmgr (tier-2 blanket) Changes: _U branches/2019Q2/ branches/2019Q2/sysutils/nsysctl/Makefile branches/2019Q2/sysutils/nsysctl/distinfo branches/2019Q2/sysutils/nsysctl/files/ Committed, thanks. |