Package Details: libosip2-3xx 1:3.3.0-1

Git Clone URL: https://aur.archlinux.org/libosip2-3xx.git (read-only, click to copy)
Package Base: libosip2-3xx
Description: an implementation of SIP
Upstream URL: http://www.gnu.org/software/osip/
Licenses: LGPL
Conflicts: libosip2
Provides: libosip2
Submitter: fbrennan
Maintainer: fbrennan
Last Packager: fbrennan
Votes: 0
Popularity: 0.000000
First Submitted: 2023-11-03 23:02 (UTC)
Last Updated: 2023-11-03 23:02 (UTC)

Dependencies (1)

Required by (6)

Sources (1)

Latest Comments

micwoj92 commented on 2025-12-04 22:56 (UTC)

Build fails:

osip_body.c: In function ‘osip_body_clone’:
osip_body.c:111:53: error: passing argument 3 of ‘osip_list_clone’ from incompatible pointer type [-Wincompatible-pointer-types]
  111 |   i = osip_list_clone(body->headers, copy->headers, &osip_header_clone);
      |                                                     ^~~~~~~~~~~~~~~~~~
      |                                                     |
      |                                                     int (*)(const osip_header_t *, osip_header_t **) {aka int (*)(const struct osip_header *, struct osip_header **)}
In file included from ../../include/osipparser2/osip_port.h:170,
                 from osip_body.c:23:
../../include/osipparser2/osip_list.h:121:74: note: expected ‘int (*)(void *, void **)’ but argument is of type ‘int (*)(const osip_header_t *, osip_header_t **)’ {aka ‘int (*)(const struct osip_header *, struct osip_header **)’}
  121 |   int osip_list_clone (const osip_list_t * src, osip_list_t * dst, int (*clone_func) (void *, void **));
      |                                                                    ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../include/osipparser2/osip_headers.h:29,
                 from ../../include/osipparser2/osip_message.h:25,
                 from osip_body.c:24:
../../include/osipparser2/headers/osip_header.h:115:7: note: ‘osip_header_clone’ declared here
  115 |   int osip_header_clone (const osip_header_t * header, osip_header_t ** dest);
      |       ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:382: osip_via.lo] Error 1
make[3]: *** [Makefile:382: osip_uri.lo] Error 1
make[3]: *** [Makefile:382: osip_message.lo] Error 1