/usr/src/gcc-4.6/debian/patches/ada-bug564232.diff is in gcc-4.6-source 4.6.3-14.
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 | --- a/src/gcc/ada/gsocket.h
+++ b/src/gcc/ada/gsocket.h
@@ -225,7 +225,7 @@
# define Need_Netdb_Buffer 0
#endif
-#if defined (__FreeBSD__) || defined (__vxworks) || defined(__rtems__)
+#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__vxworks) || defined(__rtems__) || defined(__GNU__)
# define Has_Sockaddr_Len 1
#else
# define Has_Sockaddr_Len 0
|