updated devel/libosip to 5.2.0
some minor changes (cf. ChangeLog)
This commit is contained in:
parent
0c8601d74d
commit
c8e782360a
4 changed files with 9 additions and 48 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.22 2020/03/06 12:52:20 nia Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2020/12/06 23:37:34 schwarz Exp $
|
||||
|
||||
DISTNAME= libosip2-5.1.1
|
||||
DISTNAME= libosip2-5.2.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=osip/}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.17 2020/03/06 12:52:20 nia Exp $
|
||||
$NetBSD: distinfo,v 1.18 2020/12/06 23:37:34 schwarz Exp $
|
||||
|
||||
SHA1 (libosip2-5.1.1.tar.gz) = 21e04561d5ebf27c1870cdc72e8387912ea769d2
|
||||
RMD160 (libosip2-5.1.1.tar.gz) = 42e9230f883734f56e97c23d84ac6f6301f0fc96
|
||||
SHA512 (libosip2-5.1.1.tar.gz) = 485a385b67ff422878bb45ae16936a5ef4cfbff3c7db618a3ff57b942bae6d269c108fa58d58caf5be1123155fb946595e10aba5cf261ec656168444fddf840a
|
||||
Size (libosip2-5.1.1.tar.gz) = 721763 bytes
|
||||
SHA1 (patch-src_osip2_port__sema.c) = 690cc6204025566f605cfc58a1652b95afc8e65f
|
||||
SHA1 (libosip2-5.2.0.tar.gz) = a33be549e4095a3ba69659ef4df990ebec3168b6
|
||||
RMD160 (libosip2-5.2.0.tar.gz) = 9301c1dedcd8d15b58272fbb6a739b08b55dc040
|
||||
SHA512 (libosip2-5.2.0.tar.gz) = cc714ab5669c466ee8f0de78cf74a8b7633f3089bf104c9c1474326840db3d791270159456f9deb877af2df346b04493e8f796b2bb7d2be134f6c08b25a29f83
|
||||
Size (libosip2-5.2.0.tar.gz) = 718388 bytes
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
$NetBSD: patch-src_osip2_port__sema.c,v 1.1 2019/04/21 16:25:38 khorben Exp $
|
||||
|
||||
Fix the calls to semctl to make this package build on NetBSD 1.6
|
||||
|
||||
--- src/osip2/port_sema.c.orig 2013-12-18 18:36:46.000000000 +0000
|
||||
+++ src/osip2/port_sema.c
|
||||
@@ -305,7 +305,6 @@ osip_sem_trywait (struct osip_sem *_sem)
|
||||
struct osip_sem *
|
||||
osip_sem_init (unsigned int value)
|
||||
{
|
||||
- union semun val;
|
||||
int i;
|
||||
osip_sem_t *sem = (osip_sem_t *) osip_malloc (sizeof (osip_sem_t));
|
||||
|
||||
@@ -318,8 +317,7 @@ osip_sem_init (unsigned int value)
|
||||
osip_free (sem);
|
||||
return NULL;
|
||||
}
|
||||
- val.val = (int) value;
|
||||
- i = semctl (sem->semid, 0, SETVAL, val);
|
||||
+ i = semctl(sem->semid, 0, SETVAL, value);
|
||||
if (i != 0) {
|
||||
perror ("semctl error");
|
||||
osip_free (sem);
|
||||
@@ -331,13 +329,11 @@ osip_sem_init (unsigned int value)
|
||||
int
|
||||
osip_sem_destroy (struct osip_sem *_sem)
|
||||
{
|
||||
- union semun val;
|
||||
osip_sem_t *sem = (osip_sem_t *) _sem;
|
||||
|
||||
if (sem == NULL)
|
||||
return OSIP_SUCCESS;
|
||||
- val.val = 0;
|
||||
- semctl (sem->semid, 0, IPC_RMID, val);
|
||||
+ semctl(sem->semid, 0, IPC_RMID, 0);
|
||||
osip_free (sem);
|
||||
return OSIP_SUCCESS;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: CHANGES-2020,v 1.6596 2020/12/06 19:50:38 bsiegert Exp $
|
||||
$NetBSD: CHANGES-2020,v 1.6597 2020/12/06 23:37:34 schwarz Exp $
|
||||
|
||||
Changes to the packages collection and infrastructure in 2020:
|
||||
|
||||
|
@ -9592,3 +9592,4 @@ Changes to the packages collection and infrastructure in 2020:
|
|||
Updated pkgtools/pkg_install to 20201206 [wiz 2020-12-06]
|
||||
Updated devel/binutils to 2.35.1 [fcambus 2020-12-06]
|
||||
Added devel/reftools version 0.0.20201119 [bsiegert 2020-12-06]
|
||||
Updated devel/libosip to 5.2.0 [schwarz 2020-12-06]
|
||||
|
|
Loading…
Reference in a new issue