[gcc-6] 52/401: * Fix gnat build failure on KFreeBSD (Steven Chamberlain). Closes: #811063).

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit 7e7b1bb191dad9f61bda0992b42e9df439c5eca7
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Mon Jan 18 12:38:54 2016 +0000

      * Fix gnat build failure on KFreeBSD (Steven Chamberlain). Closes: #811063).
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8594 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                 |  6 ++++++
 debian/patches/ada-kfreebsd.diff | 16 +++++++++++++---
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ab7fdce..7edc6a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gcc-6 (6-20160117-2) experimental; urgency=medium
+
+  * Fix gnat build failure on KFreeBSD (Steven Chamberlain). Closes: #811063).
+
+ -- Matthias Klose <doko at debian.org>  Mon, 18 Jan 2016 13:35:20 +0100
+
 gcc-6 (6-20160117-1) experimental; urgency=medium
 
   * GCC 6 snapshot build, taken from the trunk 20160117.
diff --git a/debian/patches/ada-kfreebsd.diff b/debian/patches/ada-kfreebsd.diff
index 4bb0069..96ff23a 100644
--- a/debian/patches/ada-kfreebsd.diff
+++ b/debian/patches/ada-kfreebsd.diff
@@ -234,7 +234,17 @@ Index: b/src/gcc/ada/s-osinte-kfreebsd-gnu.ads
     function To_Duration (TS : timespec) return Duration;
     pragma Inline (To_Duration);
  
-@@ -437,31 +441,25 @@ package System.OS_Interface is
+@@ -330,8 +334,7 @@ package System.OS_Interface is
+    --  returns the stack base of the specified thread. Only call this function
+    --  when Stack_Base_Available is True.
+ 
+-   function Get_Page_Size return size_t;
+-   function Get_Page_Size return Address;
++   function Get_Page_Size return int;
+    pragma Import (C, Get_Page_Size, "getpagesize");
+    --  Returns the size of a page
+ 
+@@ -437,31 +440,25 @@ package System.OS_Interface is
     PTHREAD_PRIO_PROTECT : constant := 2;
     PTHREAD_PRIO_INHERIT : constant := 1;
  
@@ -270,7 +280,7 @@ Index: b/src/gcc/ada/s-osinte-kfreebsd-gnu.ads
  
     type struct_sched_param is record
        sched_priority : int;  --  scheduling priority
-@@ -588,8 +586,8 @@ private
+@@ -588,8 +585,8 @@ private
     --  #define sa_handler __sigaction_u._handler
     --  #define sa_sigaction __sigaction_u._sigaction
  
@@ -281,7 +291,7 @@ Index: b/src/gcc/ada/s-osinte-kfreebsd-gnu.ads
     --  sigcontext type is opaque, so it is architecturally neutral.
     --  It is always passed as an access type, so define it as an empty record
     --  since the contents are not used anywhere.
-@@ -606,9 +604,6 @@ private
+@@ -606,9 +603,6 @@ private
     end record;
     pragma Convention (C, timespec);
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git



More information about the Reproducible-commits mailing list