NetBSD Problem Report #32150

From www@netbsd.org  Wed Nov 23 13:50:52 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id BFD3963BA4D; Wed, 23 Nov 2005 13:50:52 +0000 (UTC)
Message-Id: <20051123135052.BFD3963BA4D@narn.netbsd.org>
Date: Wed, 23 Nov 2005 13:50:52 +0000 (UTC)
From: segv@netctl.net
Reply-To: segv@netctl.net
To: gnats-bugs@netbsd.org
Subject: textproc/enchant fails to build on Solaris 10
X-Send-Pr-Version: www-1.0

>Number:         32150
>Category:       pkg
>Synopsis:       textproc/enchant fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 23 13:51:00 +0000 2005
>Last-Modified:  Wed Nov 23 19:46:44 +0000 2005
>Originator:     segv
>Release:        
>Organization:
>Environment:
SunOS ultra10 5.10 Generic sun4u sparc SUNW,Ultra-5_10
>Description:
Building enchant on Solaris 10 with Sun Studio 11 compilers fails with various errors.
>How-To-Repeat:

>Fix:
edit textproc/enchant/Makefile to contain the following line:

LIBS.SunOS+=            -lc

and apply the following patches to the source code:

--- src/myspell/affixmgr.hxx.orig       Wed Nov 23 13:32:11 2005
+++ src/myspell/affixmgr.hxx    Wed Nov 23 13:32:53 2005
@@ -5,6 +5,7 @@
 #include "baseaffix.hxx"
 #include "hashmgr.hxx"
 #include <cstdio>
+#include <stdio.h>

 class AffixMgr
 {


--- src/myspell/suggestmgr.cxx.orig     Wed Nov 23 13:44:42 2005
+++ src/myspell/suggestmgr.cxx  Wed Nov 23 13:44:55 2005
@@ -4,6 +4,7 @@
 #include <cctype>
 #include <cstring>
 #include <cstdio>
+#include <string.h>

 #include "suggestmgr.hxx"


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Wed, 23 Nov 2005 19:46:44 +0000
Responsible-Changed-Why:
solaris problem


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.