Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jun 2016 17:23:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 209971] ports-mgmt/pkg fails to compile on FreeBSD 8.4 i386/amd64
Message-ID:  <bug-209971-32340-LwDJHOqIxb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209971-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209971-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209971-32340-LwDJHOqIxb>