diff options
Diffstat (limited to 'sys-devel/bmake/files/bmake-20181221-fix-gcc10-fno-common.patch')
-rw-r--r-- | sys-devel/bmake/files/bmake-20181221-fix-gcc10-fno-common.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-devel/bmake/files/bmake-20181221-fix-gcc10-fno-common.patch b/sys-devel/bmake/files/bmake-20181221-fix-gcc10-fno-common.patch new file mode 100644 index 000000000000..affd94daefe7 --- /dev/null +++ b/sys-devel/bmake/files/bmake-20181221-fix-gcc10-fno-common.patch @@ -0,0 +1,22 @@ +--- a/make.c ++++ b/make.c +@@ -139,6 +139,8 @@ + static int MakeBuildChild(void *, void *); + static int MakeBuildParent(void *, void *); + ++FILE *debug_file; ++ + MAKE_ATTR_DEAD static void + make_abort(GNode *gn, int line) + { +--- a/make.h ++++ b/make.h +@@ -464,7 +464,7 @@ + * There is one bit per module. It is up to the module what debug + * information to print. + */ +-FILE *debug_file; /* Output written here - default stdout */ ++extern FILE *debug_file; /* Output written here - default stdout */ + extern int debug; + #define DEBUG_ARCH 0x00001 + #define DEBUG_COND 0x00002 |