NetBSD-Bugs archive

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

toolchain/40399: patch from telepathy-gabble-0.7.18 (gibber-tcp-transport.c)



>Number:         40399
>Category:       toolchain
>Synopsis:       patch from telepathy-gabble-0.7.18 (gibber-tcp-transport.c)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 14 23:55:00 +0000 2009
>Originator:     Derouiche
>Release:        5.99.6
>Organization:
Algerie Motors 
>Environment:
NetBSD falouja 5.99.6 NetBSD 5.99.6 (JIHBED-$Revision: 1.235 $) #0: Mon Jan 12 
20:37:33 UTC 2009  root@falouja:/usr/obj/sys/arch/amd64/compile/JIHBED amd64

>Description:

chat/telepathy-gabble requires netinet/in.h which doesn't exist on
 gibber-tcp-transport.c.

>How-To-Repeat:
gibber-tcp-transport.c: In function 'gibber_tcp_transport_connect':
gibber-tcp-transport.c:125: error: 'IPPROTO_TCP' undeclared (first use in this 
function)
gibber-tcp-transport.c:125: error: (Each undeclared identifier is reported only 
once
gibber-tcp-transport.c:125: error: for each function it appears in.)
gmake[4]: *** [gibber-tcp-transport.lo] Error 1
gmake[4]: Leaving directory `/tmp/telepathy-gabble-0.7.18/lib/gibber'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/tmp/telepathy-gabble-0.7.18/lib/gibber'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/telepathy-gabble-0.7.18/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/telepathy-gabble-0.7.18'
gmake: *** [all] Error 2


>Fix:
--- ./lib/gibber/gibber-tcp-transport.c.orig    2009-01-14 23:33:04.000000000 
+0000
+++ ./lib/gibber/gibber-tcp-transport.c 2009-01-14 23:50:54.000000000 +0000
@@ -31,6 +31,8 @@
 
 #include "errno.h"
 
+#include <netinet/in.h>
+
 G_DEFINE_TYPE(GibberTCPTransport, gibber_tcp_transport,
               GIBBER_TYPE_FD_TRANSPORT)




Home | Main Index | Thread Index | Old Index