pkgsrc-Bugs archive

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

pkg/25808: gpsd build failure ; include change required in netlib.c



>Number:         25808
>Category:       pkg
>Synopsis:       gpsd build failure ; include change required in netlib.c
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 03 20:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZL
>Organization:
        
>Environment:
System: NetBSD gilbou.shacknet.nu 1.6ZL NetBSD 1.6ZL (X30) #1: Thu Jun 3 
17:45:05 UTC 2004 
root%gilbou.shacknet.nu@localhost:/usr/src/sys/arch/i386/compile/X30 i386
Architecture: i386
Machine: i386
>Description:
when trying to compile gpsd 1.07 the make fails because gcc 3.3 replaced 
varargs with stdarg ; we need to replace the bad include in netlib.c source 
file to have the make work properly.
>How-To-Repeat:
cd /usr/pkgsrc/misc/gpsd ; make
>Fix:
--- netlib.c.orig       2004-06-03 19:40:38.000000000 +0000
+++ netlib.c    2004-06-03 19:41:16.000000000 +0000
@@ -9,7 +9,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
-#include <varargs.h>
+#include <stdarg.h>
 #include <netdb.h>
 #include <stdio.h>
 #include <arpa/inet.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index