diff options
author | wiz <wiz@pkgsrc.org> | 2022-03-26 13:06:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-03-26 13:06:58 +0000 |
commit | a7472454438c8f847207ef3164386d661b05b982 (patch) | |
tree | c13b431c8174a5ea099a46714a93a8294acce929 /sysutils | |
parent | 102edf673e651d82b122c4f403ac65040cc0e9b8 (diff) | |
download | pkgsrc-a7472454438c8f847207ef3164386d661b05b982.tar.gz |
ioping: claim NetBSD is like FreeBSD
Still compiles and throws less warnings during build.
Bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rwxr-xr-x | sysutils/ioping/Makefile | 3 | ||||
-rw-r--r-- | sysutils/ioping/distinfo | 4 | ||||
-rw-r--r-- | sysutils/ioping/patches/patch-ioping.c | 13 |
3 files changed, 16 insertions, 4 deletions
diff --git a/sysutils/ioping/Makefile b/sysutils/ioping/Makefile index 247ebc80a18..b94c9bca99e 100755 --- a/sysutils/ioping/Makefile +++ b/sysutils/ioping/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2021/10/17 17:27:48 tm Exp $ +# $NetBSD: Makefile,v 1.4 2022/03/26 13:06:58 wiz Exp $ DISTNAME= ioping-1.2 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=koct9i/} GITHUB_TAG= v${PKGVERSION_NOREV} diff --git a/sysutils/ioping/distinfo b/sysutils/ioping/distinfo index fddfa96f063..61d0450ed06 100644 --- a/sysutils/ioping/distinfo +++ b/sysutils/ioping/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2022/03/25 11:39:06 wiz Exp $ +$NetBSD: distinfo,v 1.7 2022/03/26 13:06:58 wiz Exp $ BLAKE2s (ioping-1.2.tar.gz) = 86dd511e809cdd54084871c3f3bed748e32e249b172eed23567a74bcf23e0cc2 SHA512 (ioping-1.2.tar.gz) = 4029f1b50dc292734088dc741e594c56021610aad16a0b9f42875b5fe91fbdf8d566a41dab0384aa739350f74e62688efdaf88168ab0d838b9c848ddd1c5dd96 Size (ioping-1.2.tar.gz) = 30819 bytes -SHA1 (patch-ioping.c) = 5069a853c1c7c39904a8ea274058be802386cd31 +SHA1 (patch-ioping.c) = dbf4eeb4f47294a3e98f76a06765219b6265ae24 diff --git a/sysutils/ioping/patches/patch-ioping.c b/sysutils/ioping/patches/patch-ioping.c index e5270405d08..490d19136db 100644 --- a/sysutils/ioping/patches/patch-ioping.c +++ b/sysutils/ioping/patches/patch-ioping.c @@ -1,7 +1,9 @@ -$NetBSD: patch-ioping.c,v 1.1 2022/03/25 11:39:06 wiz Exp $ +$NetBSD: patch-ioping.c,v 1.2 2022/03/26 13:06:58 wiz Exp $ Not every system has getopt_long_only(). +Claim NetBSD is like FreeBSD. + --- ioping.c.orig 2020-02-02 13:37:55.000000000 +0000 +++ ioping.c @@ -45,8 +45,6 @@ @@ -13,3 +15,12 @@ Not every system has getopt_long_only(). #ifdef __linux__ # include <sys/ioctl.h> # include <sys/mount.h> +@@ -71,7 +69,7 @@ + # define HAVE_STATVFS + #endif + +-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) + # include <sys/ioctl.h> + # include <sys/mount.h> + # include <sys/disk.h> |