diff options
author | gahr <gahr@FreeBSD.org> | 2008-07-09 18:46:48 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-07-09 18:46:48 +0800 |
commit | 1c22bcb1bf593bd31a71d7a3235da91a25c814c6 (patch) | |
tree | cd75a1e98451ac7e32a46de4e275b194bb9691de /mail/smfsav | |
parent | 6fccfc093f8e1dffcc3f26df2d1091ae57428147 (diff) | |
download | freebsd-ports-gnome-1c22bcb1bf593bd31a71d7a3235da91a25c814c6.tar.gz freebsd-ports-gnome-1c22bcb1bf593bd31a71d7a3235da91a25c814c6.tar.zst freebsd-ports-gnome-1c22bcb1bf593bd31a71d7a3235da91a25c814c6.zip |
- Unbreak on sparc64
PR: 124988
Submitted by: myself
Approved by: maintainer timeout (14 days)
Diffstat (limited to 'mail/smfsav')
-rw-r--r-- | mail/smfsav/files/patch-getaddrinfo.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/smfsav/files/patch-getaddrinfo.c b/mail/smfsav/files/patch-getaddrinfo.c new file mode 100644 index 000000000000..ac50d7e5ba29 --- /dev/null +++ b/mail/smfsav/files/patch-getaddrinfo.c @@ -0,0 +1,20 @@ +--- ../src/lib/irs/getaddrinfo.c.orig 2008-06-25 18:33:53.000000000 +0000 ++++ ../src/lib/irs/getaddrinfo.c 2008-06-25 18:34:20.000000000 +0000 +@@ -332,7 +332,7 @@ + pai->ai_family = PF_UNSPEC; + pai->ai_socktype = ANY; + pai->ai_protocol = ANY; +-#ifdef __sparcv9 ++#if defined __sparcv9 && !defined(__FreeBSD__) + /* + * clear _ai_pad to preserve binary + * compatibility with previously compiled 64-bit +@@ -365,7 +365,7 @@ + } + memcpy(pai, hints, sizeof(*pai)); + +-#ifdef __sparcv9 ++#if defined __sparcv9 && !defined(__FreeBSD__) + /* + * We need to clear _ai_pad to preserve binary + * compatibility. See prior comment. |