~ubuntu-branches/ubuntu/trusty/gcc-4.8/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/ada-bug564232.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-12-20 18:24:08 UTC
  • Revision ID: package-import@ubuntu.com-20131220182408-n58ja3mqwwrodxa9
Tags: 4.8.2-10ubuntu2
* Update to SVN 20131220 (r206145) from the gcc-4_8-branch.
* Set the goarch to arm64 for aarch64-linux-gnu.
* Fix statically linked gccgo binaries on AArch64 (Michael Hudson).
  LP: #1261604.
* Merge accumulated Ada changes from gnat-4.8.
* Update gnat build dependencies when not built from a separate source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- a/src/gcc/ada/gsocket.h
2
 
+++ b/src/gcc/ada/gsocket.h
3
 
@@ -225,7 +225,7 @@
4
 
 # define Need_Netdb_Buffer 0
5
 
 #endif
6
 
 
7
 
-#if defined (__FreeBSD__) || defined (__vxworks) || defined(__rtems__)
8
 
+#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__vxworks) || defined(__rtems__) || defined(__GNU__)
9
 
 # define Has_Sockaddr_Len 1
10
 
 #else
11
 
 # define Has_Sockaddr_Len 0