Date: Sat, 21 Nov 2015 04:41:40 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 203353] [PATCH] devel/nspr needs arm64 support Message-ID: <bug-203353-21738-9c4oAIMKXk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-203353-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-203353-21738@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=3D203353 --- Comment #5 from Jan Beich <jbeich@FreeBSD.org> --- Comment on attachment 162769 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D162769 Patch to build on arm64 >Index: devel/nspr/files/patch-bug782109 >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- devel/nspr/files/patch-bug782109 (revision 400734) >+++ devel/nspr/files/patch-bug782109 (working copy) >@@ -1,20 +1,3 @@ >---- ../pr/include/md/_freebsd.h~ >-+++ ../pr/include/md/_freebsd.h >-@@ -47,6 +47,14 @@ >- #define _PR_HAVE_LARGE_OFF_T >-=20 >- #if defined(_PR_PTHREADS) >-+#if __FreeBSD_version >=3D 602000 >-+#define _PR_HAVE_GETPROTO_R >-+#define _PR_HAVE_5_ARG_GETPROTO_R >-+#endif >-+#if __FreeBSD_version >=3D 700016 >-+#define _PR_HAVE_GETHOST_R >-+#define _PR_HAVE_GETHOST_R_INT >-+#endif >- #if __FreeBSD_version >=3D 400008 >- /* >- * libc_r before this version of FreeBSD doesn't have poll(). This change is unrelated to aarch64. Remove. >Index: devel/nspr/files/patch-pr-include-md-freebsd.h >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >--- devel/nspr/files/patch-pr-include-md-freebsd.h (nonexistent) >+++ devel/nspr/files/patch-pr-include-md-freebsd.h (working copy) >@@ -0,0 +1,26 @@ >+--- ../pr/include/md/_freebsd.h.orig 2015-08-19 15:32:22.000000000 +0000 >++++ ../pr/include/md/_freebsd.h 2015-11-04 11:38:01.257876000 +0000 [...] >+@@ -57,6 +59,14 @@ >+ #define _PR_HAVE_LARGE_OFF_T >+=20 >+ #if defined(_PR_PTHREADS) >++#if __FreeBSD_version >=3D 602000 >++#define _PR_HAVE_GETPROTO_R >++#define _PR_HAVE_5_ARG_GETPROTO_R >++#endif >++#if __FreeBSD_version >=3D 700016 >++#define _PR_HAVE_GETHOST_R >++#define _PR_HAVE_GETHOST_R_INT >++#endif >+ #if __FreeBSD_version >=3D 400008 >+ /* >+ * libc_r before this version of FreeBSD doesn't have poll(). This change is unrelated to aarch64. Remove. --=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-203353-21738-9c4oAIMKXk>