From owner-freebsd-pkg@freebsd.org Thu Jun 2 17:23:02 2016 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EAF7B65BC6 for ; Thu, 2 Jun 2016 17:23:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7968F170F for ; Thu, 2 Jun 2016 17:23:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 78BD9B65BC5; Thu, 2 Jun 2016 17:23:02 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78634B65BC3 for ; Thu, 2 Jun 2016 17:23:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68E3E170E for ; Thu, 2 Jun 2016 17:23:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u52HN2PD095283 for ; Thu, 2 Jun 2016 17:23:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 209971] ports-mgmt/pkg fails to compile on FreeBSD 8.4 i386/amd64 Date: Thu, 02 Jun 2016 17:23:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd@bengrimm.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 17:23:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209971 --- Comment #2 from freebsd@bengrimm.net --- As much as I (logically) support that sentiment, the ports tree IS still supported for FreeBSD 8, so ports should be made available to FreeBSD 8. For now, making this change in libpkg/pkg_add.c fixed it for FreeBSD 8: # ifdef _DARWIN_C_SOURCE tspec[0].tv_sec =3D aest->st_atimespec.tv_sec; tspec[0].tv_nsec =3D aest->st_atimespec.tv_nsec; tspec[1].tv_sec =3D aest->st_mtimespec.tv_sec; tspec[1].tv_nsec =3D aest->st_mtimespec.tv_nsec; # else /* Portable unix version */ tspec[0].tv_sec =3D aest->st_atime; tspec[0].tv_nsec =3D 0; tspec[1].tv_sec =3D aest->st_mtime; tspec[1].tv_nsec =3D 0; # endif #else >>> tspec[0].tv_sec =3D aest->st_atimespec.tv_sec; >>> tspec[0].tv_nsec =3D aest->st_atimespec.tv_nsec; >>> tspec[1].tv_sec =3D aest->st_mtimespec.tv_sec; >>> tspec[1].tv_nsec =3D aest->st_mtimespec.tv_nsec; #endif --=20 You are receiving this mail because: You are the assignee for the bug.=