From: Aurelien Jarno <aurelien@aurel32.net>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] Fix gnat on GNU/kFreeBSD
Date: Thu, 26 Jul 2007 13:08:00 -0000 [thread overview]
Message-ID: <20070726125806.GA85569@kfreebsd-i386.aurel32.net> (raw)
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
next reply other threads:[~2007-07-26 12:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-26 13:08 Aurelien Jarno [this message]
2007-07-26 13:34 ` Arnaud Charlet
2007-07-27 10:37 ` Aurelien Jarno
2007-08-01 17:11 ` Matthias Klose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070726125806.GA85569@kfreebsd-i386.aurel32.net \
--to=aurelien@aurel32.net \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).