0003-binutils-FreeBSD.patch 527 B

123456789101112131415161718192021222324
  1. --- a/libiberty/strerror.c 1999-05-03 15:28:54.000000000 +0800
  2. +++ b/libiberty/strerror.c 2009-12-14 14:26:02.000000000 +0800
  3. @@ -462,7 +462,7 @@
  4. #else
  5. -extern int sys_nerr;
  6. +//extern int sys_nerr;
  7. extern char *sys_errlist[];
  8. #endif
  9. --- a/libiberty/strsignal.c 1999-05-03 15:28:54.000000000 +0800
  10. +++ b/libiberty/strsignal.c 2009-12-14 14:27:41.000000000 +0800
  11. @@ -244,7 +244,9 @@
  12. #else
  13. #ifdef NSIG
  14. +#if !defined(__FreeBSD__)
  15. static int sys_nsig = NSIG;
  16. +#endif
  17. #else
  18. #ifdef _NSIG
  19. static int sys_nsig = _NSIG;