/usr/src/gcc-8/debian/patches/gdc-sparc-fix.diff is in gcc-8-source 8-20180414-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | # DP: Fix gdc build on sparc.
--- a/src/gcc/d/d-target.cc
+++ b/src/gcc/d/d-target.cc
@@ -18,6 +18,7 @@
#include "config.h"
#include "system.h"
#include "coretypes.h"
+#include "memmodel.h"
#include "dfrontend/aggregate.h"
#include "dfrontend/module.h"
|