Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 10:36:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194036] New: net/libutp: update to 0.20130514 (before API change from uTorrent 3.4)
Message-ID:  <bug-194036-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194036

            Bug ID: 194036
           Summary: net/libutp: update to 0.20130514 (before API change
                    from uTorrent 3.4)
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@vfemail.net
                CC: mi@ALDAN.algebra.com
        Depends on: 194029
                CC: mi@ALDAN.algebra.com
             Flags: maintainer-feedback?(mi@ALDAN.algebra.com)

Created attachment 147833
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147833&action=edit
update

The most recent version of libutp breaks Transmission due to API change.

peer-io.c:520:32: error: variable has incomplete type 'struct UTPFunctionTable'
static struct UTPFunctionTable utp_function_table = {
                               ^
peer-io.c:520:15: note: forward declaration of 'struct UTPFunctionTable'
static struct UTPFunctionTable utp_function_table = {
              ^
peer-io.c:575:32: error: variable has incomplete type 'struct UTPFunctionTable'
static struct UTPFunctionTable dummy_utp_function_table = {
                               ^
peer-io.c:520:15: note: forward declaration of 'struct UTPFunctionTable'
static struct UTPFunctionTable utp_function_table = {
              ^
peer-io.c:641:9: warning: implicit declaration of function 'UTP_SetSockopt' is
      invalid in C99 [-Wimplicit-function-declaration]
        UTP_SetSockopt (utp_socket, SO_RCVBUF, UTP_READ_BUFFER_SIZE);
        ^
peer-io.c:643:9: warning: implicit declaration of function 'UTP_SetCallbacks'
is
      invalid in C99 [-Wimplicit-function-declaration]
        UTP_SetCallbacks (utp_socket,
        ^
peer-io.c:648:13: warning: implicit declaration of function 'UTP_Connect' is
invalid
      in C99 [-Wimplicit-function-declaration]
            UTP_Connect (utp_socket);
            ^
peer-io.c:810:9: warning: implicit declaration of function 'UTP_Close' is
invalid in
      C99 [-Wimplicit-function-declaration]
        UTP_Close (io->utp_socket);
        ^
peer-io.c:1233:17: warning: implicit declaration of function 'UTP_RBDrained' is
      invalid in C99 [-Wimplicit-function-declaration]
                UTP_RBDrained (io->utp_socket);
                ^
peer-io.c:1278:13: warning: implicit declaration of function 'UTP_Write' is
invalid
      in C99 [-Wimplicit-function-declaration]
            UTP_Write (io->utp_socket, howmuch);
            ^
6 warnings and 2 errors generated.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194036-13>