1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/lang/m3gdb/files/patch-ah
Kris Kennaway af1b2a97de Partially fix build on -current (remove duplicate declarations from
system headers).  This is still broken by KSE changes.
2002-10-21 00:30:45 +00:00

15 lines
311 B
Plaintext

--- src/contrib/binutils/libiberty/strerror.c.orig Sun Oct 20 17:27:09 2002
+++ src/contrib/binutils/libiberty/strerror.c Sun Oct 20 17:27:31 2002
@@ -461,9 +461,10 @@
static const char **sys_errlist;
#else
-
+#if !defined(__FreeBSD__)
extern int sys_nerr;
extern char *sys_errlist[];
+#endif
#endif