[Bug 203353] [PATCH] devel/nspr needs arm64 support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 21 04:41:41 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203353

--- Comment #5 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 162769
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162769
Patch to build on arm64

>Index: devel/nspr/files/patch-bug782109
>===================================================================
>--- 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
>- 
>- #if defined(_PR_PTHREADS)
>-+#if __FreeBSD_version >= 602000
>-+#define _PR_HAVE_GETPROTO_R
>-+#define _PR_HAVE_5_ARG_GETPROTO_R
>-+#endif
>-+#if __FreeBSD_version >= 700016
>-+#define _PR_HAVE_GETHOST_R
>-+#define _PR_HAVE_GETHOST_R_INT
>-+#endif
>- #if __FreeBSD_version >= 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
>===================================================================
>--- 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
>+ 
>+ #if defined(_PR_PTHREADS)
>++#if __FreeBSD_version >= 602000
>++#define _PR_HAVE_GETPROTO_R
>++#define _PR_HAVE_5_ARG_GETPROTO_R
>++#endif
>++#if __FreeBSD_version >= 700016
>++#define _PR_HAVE_GETHOST_R
>++#define _PR_HAVE_GETHOST_R_INT
>++#endif
>+ #if __FreeBSD_version >= 400008
>+ /*
>+  * libc_r before this version of FreeBSD doesn't have poll().

This change is unrelated to aarch64. Remove.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gecko mailing list