sys-devel/bmake: Add 20181221 version
[gentoo.git] / sys-devel / bmake / files / bmake-20181221-fix-gcc10-fno-common.patch
1 --- a/make.c
2 +++ b/make.c
3 @@ -139,6 +139,8 @@
4  static int MakeBuildChild(void *, void *);
5  static int MakeBuildParent(void *, void *);
6  
7 +FILE *debug_file;
8 +
9  MAKE_ATTR_DEAD static void
10  make_abort(GNode *gn, int line)
11  {
12 --- a/make.h
13 +++ b/make.h
14 @@ -464,7 +464,7 @@
15   *     There is one bit per module.  It is up to the module what debug
16   *     information to print.
17   */
18 -FILE *debug_file;              /* Output written here - default stdout */
19 +extern FILE *debug_file;               /* Output written here - default stdout */
20  extern int debug;
21  #define        DEBUG_ARCH      0x00001
22  #define        DEBUG_COND      0x00002