diff options
author | B Stack <bgstack15@gmail.com> | 2018-09-16 00:29:27 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-09-16 00:29:27 +0000 |
commit | 06c2a09edcb5cd71519fe13fb3047f2a2bdb47d0 (patch) | |
tree | 1661bae9f608448fed9832ca8aaa91891a2a9daa /waterfox/firefox-fedora-ua.patch | |
parent | Merge branch 'add-ublock' into 'master' (diff) | |
parent | add waterfox-ublock-origin and fix palemoon-ub (diff) | |
download | stackrpms-06c2a09edcb5cd71519fe13fb3047f2a2bdb47d0.tar.gz stackrpms-06c2a09edcb5cd71519fe13fb3047f2a2bdb47d0.tar.bz2 stackrpms-06c2a09edcb5cd71519fe13fb3047f2a2bdb47d0.zip |
Merge branch 'add-waterfox' into 'master'
Add waterfox and its ublock-origin
See merge request bgstack15/stackrpms!8
Diffstat (limited to 'waterfox/firefox-fedora-ua.patch')
-rw-r--r-- | waterfox/firefox-fedora-ua.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/waterfox/firefox-fedora-ua.patch b/waterfox/firefox-fedora-ua.patch new file mode 100644 index 0000000..a5b7866 --- /dev/null +++ b/waterfox/firefox-fedora-ua.patch @@ -0,0 +1,21 @@ +diff -up firefox-35.0.1/mozilla-release/media/webrtc/trunk/Makefile.old firefox-35.0.1/mozilla-release/media/webrtc/trunk/Makefile +diff -up firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp.old firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp +--- firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp.old 2015-01-23 07:00:06.000000000 +0100 ++++ firefox-35.0.1/mozilla-release/netwerk/protocol/http/nsHttpHandler.cpp 2015-02-09 16:40:42.983220596 +0100 +@@ -607,7 +607,7 @@ nsHttpHandler::BuildUserAgent() + mUserAgent.SetCapacity(mLegacyAppName.Length() + + mLegacyAppVersion.Length() + + #ifndef UA_SPARE_PLATFORM +- mPlatform.Length() + ++ mPlatform.Length() + 8 + + #endif + mOscpu.Length() + + mMisc.Length() + +@@ -631,6 +631,7 @@ nsHttpHandler::BuildUserAgent() + if (!mPlatform.IsEmpty()) { + mUserAgent += mPlatform; + mUserAgent.AppendLiteral("; "); ++ mUserAgent.AppendLiteral("Fedora; "); + } + #endif + if (!mCompatDevice.IsEmpty()) { |