Fix build on -current and quiet a warning by appropriate #include
This commit is contained in:
parent
4706899e46
commit
9027816955
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65672
2 changed files with 27 additions and 0 deletions
17
devel/freelibiberty/files/patch-ab
Normal file
17
devel/freelibiberty/files/patch-ab
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- strsignal.c.orig Thu Sep 5 00:36:12 2002
|
||||
+++ strsignal.c Thu Sep 5 00:38:57 2002
|
||||
@@ -208,14 +208,6 @@
|
||||
same name, it differs from other implementations in that it is dynamically
|
||||
initialized rather than statically initialized. */
|
||||
|
||||
-#ifdef NSIG
|
||||
-static int sys_nsig = NSIG;
|
||||
-#else
|
||||
-#ifdef _NSIG
|
||||
-static int sys_nsig = _NSIG;
|
||||
-#endif
|
||||
-#endif
|
||||
-extern const char * const sys_siglist[];
|
||||
|
||||
|
||||
/*
|
10
devel/freelibiberty/files/patch-ac
Normal file
10
devel/freelibiberty/files/patch-ac
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- xstrdup.c.orig Thu Sep 5 00:40:27 2002
|
||||
+++ xstrdup.c Thu Sep 5 00:40:35 2002
|
||||
@@ -2,6 +2,7 @@
|
||||
This trivial function is in the public domain.
|
||||
Ian Lance Taylor, Cygnus Support, December 1995. */
|
||||
|
||||
+#include <string.h>
|
||||
#include "libiberty.h"
|
||||
|
||||
char *
|
Loading…
Reference in a new issue