pkgsrc-Bugs archive

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

pkg/32150: textproc/enchant fails to build on Solaris 10



>Number:         32150
>Category:       pkg
>Synopsis:       textproc/enchant fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 23 13:51:00 +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"
 




Home | Main Index | Thread Index | Old Index