pkgsrc-Bugs archive

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

pkg/40400: patch from telepathy-gabble-0.7.18 (gibber-util.c)



>Number:         40400
>Category:       pkg
>Synopsis:       patch from telepathy-gabble-0.7.18 (gibber-util.c)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-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
 and gibber-util.c

>How-To-Repeat:
gibber-util.c: In function 'gibber_normalize_address':
gibber-util.c:34: error: dereferencing pointer to incomplete type
gibber-util.c:34: error: 'AF_INET6' undeclared (first use in this function)
gibber-util.c:34: error: (Each undeclared identifier is reported only once
gibber-util.c:34: error: for each function it appears in.)
gibber-util.c:34: warning: implicit declaration of function 
'IN6_IS_ADDR_V4MAPPED'

>Fix:
--- ./lib/gibber/gibber-util.c.orig     2009-01-15 00:06:21.000000000 +0000
+++ ./lib/gibber/gibber-util.c  2009-01-15 00:08:02.000000000 +0000
@@ -23,6 +23,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <netinet/in.h>
+
 #include "gibber-util.h"
 
 void



Home | Main Index | Thread Index | Old Index