mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Unbreak on sparc64
PR: 124988 Submitted by: myself Approved by: maintainer timeout (14 days)
This commit is contained in:
parent
ebdd18cb79
commit
30a52867d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216594
1 changed files with 20 additions and 0 deletions
20
mail/smfsav/files/patch-getaddrinfo.c
Normal file
20
mail/smfsav/files/patch-getaddrinfo.c
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue