Subject: pkg/31864: bootstrap 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/18/2005 22:27:00
>Number:         31864
>Category:       pkg
>Synopsis:       bootstrap on tru64 5.1 fails
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 18 22:27:00 +0000 2005
>Originator:     Sergey Svishchev
>Release:        
>Organization:
>Environment:
OSF1 V5.1 732 alpha
>Description:
Not enough guards to prevent conflict with system headers.  README.OSF1 says that bootstrap was tested on 5.1B, while this system is original 5.1.
>How-To-Repeat:

>Fix:
--- bootstrap/bmake/ranlib.h	20 Nov 2004 04:31:35 -0000	1.2
+++ bootstrap/bmake/ranlib.h	3 Oct 2005 12:25:53 -0000
@@ -10,7 +10,7 @@
  * The ran_strx fields index the string table whose first byte is numbered 0.
  */
 
-#if !defined(IRIX) && !defined(__digital__)
+#if !defined(IRIX) && !defined(__digital__) && !defined(__osf__)
 #ifndef _ranlib_h
 #define _ranlib_h