/usr/src/gcc-4.9/debian/patches/gdc-frontend-posix.diff is in gcc-4.9-source 4.9.3-13ubuntu2.
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 13 14 15 | # DP: Fix build of the D frontend on the Hurd and KFreeBSD.
Index: b/src/gcc/d/dfrontend/object.h
===================================================================
--- a/src/gcc/d/dfrontend/object.h
+++ b/src/gcc/d/dfrontend/object.h
@@ -10,7 +10,7 @@
#ifndef OBJECT_H
#define OBJECT_H
-#define POSIX (__linux__ || __APPLE__ || __FreeBSD__ || __OpenBSD__ || __sun)
+#define POSIX (__linux__ || __GLIBC__ || __gnu_hurd__ || __APPLE__ || __FreeBSD__ || __OpenBSD__ || __sun)
#if __DMC__
#pragma once
|