Current-Users archive

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

Re: tools build failure on Linux (and fix)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 16.01.2016 07:00, coypu%SDF.ORG@localhost wrote:
> I'm compiling NetBSD-current (tools) on Linux. I needed to use the
> following patch because external/gpl3/gcc.old/dist/gcc doesn't use
> RCSID anywhere and Linux doesn't define __RCSID by default.
> 
> --- a/external/gpl3/gcc.old/dist/gcc/regsub.c +++
> b/external/gpl3/gcc.old/dist/gcc/regsub.c @@ -29,7 +29,6 @@ *
> POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> 
> -__RCSID("$NetBSD: regsub.c,v 1.1 2016/01/09 02:00:14 christos Exp
> $");
> 
> #include <sys/param.h>
> 
> 

This patch is wrong. You need to make use of libnbcompat from
pkgsrc/pkgtools.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWmndaAAoJEEuzCOmwLnZsG0oP/RefVVhIlRjEQoN9QYDYjHZF
V/K5veBRUcIcS4+TCkhpkKR3xozDc6chtDmaImVmwZWjCqPtfj5BALjG+jLWOe5k
xl2JDSMBTkzjeMNlcabwHOx1XhqxPdhmy7irIZOpkW06ntjBPnlSP0jqXQJbF8OS
qpwU7fNz3ABum16atoOmVIEBcWTSLr0lkQoXr1RiBvapPteofkxK0AM4QhmJsrYW
UeuD5G/HxPW4a1NaDLwTO4TYCbWhFpQNlgpF6SC0Hu0Ygw8LAkc338tRJ2EMD2Z7
2JCbIjbvagvxDvBZWD+mHI87nutMu4H3lh51l0ypKKQCcWr2BeXTNU6NTwYfanGa
T76/2oxGIuNONHv8WP1myBErlMzRps8cMD7pY6HKBP7Fs+fHuU58quVtrC6IBX3s
xGg6kBTygJJdS4CjtP3dTW5zPRgErfIrZq4Rp4xpEQW55474FfzpcM9lFSCPfTIP
tDX7fIVZp1/RXm+FehrLYFpkibMyJDmmf4nNRijeBLn9tGxmsvW4OZMEOxPxvugf
IRYV8ZwkSx4QjmF/q96XjIJ8q5dwgzKSZEL2WU7wD7cIOfDKefPwBDnkrU2FGhmU
vG28Z4VSIxGwWuBCjYCNwIJD87/QvdRtGjTlCawh+1+UL5xfAdD1w7hfU1v860Vh
CGiVxn1P1UupHYZEor32
=84kj
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index