[gcc-6] 44/401: * Fix gnat build failures on the Hurd and KFreeBSD (Svante Signell). Closes: #811063.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:00 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 3043f5970f914801467a72f586d38dbc8d5121f3
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Fri Jan 15 10:53:31 2016 +0000

      * Fix gnat build failures on the Hurd and KFreeBSD (Svante Signell).
        Closes: #811063.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8585 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                         | 2 ++
 debian/patches/ada-hurd.diff             | 7 +++----
 debian/patches/ada-s-osinte-gnu.ads.diff | 7 +++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2eed500..ffeff22 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 gcc-6 (6-20160109-2) UNRELEASED; urgency=medium
 
   * Update libgnatvsn/libgnatprj conflicts. Closes: #810809.
+  * Fix gnat build failures on the Hurd and KFreeBSD (Svante Signell).
+    Closes: #811063.
 
  -- Matthias Klose <doko at debian.org>  Tue, 12 Jan 2016 17:44:54 +0100
 
diff --git a/debian/patches/ada-hurd.diff b/debian/patches/ada-hurd.diff
index 1f1c01c..9c49f2b 100644
--- a/debian/patches/ada-hurd.diff
+++ b/debian/patches/ada-hurd.diff
@@ -2,7 +2,7 @@ Index: b/src/gcc/ada/s-osinte-gnu.ads
 ===================================================================
 --- /dev/null
 +++ b/src/gcc/ada/s-osinte-gnu.ads
-@@ -0,0 +1,802 @@
+@@ -0,0 +1,801 @@
 +------------------------------------------------------------------------------
 +--                                                                          --
 +--                GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS               --
@@ -349,9 +349,8 @@ Index: b/src/gcc/ada/s-osinte-gnu.ads
 +   --  returns the stack base of the specified thread. Only call this function
 +   --  when Stack_Base_Available is True.
 +
-+   --  From: /usr/include/i386-gnu/bits/shm.h __getpagesize or getpagesize??
-+   function Get_Page_Size return size_t;
-+   function Get_Page_Size return Address;
++   --  From: /usr/include/unistd.h __getpagesize or getpagesize??
++   function Get_Page_Size return int;
 +   pragma Import (C, Get_Page_Size, "__getpagesize");
 +   --  Returns the size of a page
 +
diff --git a/debian/patches/ada-s-osinte-gnu.ads.diff b/debian/patches/ada-s-osinte-gnu.ads.diff
index 829e78a..fb41e51 100644
--- a/debian/patches/ada-s-osinte-gnu.ads.diff
+++ b/debian/patches/ada-s-osinte-gnu.ads.diff
@@ -1,6 +1,6 @@
 --- /dev/null	2012-01-30 20:41:15.189616186 +0100
 +++ b/src/gcc/ada/s-osinte-gnu.ads	2012-04-11 19:34:45.000000000 +0200
-@@ -0,0 +1,750 @@
+@@ -0,0 +1,749 @@
 +------------------------------------------------------------------------------
 +--                                                                          --
 +--                GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS               --
@@ -346,9 +346,8 @@
 +   --  returns the stack base of the specified thread. Only call this function
 +   --  when Stack_Base_Available is True.
 +
-+   --  From: /usr/include/i386-gnu/bits/shm.h __getpagesize or getpagesize??
-+   function Get_Page_Size return size_t;
-+   function Get_Page_Size return Address;
++   --  From: /usr/include/unistd.h __getpagesize or getpagesize??
++   function Get_Page_Size return int;
 +   pragma Import (C, Get_Page_Size, "__getpagesize");
 +   --  Returns the size of a page
 +

-- 
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