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)
This commit is contained in:
Mark Linimon 2019-04-07 16:41:54 +00:00
parent 4728eb0006
commit 55d6457115
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=498294
3 changed files with 8 additions and 25 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= nsysctl
DISTVERSION= 0.1
DISTVERSION= 0.1.1
CATEGORIES= sysutils
MAINTAINER= alfix86@gmail.com
@ -10,9 +10,12 @@ COMMENT= New sysctl utility with libxo and extra options
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsysctlmibinfo.so:devel/libsysctlmibinfo
USE_GITLAB= yes
GL_ACCOUNT= alfix
GL_COMMIT= 102780d056c2f03d1653f7c3f0bd9d8d5d4e91fd
GL_COMMIT= f71d2fded69b95808f9247f7e01866d7a92b7ff9
PLIST_FILES= bin/${PORTNAME} \
man/man8/${PORTNAME}.8.gz

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1550625855
SHA256 (alfix-nsysctl-102780d056c2f03d1653f7c3f0bd9d8d5d4e91fd_GL0.tar.gz) = fa4759161e57b47a1040fca525c238120fb9153ca305e4672cfcc4ed9064bf0a
SIZE (alfix-nsysctl-102780d056c2f03d1653f7c3f0bd9d8d5d4e91fd_GL0.tar.gz) = 16835
TIMESTAMP = 1553608252
SHA256 (alfix-nsysctl-f71d2fded69b95808f9247f7e01866d7a92b7ff9_GL0.tar.gz) = c0bbcba0f5f22d7f59a4897e42f87a7124d65cc19182039bf3bd325430de0624
SIZE (alfix-nsysctl-f71d2fded69b95808f9247f7e01866d7a92b7ff9_GL0.tar.gz) = 16193

View File

@ -1,20 +0,0 @@
--- opaque.c.orig 2019-02-20 00:22:27 UTC
+++ opaque.c
@@ -54,13 +54,17 @@
#include <assert.h> //assert
#include <err.h> //warnx
#include <errno.h> //errno
+#if defined(__amd64__) || defined(__i386__)
#include <machine/pc/bios.h>
+#endif
#include <stdbool.h>
#include <stdio.h> //printf
#include <stdlib.h> //free
#include <string.h> //strdup
#include <unistd.h> //getpagesize
+#if defined(__amd64__) || defined(__i386__)
#include <x86/metadata.h>
+#endif
#include <libxo/xo.h>
#include <sysctlmibinfo.h>