NetBSD Problem Report #49786
From www@NetBSD.org Thu Mar 26 04:03:31 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 4A5D4A582D
for <gnats-bugs@gnats.NetBSD.org>; Thu, 26 Mar 2015 04:03:31 +0000 (UTC)
Message-Id: <20150326040330.0F106A6567@mollari.NetBSD.org>
Date: Thu, 26 Mar 2015 04:03:30 +0000 (UTC)
From: bnjf+netbsd@bnjf.id.au
Reply-To: bnjf+netbsd@bnjf.id.au
To: gnats-bugs@NetBSD.org
Subject: games/nethack-tty won't build on Solaris
X-Send-Pr-Version: www-1.0
>Number: 49786
>Category: pkg
>Synopsis: games/nethack-tty won't build on Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: solaris-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 26 04:05:00 +0000 2015
>Last-Modified: Thu Mar 26 08:05:47 +0000 2015
>Originator: Brad Forschinger
>Release: 2014Q4
>Organization:
>Environment:
SunOS x 5.10 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
cc: Sun C 5.12 SunOS_sparc Patch 148917-08 2014/09/10
>Description:
missing definition for index():
cc -O -I../include -DGTYPE_TTY -I/usr/include -c mkmaze.c
"mkmaze.c", line 480: warning: implicit function declaration: index
"mkmaze.c", line 480: warning: improper pointer/integer combination: op "="
"mkmaze.c", line 529: warning: implicit function declaration: rindex
"mkmaze.c", line 529: operands have incompatible types:
int "-" pointer to char
"mkmaze.c", line 539: warning: improper pointer/integer combination: op "="
cc: acomp failed for mkmaze.c
>How-To-Repeat:
>Fix:
--- mkmaze.c.orig Thu Mar 26 14:59:26 2015
+++ mkmaze.c Thu Mar 26 14:59:50 2015
@@ -5,6 +5,7 @@
#include "hack.h"
#include "sp_lev.h"
#include "lev.h" /* save & restore info */
+#include <strings.h>
/* from sp_lev.c, for fixup_special() */
extern char *lev_message;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 26 Mar 2015 08:05:47 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.