firefox: remove unneeded chunks from sndio patch
This commit is contained in:
parent
d8e69767ae
commit
b093e7a9d8
1 changed files with 0 additions and 36 deletions
|
@ -44,39 +44,3 @@
|
|||
'--enable-cookies',
|
||||
'--enable-cpp-rtti',
|
||||
'--enable-crashreporter',
|
||||
--- security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp.orig
|
||||
+++ security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
|
||||
@@ -394,6 +394,21 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+
|
||||
+#ifdef MOZ_SNDIO
|
||||
+ // ~/.aucat_cookie (sndio)
|
||||
+ rv = homeDir->Clone(getter_AddRefs(confDir));
|
||||
+ if (NS_SUCCEEDED(rv)) {
|
||||
+ rv = confDir->AppendNative(NS_LITERAL_CSTRING(".aucat_cookie"));
|
||||
+ if (NS_SUCCEEDED(rv)) {
|
||||
+ nsAutoCString tmpPath;
|
||||
+ rv = confDir->GetNativePath(tmpPath);
|
||||
+ if (NS_SUCCEEDED(rv)) {
|
||||
+ policy->AddPath(rdwrcr, tmpPath.get());
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+#endif
|
||||
}
|
||||
|
||||
// Firefox binary dir.
|
||||
--- security/sandbox/linux/moz.build.orig
|
||||
+++ security/sandbox/linux/moz.build
|
||||
@@ -81,6 +81,9 @@
|
||||
'../chromium/sandbox/linux/services/syscall_wrappers.cc',
|
||||
]
|
||||
|
||||
+if CONFIG['MOZ_SNDIO']:
|
||||
+ DEFINES['MOZ_SNDIO'] = True
|
||||
+
|
||||
# This copy of SafeSPrintf doesn't need to avoid the Chromium logging
|
||||
# dependency like the one in libxul does, but this way the behavior is
|
||||
# consistent. See also the comment in SandboxLogging.h.
|
||||
|
|
Loading…
Reference in a new issue