From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 25 19:00:11 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAA621065676 for ; Wed, 25 Jun 2008 19:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB0198FC2D for ; Wed, 25 Jun 2008 19:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5PJ0BKU014618 for ; Wed, 25 Jun 2008 19:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5PJ0BWD014617; Wed, 25 Jun 2008 19:00:11 GMT (envelope-from gnats) Resent-Date: Wed, 25 Jun 2008 19:00:11 GMT Resent-Message-Id: <200806251900.m5PJ0BWD014617@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pietro Cerutti" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6FE81065675 for ; Wed, 25 Jun 2008 18:56:35 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9038FC3B for ; Wed, 25 Jun 2008 18:56:35 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpa (Exim 4.68) (envelope-from ) id 1KBaAM-0007Fx-91 for FreeBSD-gnats-submit@freebsd.org; Wed, 25 Jun 2008 20:56:26 +0200 Received: from gahrtop.localhost (localhost [127.0.0.1]) by gahrtop.localhost (Postfix) with ESMTP id D5F2750840 for ; Wed, 25 Jun 2008 18:56:30 +0000 (UTC) Message-Id: <1214420190.2860@gahrtop.localhost> Date: Wed, 25 Jun 2008 18:56:30 -0000 From: "Pietro Cerutti" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/124988: [patch] mail/smfsav unbreak on sparc64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 19:00:12 -0000 >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: