public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix gnat on GNU/kFreeBSD
@ 2007-07-26 13:08 Aurelien Jarno
  2007-07-26 13:34 ` Arnaud Charlet
  0 siblings, 1 reply; 4+ messages in thread
From: Aurelien Jarno @ 2007-07-26 13:08 UTC (permalink / raw)
  To: gcc-patches

The patch below fixes gnat on GNU/kFreeBSD. It is the same kind of fixes
that the one that has already been applied on other architectures.


2007-07-27  Aurelien Jarno  <aurelien@aurel32.net>

	* s-osinte-kfreebsd-gnu.ads ((sigset_t_ptr): Removed, replaced by 
	anonymous access type.
	(pthread_sigmask): Now take an access sigset_t.

--- gcc/ada/s-osinte-kfreebsd-gnu.ads.orig	2007-07-06 20:26:13 +0200
+++ gcc/ada/s-osinte-kfreebsd-gnu.ads	2007-07-26 11:37:00 +0200
@@ -296,12 +296,10 @@
    function pthread_kill (thread : pthread_t; sig : Signal) return int;
    pragma Import (C, pthread_kill, "pthread_kill");
 
-   type sigset_t_ptr is access all sigset_t;
-
    function pthread_sigmask
      (how  : int;
-      set  : sigset_t_ptr;
-      oset : sigset_t_ptr) return int;
+      set  : access sigset_t;
+      oset : access sigset_t) return int;
    pragma Import (C, pthread_sigmask, "pthread_sigmask");
 
    --------------------------

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-01 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-26 13:08 [PATCH] Fix gnat on GNU/kFreeBSD Aurelien Jarno
2007-07-26 13:34 ` Arnaud Charlet
2007-07-27 10:37   ` Aurelien Jarno
2007-08-01 17:11     ` Matthias Klose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).