pkgsrc-Bugs archive

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

pkg/25807: gpsd 1.07 does not compile ; gcc 3.3 requires stdard instead of varargs



>Number:         25807
>Category:       pkg
>Synopsis:       gpsd 1.07 needs change to build under gcc 3.3.x
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 03 20:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZL
>Organization:
cows of earth unite!
        
>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:
gpsd 1.07 (found in /usr/pkgsrc/misc/gpsd) does not compile because one of its 
sources uses an include for varargs which is replaced by stdarg since gcc 3.3.x
>How-To-Repeat:
building gpsd on current :)
>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