Date: Wed, 25 Jun 2008 18:56:30 -0000 From: "Pietro Cerutti" <gahr@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/124988: [patch] mail/smfsav unbreak on sparc64 Message-ID: <1214420190.2860@gahrtop.localhost> Resent-Message-ID: <200806251900.m5PJ0BWD014617@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124988 >Category: ports >Synopsis: [patch] mail/smfsav unbreak on sparc64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 25 19:00:11 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD 8.0-CURRENT #2: Tue Jun 24 08:15:41 CEST 2008 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: >How-To-Repeat: >Fix: --- smfsav.diff begins here --- Index: files/patch-getaddrinfo.c =================================================================== RCS file: files/patch-getaddrinfo.c diff -N files/patch-getaddrinfo.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-getaddrinfo.c 25 Jun 2008 18:36:33 -0000 @@ -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. --- smfsav.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1214420190.2860>