Subject: pkg/31901: build of pkgtools/digest on Tru64 5.1 fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <svs+pr@grep.ru>
List: pkgsrc-bugs
Date: 10/23/2005 21:47:00
>Number: 31901
>Category: pkg
>Synopsis: build of pkgtools/digest on Tru64 5.1 fails
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 23 21:47:00 +0000 2005
>Originator: Sergey Svishchev
>Release:
>Organization:
>Environment:
>Description:
Build chokes on missing definition of int64_t:
cc -DHAVE_CONFIG_H -I. -I. -DHOST=\"alpha-dec-osf5.1\" -DVERSION=\"20050323\" -O2 -c whirlpool.c -o whirlpool.o
cc: Error: whirlpool.c, line 1449: In this declaration, "int64_t" must specify a type. (badparsedecl)
int64_t sourceBits = sourceBytes * 8;
<...>
>How-To-Repeat:
>Fix:
--- pkgtools/digest/files/whirlpool.c 24 Mar 2005 15:37:40 -0000 1.2
+++ pkgtools/digest/files/whirlpool.c 3 Oct 2005 12:26:16 -0000
@@ -71,6 +71,8 @@
#include <unistd.h>
#include <time.h>
+#include <digest-types.h>
+
#include "whirlpool.h"
/*