pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/ioping ioping: fix build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2152257bac26
branches:  trunk
changeset: 375764:2152257bac26
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Mar 25 11:39:06 2022 +0000

description:
ioping: fix build

Not every system has getopt_long_only.

diffstat:

 sysutils/ioping/distinfo               |   3 ++-
 sysutils/ioping/patches/patch-ioping.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 853c2f156e17 -r 2152257bac26 sysutils/ioping/distinfo
--- a/sysutils/ioping/distinfo  Fri Mar 25 11:36:41 2022 +0000
+++ b/sysutils/ioping/distinfo  Fri Mar 25 11:39:06 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:19:43 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/03/25 11:39:06 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
diff -r 853c2f156e17 -r 2152257bac26 sysutils/ioping/patches/patch-ioping.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ioping/patches/patch-ioping.c    Fri Mar 25 11:39:06 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ioping.c,v 1.1 2022/03/25 11:39:06 wiz Exp $
+
+Not every system has getopt_long_only().
+
+--- ioping.c.orig      2020-02-02 13:37:55.000000000 +0000
++++ ioping.c
+@@ -45,8 +45,6 @@
+ #include <sys/time.h>
+ #include <sys/stat.h>
+ 
+-#define HAVE_GETOPT_LONG_ONLY
+-
+ #ifdef __linux__
+ # include <sys/ioctl.h>
+ # include <sys/mount.h>



Home | Main Index | Thread Index | Old Index