pkgsrc-Bugs archive

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

pkg/30544: bmake/sigcompat.c needs string.h on solaris



>Number:         30544
>Category:       pkg
>Synopsis:       bmake/sigcompat.c needs string.h on solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 17 17:12:00 +0000 2005
>Originator:     john heasley
>Release:        SunOS 5.10
>Organization:
        
>Environment:
        
        
System: SunOS fir 5.10 s10_69 sun4u sparc SUNW,Sun-Blade-1000
Architecture: sparc64
Machine: sparc64
>Description:
solaris 2.9/10 need string.h in bmake/sigcompat.c for memcpy(), etc.
>How-To-Repeat:
        
>Fix:
The configure script already checks for string.h.

Index: bootstrap/bmake/sigcompat.c
===================================================================
RCS file: /cvsroot/pkgsrc/bootstrap/bmake/sigcompat.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sigcompat.c
--- bootstrap/bmake/sigcompat.c 11 Mar 2004 13:04:12 -0000      1.1.1.1
+++ bootstrap/bmake/sigcompat.c 17 Jun 2005 17:08:32 -0000
@@ -106,6 +106,9 @@
 #include <sys/param.h>
 #include <sys/cdefs.h>
 #include "assert.h"
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif
 
 #ifndef ASSERT
 # define ASSERT assert

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index