mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
net/owamp: fix type confusion to fix build with clang 15, regen plist.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
COMMENT = rfc4656 one-way active measurement protocol
|
||||
|
||||
DISTNAME = owamp-3.1
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
Index: owamp/api.c
|
||||
--- owamp/api.c.orig
|
||||
+++ owamp/api.c
|
||||
@@ -2313,7 +2313,7 @@ GetSessionFinishedType(
|
||||
phdr->finished = GetSessionFinishedType(ctx,ntohl(finished));
|
||||
|
||||
if(phdr->version < 3){
|
||||
- phdr->oset_skiprecs = NULL;
|
||||
+ phdr->oset_skiprecs = 0;
|
||||
phdr->num_skiprecs = 0;
|
||||
phdr->oset_datarecs = phdr->hdr_len;
|
||||
phdr->num_datarecs = (phdr->sbuf.st_size - phdr->hdr_len)/
|
||||
+3
-3
@@ -1,5 +1,6 @@
|
||||
@newgroup _owampd:678
|
||||
@newuser _owampd:678:_owampd::owampd user:/nonexistent:/sbin/nologin
|
||||
@rcscript ${RCDIR}/owampd
|
||||
@bin bin/aespasswd
|
||||
@bin bin/owampd
|
||||
bin/owfetch
|
||||
@@ -29,8 +30,8 @@ include/I2util/sha1.h
|
||||
include/I2util/sha1P.h
|
||||
include/I2util/table.h
|
||||
include/I2util/util.h
|
||||
lib/libI2util.a
|
||||
lib/libowamp.a
|
||||
@static-lib lib/libI2util.a
|
||||
@static-lib lib/libowamp.a
|
||||
@man man/man1/aespasswd.1
|
||||
@man man/man1/owfetch.1
|
||||
@man man/man1/owping.1
|
||||
@@ -53,4 +54,3 @@ share/examples/owampd/owampd.conf
|
||||
@sample ${SYSCONFDIR}/owampd/owampd.conf
|
||||
share/examples/owampd/owampd.limits
|
||||
@sample ${SYSCONFDIR}/owampd/owampd.limits
|
||||
@rcscript ${RCDIR}/owampd
|
||||
|
||||
Reference in New Issue
Block a user