[gcc-6] 131/401: patches/ada-hurd.diff: Fix Get_Page_Size type.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:48:22 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 88a3741eaa6f09765747a1610fd201e72b7bc8fc
Author: sthibault <sthibault at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Wed May 4 15:38:31 2016 +0000

    patches/ada-hurd.diff: Fix Get_Page_Size type.
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@8822 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog             |  4 ++++
 debian/patches/ada-hurd.diff | 21 +++++++++++++++++++++
 debian/rules.patch           |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index be2e044..f8edfd5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,14 @@
 gcc-6 (6.1.1-2) UNRELEASED; urgency=medium
 
+  [ Matthias Klose ]
   * Call dh_makeshlibs with the --noscripts option when building a
     cross compiler.
   * Fix building cross gnat libs when not building the common libs.
   * Fix building cross mips* multilibs when not building the common libs.
 
+  [ Samuel Thibault ]
+  * patches/ada-hurd.diff: Fix Get_Page_Size type.
+
  -- Matthias Klose <doko at debian.org>  Sat, 30 Apr 2016 16:38:17 +0200
 
 gcc-6 (6.1.1-1) unstable; urgency=medium
diff --git a/debian/patches/ada-hurd.diff b/debian/patches/ada-hurd.diff
new file mode 100644
index 0000000..57229f7
--- /dev/null
+++ b/debian/patches/ada-hurd.diff
@@ -0,0 +1,21 @@
+2016-05-04  Samuel Thibault  <samuel.thibault at ens-lyon.org>
+
+* s-osinte-gnu.ads: Make Get_Page_Size return int, and make it use
+getpagesize instead of __getpagesize.
+
+--- a/src/gcc/ada/s-osinte-gnu.ads
++++ b/src/gcc/ada/s-osinte-gnu.ads
+@@ -344,10 +344,9 @@ package System.OS_Interface is
+    --  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;
+-   pragma Import (C, Get_Page_Size, "__getpagesize");
++   --  From: /usr/include/i386-gnu/bits/shm.h
++   function Get_Page_Size return int;
++   pragma Import (C, Get_Page_Size, "getpagesize");
+    --  Returns the size of a page
+ 
+    --  From /usr/include/i386-gnu/bits/mman.h
diff --git a/debian/rules.patch b/debian/rules.patch
index c0ae361..2410f2a 100644
--- a/debian/rules.patch
+++ b/debian/rules.patch
@@ -135,6 +135,7 @@ ifneq (,$(findstring 4.4, $(PKGSOURCE)))
 endif
 
 debian_patches += ada-arm
+debian_patches += ada-hurd
 debian_patches += ada-kfreebsd
 debian_patches += ada-revert-pr63225
 

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