diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-07-09 10:46:48 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-07-09 10:46:48 +0000 |
commit | 30a52867d8bea8b6fb095a0d3b66f18bfe7c5b15 (patch) | |
tree | 173cd931dd208eb7708cee6dea9f036a522f3a15 /mail/smfsav | |
parent | - fix plist with -DNOPORTDOCS [1] (diff) |
- Unbreak on sparc64
PR: 124988
Submitted by: myself
Approved by: maintainer timeout (14 days)
Notes
Notes:
svn path=/head/; revision=216594
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. |