head 1.2; access; symbols pkgsrc-2018Q4:1.1.0.18 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.16 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.14 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.12 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.10 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.8 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.4 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.2 pkgsrc-2017Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2019.02.25.15.32.24; author wiz; state dead; branches; next 1.1; commitid s4OVmwbTk8HL6adB; 1.1 date 2017.01.22.12.27.22; author ryoon; state Exp; branches; next ; commitid 5VJ6CZyEDNPmEXCz; desc @@ 1.2 log @tor-browser: update to 8.5. This is based on a git checkout from a couple days ago; not completely sure about the version number. The Makefile now contains a short how-to for updating this package. Many thanks for the www/firefox60 patches! Use at your own risk! Survives basic browsing and check.torproject.org claims it connects via tor. Changes: too many to document. @ text @$NetBSD: patch-mozglue_build_arm.cpp,v 1.1 2017/01/22 12:27:22 ryoon Exp $ --- mozglue/build/arm.cpp.orig 2015-09-29 21:45:02.000000000 +0000 +++ mozglue/build/arm.cpp @@@@ -102,10 +102,13 @@@@ check_neon(void) } # endif // !MOZILLA_PRESUME_NEON -# elif defined(__linux__) || defined(ANDROID) +# elif defined(__linux__) || defined(ANDROID) || defined(__NetBSD__) # include # include # include +# if defined(__NetBSD__) +# include +# endif enum{ MOZILLA_HAS_EDSP_FLAG=1, @@@@ -114,6 +117,29 @@@@ enum{ MOZILLA_HAS_NEON_FLAG=8 }; +# if defined(__NetBSD__) +static unsigned +get_arm_cpu_flags(void) +{ + unsigned flags = 0; + size_t len; + int flag; + + len = sizeof(flag); + if (sysctlbyname("machdep.simdex_present", &flag, &len, NULL, 0) == 0 && flag) { + flags |= MOZILLA_HAS_ARMV6_FLAG; + flags |= MOZILLA_HAS_EDSP_FLAG; + } + + len = sizeof(flag); + if (sysctlbyname("machdep.neon_present", &flag, &len, NULL, 0) == 0 && flag) { + flags |= MOZILLA_HAS_ARMV7_FLAG; + flags |= MOZILLA_HAS_NEON_FLAG; + } + + return flags; +} +# else static unsigned get_arm_cpu_flags(void) { @@@@ -178,6 +204,7 @@@@ get_arm_cpu_flags(void) } return flags; } +# endif // Cache a local copy so we only have to read /proc/cpuinfo once. static unsigned arm_cpu_flags = get_arm_cpu_flags(); @ 1.1 log @Update to 6.0.8 * Use OpenBSD Ports distfile * Profile directory has changed to $HOME/TorBrowser-Data * Besed on Firefox 45.6.0 @ text @d1 1 a1 1 $NetBSD: patch-mozglue_build_arm.cpp,v 1.1 2016/04/27 16:36:50 ryoon Exp $ @