pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox/patches



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Apr  6 08:54:54 UTC 2024

Added Files:
        pkgsrc/www/firefox/patches:
            patch-netwerk_protocol_http_nsHttpHandler.cpp

Log Message:
www/firefox: Add missing patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/www/firefox/patches/patch-netwerk_protocol_http_nsHttpHandler.cpp

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

Added files:

Index: pkgsrc/www/firefox/patches/patch-netwerk_protocol_http_nsHttpHandler.cpp
diff -u /dev/null pkgsrc/www/firefox/patches/patch-netwerk_protocol_http_nsHttpHandler.cpp:1.3
--- /dev/null   Sat Apr  6 08:54:54 2024
+++ pkgsrc/www/firefox/patches/patch-netwerk_protocol_http_nsHttpHandler.cpp    Sat Apr  6 08:54:54 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-netwerk_protocol_http_nsHttpHandler.cpp,v 1.3 2024/04/06 08:54:54 ryoon Exp $
+
+* Do not freeze user-agent string as Linux under NetBSD.
+
+--- netwerk/protocol/http/nsHttpHandler.cpp.orig       2024-03-12 14:30:47.266423256 +0000
++++ netwerk/protocol/http/nsHttpHandler.cpp
+@@ -903,6 +903,8 @@ void nsHttpHandler::InitUserAgentCompone
+   if (mozilla::StaticPrefs::network_http_useragent_freezeCpu()) {
+ #  ifdef ANDROID
+     mOscpu.AssignLiteral("Linux armv81");
++#  elif defined(__NetBSD__)
++    mOscpu.AssignLiteral("NetBSD x86_64");
+ #  else
+     mOscpu.AssignLiteral("Linux x86_64");
+ #  endif



Home | Main Index | Thread Index | Old Index