Request 238 was acted upon.
_________________________________________________________________________

         URL: https://rt.openpkg.org/id/238
      Ticket: [OpenPKG #238]
     Subject: ccache Compaq Tru64 UNIX V5.1B (Rev. 2650) built failure.
  Requestors: [EMAIL PROTECTED]
       Queue: openpkg
       Owner: Nobody
      Status: new
 Transaction: Ticket created by [EMAIL PROTECTED]
        Time: Tue Aug 26 12:51:08 2003
_________________________________________________________________________

The following patch (see attachment) is needed to build the ccache rpm on
Compaq Tru64 UNIX V5.1B (Rev. 2650). Applying this patch on all platforms
should work, but in any case, here is the platform according to autoconf:

config.guess: alphaev68-dec-osf5.1
config.sub: alphaev68-dec-osf5.1


NOTE: I also send this patch upstream to [EMAIL PROTECTED]


-----Original Message-----
From: Karl Vogel 
Sent: Tuesday, August 26, 2003 12:45
To: '[EMAIL PROTECTED]'
Subject: Compaq Tru64 UNIX V5.1B (Rev. 2650) built failure.


Building ccache V2.2 on Compaq Tru64 UNIX V5.1B (Rev. 2650) using DEC C
fails.

In /usr/include/string.h on Tru64, basename is defined:

/* declaration & renaming block for basename() & dirname() */
#if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_LIBC_POLLUTION_H_)
#ifdef __DECC
#pragma extern_prefix "_E"
#else
#define basename(__a) _Ebasename(__a)
#define dirname(__a) _Edirname(__a)
#endif
#endif  /* _XOPEN_SOURCE_EXTENDED && !_LIBC_POLLUTION_H_ */
extern char    * __R(basename) __((char  *));
extern char    * __R(dirname) __((char  *));
#if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_LIBC_POLLUTION_H_)
#ifdef __DECC
#pragma extern_prefix ""
#endif
#endif /* _XOPEN_SOURCE_EXTENDED && !_LIBC_POLLUTION_H_ */


This conflicts with the basename definition in ccache. Attached patch
renames the ccache version to x_basename.


Attachment: ccache-tru64-basename.patch
Description: Binary data

Reply via email to