pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/ioping ioping: claim NetBSD is like FreeBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fcc0e3aa13f
branches:  trunk
changeset: 375774:1fcc0e3aa13f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Mar 26 13:06:58 2022 +0000

description:
ioping: claim NetBSD is like FreeBSD

Still compiles and throws less warnings during build.

Bump PKGREVISION.

diffstat:

 sysutils/ioping/Makefile               |   3 ++-
 sysutils/ioping/distinfo               |   4 ++--
 sysutils/ioping/patches/patch-ioping.c |  13 ++++++++++++-
 3 files changed, 16 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 8ffb3bd4e25d -r 1fcc0e3aa13f sysutils/ioping/Makefile
--- a/sysutils/ioping/Makefile  Sat Mar 26 12:14:25 2022 +0000
+++ b/sysutils/ioping/Makefile  Sat Mar 26 13:06:58 2022 +0000
@@ -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 -r 8ffb3bd4e25d -r 1fcc0e3aa13f sysutils/ioping/distinfo
--- a/sysutils/ioping/distinfo  Sat Mar 26 12:14:25 2022 +0000
+++ b/sysutils/ioping/distinfo  Sat Mar 26 13:06:58 2022 +0000
@@ -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 -r 8ffb3bd4e25d -r 1fcc0e3aa13f sysutils/ioping/patches/patch-ioping.c
--- a/sysutils/ioping/patches/patch-ioping.c    Sat Mar 26 12:14:25 2022 +0000
+++ b/sysutils/ioping/patches/patch-ioping.c    Sat Mar 26 13:06:58 2022 +0000
@@ -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 @@
  #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>



Home | Main Index | Thread Index | Old Index