Hi,
Svante Signell wrote:
> I think the same patch applies to the kfreebsd-* builds as well. Adding the
> kfreebsd usertag to this bug.
Thank you very much, Svante! The attached inter-diff against
ada-kfreebsd.diff fixes this for kfreebsd also.
Regards,
--
Steven Chamberlain
ste...@pyro.eu.org
--- debian/patches/ada-kfreebsd.diff.orig 2016-01-16 23:04:12.0 +
+++ debian/patches/ada-kfreebsd.diff 2016-01-17 03:03:11.705211634 +
@@ -234,7 +234,17 @@
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 @@
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 @@
-- 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);
signature.asc
Description: Digital signature