pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/27317: gcrypt.h references struct timeval without including sys/time.h
>Number: 27317
>Category: pkg
>Synopsis: pkgsrc/security/libgcrypt installs header gcrypt.h with
>missing include
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 22 08:47:02 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: shannonjr%netbsd.org@localhost
>Release: NetBSD 2.0_RC4
>Organization:
NetBSD
>Environment:
System: NetBSD colleen.internal.johnrshannon.com 2.0_RC4 NetBSD 2.0_RC4
(KERNEL) #1: Fri Oct 8 05:30:25 MDT 2004
root%colleen.internal.johnrshannon.com@localhost:/usr/obj/usr/src/sys/arch/i386/compile/KERNEL
i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/security/libgcrypt installs header gcrypt.h. This header
references struct timeval without including sys/time.h.
Code compiled against this header encounter an undeclared type.
>How-To-Repeat:
Obvious by code inspection.
>Fix:
Add this as patch-ac:
$NetBSD$
--- src/gcrypt.h.orig 2004-04-15 03:10:37.000000000 -0600
+++ src/gcrypt.h
@@ -29,6 +29,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
/* This is required for error code compatibility. */
#define _GCRY_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_GCRYPT
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index