pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/palemoon



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Aug  5 22:29:56 UTC 2024

Modified Files:
        pkgsrc/www/palemoon: distinfo
Added Files:
        pkgsrc/www/palemoon/patches:
            patch-platform_nsprpub_pr_include_md__netbsd.cfg
            patch-platform_nsprpub_pr_include_md__netbsd.h

Log Message:
palemoon: initial arm64 support from mrg@


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/palemoon/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/palemoon/patches/patch-platform_nsprpub_pr_include_md__netbsd.cfg \
    pkgsrc/www/palemoon/patches/patch-platform_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/palemoon/distinfo
diff -u pkgsrc/www/palemoon/distinfo:1.6 pkgsrc/www/palemoon/distinfo:1.7
--- pkgsrc/www/palemoon/distinfo:1.6    Sat Aug  3 08:54:26 2024
+++ pkgsrc/www/palemoon/distinfo        Mon Aug  5 22:29:56 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2024/08/03 08:54:26 nia Exp $
+$NetBSD: distinfo,v 1.7 2024/08/05 22:29:56 nia Exp $
 
 BLAKE2s (palemoon-33.2.1/palemoon.tar.gz) = 5963bc12be28b07ded0558bb20bc27108f3aebd1895e4730e6a6ac2013a7ae9d
 SHA512 (palemoon-33.2.1/palemoon.tar.gz) = 72e6a4858af679a88fd079ed28020a8d845366d0b3ea5cb00b5a17dd9d6b7a4171397ceaa156b3e9f1d185e39e7ba8c82864641bd21f704350ef4b6473cc693d
@@ -23,6 +23,8 @@ SHA1 (patch-platform_media_libcubeb_src_
 SHA1 (patch-platform_media_libcubeb_src_moz.build) = 5f9f7656bf9d251edb395cb19fae8cd614c0b287
 SHA1 (patch-platform_media_libtheora_moz.build) = a7bad662dabb87c6a85542a4a50f8ed693064bc6
 SHA1 (patch-platform_media_libvpx_config_linux_arm_vpx__config.h) = a580208cd342d7dc27985118e1707772e0cccf02
+SHA1 (patch-platform_nsprpub_pr_include_md__netbsd.cfg) = 1dc06ad2dc49eb3297dc0651dce546cff6882f7b
+SHA1 (patch-platform_nsprpub_pr_include_md__netbsd.h) = 72de23f42dc38d9cfacf41776e53af613a0c4f19
 SHA1 (patch-platform_old-configure.in) = 05711cd91f7adca8c7325d01dc6e6553ce5bedb5
 SHA1 (patch-platform_security_generate__mapfile.py) = ae457a8e85c4ce95014dff442b8afd0e20ded543
 SHA1 (patch-platform_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops.h) = 73b57772d29b0567c0aa1faea8a3f345dbc0488a

Added files:

Index: pkgsrc/www/palemoon/patches/patch-platform_nsprpub_pr_include_md__netbsd.cfg
diff -u /dev/null pkgsrc/www/palemoon/patches/patch-platform_nsprpub_pr_include_md__netbsd.cfg:1.1
--- /dev/null   Mon Aug  5 22:29:56 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_nsprpub_pr_include_md__netbsd.cfg        Mon Aug  5 22:29:56 2024
@@ -0,0 +1,65 @@
+$NetBSD: patch-platform_nsprpub_pr_include_md__netbsd.cfg,v 1.1 2024/08/05 22:29:56 nia Exp $
+
+Add NetBSD/arm64 support.
+
+--- platform/nsprpub/pr/include/md/_netbsd.cfg.orig    2024-07-10 01:54:53.000000000 -0700
++++ platform/nsprpub/pr/include/md/_netbsd.cfg 2024-08-05 12:51:14.262409653 -0700
+@@ -296,6 +296,58 @@
+ #define PR_BYTES_PER_WORD_LOG2   2
+ #define PR_BYTES_PER_DWORD_LOG2  3
+ 
++#elif defined(__aarch64__)
++
++#ifdef __ARM_BIG_ENDIAN
++#define IS_BIG_ENDIAN    1
++#undef  IS_LITTLE_ENDIAN
++#else
++#undef  IS_BIG_ENDIAN
++#define IS_LITTLE_ENDIAN 1
++#endif
++
++#define IS_64
++
++#define PR_BYTES_PER_BYTE   1
++#define PR_BYTES_PER_SHORT  2
++#define PR_BYTES_PER_INT    4
++#define PR_BYTES_PER_INT64  8
++#define PR_BYTES_PER_LONG   8
++#define PR_BYTES_PER_FLOAT  4
++#define PR_BYTES_PER_DOUBLE 8
++#define PR_BYTES_PER_WORD   8
++#define PR_BYTES_PER_DWORD  8
++
++#define PR_BITS_PER_BYTE    8
++#define PR_BITS_PER_SHORT   16
++#define PR_BITS_PER_INT     32
++#define PR_BITS_PER_INT64   64
++#define PR_BITS_PER_LONG    64
++#define PR_BITS_PER_FLOAT   32
++#define PR_BITS_PER_DOUBLE  64
++#define PR_BITS_PER_WORD    64
++
++#define PR_BITS_PER_BYTE_LOG2   3
++#define PR_BITS_PER_SHORT_LOG2  4
++#define PR_BITS_PER_INT_LOG2    5
++#define PR_BITS_PER_INT64_LOG2  6
++#define PR_BITS_PER_LONG_LOG2   6
++#define PR_BITS_PER_FLOAT_LOG2  5
++#define PR_BITS_PER_DOUBLE_LOG2 6
++#define PR_BITS_PER_WORD_LOG2   6
++
++#define PR_ALIGN_OF_SHORT   2
++#define PR_ALIGN_OF_INT     4
++#define PR_ALIGN_OF_LONG    8
++#define PR_ALIGN_OF_INT64   8
++#define PR_ALIGN_OF_FLOAT   4
++#define PR_ALIGN_OF_DOUBLE  8
++#define PR_ALIGN_OF_POINTER 8
++#define PR_ALIGN_OF_WORD    8
++
++#define PR_BYTES_PER_WORD_LOG2  3
++#define PR_BYTES_PER_DWORD_LOG2 3
++
+ #else
+ 
+ #error Must define constants for type sizes here.
Index: pkgsrc/www/palemoon/patches/patch-platform_nsprpub_pr_include_md__netbsd.h
diff -u /dev/null pkgsrc/www/palemoon/patches/patch-platform_nsprpub_pr_include_md__netbsd.h:1.1
--- /dev/null   Mon Aug  5 22:29:56 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_nsprpub_pr_include_md__netbsd.h  Mon Aug  5 22:29:56 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-platform_nsprpub_pr_include_md__netbsd.h,v 1.1 2024/08/05 22:29:56 nia Exp $
+
+Add NetBSD/arm64 support.
+
+--- platform/nsprpub/pr/include/md/_netbsd.h.orig      2024-07-10 01:54:53.000000000 -0700
++++ platform/nsprpub/pr/include/md/_netbsd.h   2024-08-05 12:48:09.663633172 -0700
+@@ -27,6 +27,8 @@
+ #define _PR_SI_ARCHITECTURE "sparc"
+ #elif defined(__mips__)
+ #define _PR_SI_ARCHITECTURE "mips"
++#elif defined(__aarch64__)
++#define _PR_SI_ARCHITECTURE "aarch64"
+ #elif defined(__arm32__) || defined(__arm__) || defined(__armel__) \
+     || defined(__armeb__)
+ #define _PR_SI_ARCHITECTURE "arm"



Home | Main Index | Thread Index | Old Index