pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/arcticfox



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 22 21:31:44 UTC 2024

Modified Files:
        pkgsrc/www/arcticfox: distinfo
Added Files:
        pkgsrc/www/arcticfox/patches: patch-nsprpub_pr_include_md___netbsd.cfg
            patch-nsprpub_pr_include_md___netbsd.h

Log Message:
arcticfox: Copy patches for NetBSD/aarch64 from devel/nspr.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/arcticfox/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.cfg \
    pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/arcticfox/distinfo
diff -u pkgsrc/www/arcticfox/distinfo:1.17 pkgsrc/www/arcticfox/distinfo:1.18
--- pkgsrc/www/arcticfox/distinfo:1.17  Thu Oct  3 20:57:34 2024
+++ pkgsrc/www/arcticfox/distinfo       Sun Dec 22 21:31:44 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2024/10/03 20:57:34 nia Exp $
+$NetBSD: distinfo,v 1.18 2024/12/22 21:31:44 nia Exp $
 
 BLAKE2s (arcticfox-45.1.tar.gz) = 23e423d2903208f1abe04d13fa62f4d71d3588ad178327663908c4f2f9cce127
 SHA512 (arcticfox-45.1.tar.gz) = 0b24bc8cf201a78517c7934c119b1e21d511068e8ea06c8b7f5ce65e5867e9f091cc0c8c65b0f8c78e8637d27dd3d505126d355c8ca5693f1b0417020b838800
@@ -12,6 +12,8 @@ SHA1 (patch-media_libcubeb_src_cubeb.c) 
 SHA1 (patch-media_libcubeb_src_moz.build) = e98b39b6272b58d4183c526f36987ea239fadd5d
 SHA1 (patch-media_libtheora_moz.build) = 363ce4e49fdac54b7fd3c3e454edae635e3ccfcb
 SHA1 (patch-media_libyuv_source_scale__argb.cc) = 2522d5a448c521acbb28ea027142c6ebc0e568eb
+SHA1 (patch-nsprpub_pr_include_md___netbsd.cfg) = cf3afcd707440055d945363839fa38b7ec72d561
+SHA1 (patch-nsprpub_pr_include_md___netbsd.h) = 0d9129445fae852d3a9d5015a5634f3a9eb232e7
 SHA1 (patch-old-configure.in) = 6cfeb1cc72cb23122bd83e91a64d0c9b5a410324
 SHA1 (patch-toolkit_components_protobuf_src_google_protobuf_stubs_atomicops.h) = eef34a9539f5ef2666bb26b175e3787ce4e50677
 SHA1 (patch-toolkit_components_protobuf_src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = 0ce774c5dc9f53a858d4b9f490ec25d548b4bb96

Added files:

Index: pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.cfg
diff -u /dev/null pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.cfg:1.1
--- /dev/null   Sun Dec 22 21:31:44 2024
+++ pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.cfg       Sun Dec 22 21:31:44 2024
@@ -0,0 +1,23 @@
+$NetBSD: patch-nsprpub_pr_include_md___netbsd.cfg,v 1.1 2024/12/22 21:31:44 nia Exp $
+
+Support NetBSD/aarch64{,eb}.
+https://bugzilla.mozilla.org/show_bug.cgi?id=1718836
+
+--- nsprpub/pr/include/md/_netbsd.cfg.orig     2024-09-30 19:54:44.000000000 +0000
++++ nsprpub/pr/include/md/_netbsd.cfg
+@@ -203,9 +203,14 @@
+ #define PR_BYTES_PER_WORD_LOG2  3
+ #define PR_BYTES_PER_DWORD_LOG2 3
+ 
+-#elif defined(__amd64__)
++#elif defined(__amd64__) || defined(__aarch64__)
++#ifndef __AARCH64EB__
+ #define IS_LITTLE_ENDIAN 1
+ #undef  IS_BIG_ENDIAN
++#else
++#undef  IS_LITTLE_ENDIAN
++#define IS_BIG_ENDIAN 1
++#endif
+ #define HAVE_ALIGNED_DOUBLES
+ #define HAVE_ALIGNED_LONGLONGS
+ #define IS_64
Index: pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.h
diff -u /dev/null pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.h:1.1
--- /dev/null   Sun Dec 22 21:31:44 2024
+++ pkgsrc/www/arcticfox/patches/patch-nsprpub_pr_include_md___netbsd.h Sun Dec 22 21:31:44 2024
@@ -0,0 +1,43 @@
+$NetBSD: patch-nsprpub_pr_include_md___netbsd.h,v 1.1 2024/12/22 21:31:44 nia Exp $
+
+Improve NetBSD support.
+https://bugzilla.mozilla.org/show_bug.cgi?id=1718836
+
+--- nsprpub/pr/include/md/_netbsd.h.orig       2024-09-30 19:54:44.000000000 +0000
++++ nsprpub/pr/include/md/_netbsd.h
+@@ -30,6 +30,8 @@
+ #elif defined(__arm32__) || defined(__arm__) || defined(__armel__) \
+     || defined(__armeb__)
+ #define _PR_SI_ARCHITECTURE "arm"
++#elif defined(__aarch64__)
++#define _PR_SI_ARCHITECTURE "aarch64"
+ #endif
+ 
+ #if defined(__ELF__)
+@@ -47,7 +49,7 @@
+ #define HAVE_DLL
+ #define USE_DLFCN
+ #define _PR_HAVE_SOCKADDR_LEN
+-#define _PR_NO_LARGE_FILES
++#define _PR_HAVE_LARGE_OFF_T
+ #define _PR_STAT_HAS_ST_ATIMESPEC
+ #define _PR_POLL_AVAILABLE
+ #define _PR_USE_POLL
+@@ -75,6 +77,8 @@
+ #define JB_SP_INDEX 2
+ #elif defined(__mips__)
+ #define JB_SP_INDEX 4
++#elif defined(__amd64__)
++#define JB_SP_INDEX 6
+ #elif defined(__alpha__)
+ #define JB_SP_INDEX 34
+ #elif defined(__arm32__)
+@@ -86,6 +90,8 @@
+ #else
+ #define JB_SP_INDEX _JB_REG_R13
+ #endif
++#elif defined(__aarch64__)
++#define JB_SP_INDEX _JB_SP
+ #else
+ #error "Need to define SP index in jmp_buf here"
+ #endif



Home | Main Index | Thread Index | Old Index