mirror of
https://abf.rosa.ru/djam/chromium-browser-stable.git
synced 2025-02-23 22:52:49 +00:00
read preferenses from file
This commit is contained in:
parent
1844a7ab57
commit
a285211f2c
2 changed files with 15 additions and 0 deletions
13
chromium-20.0.1132.47-master-prefs-path.patch
Normal file
13
chromium-20.0.1132.47-master-prefs-path.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff -urN chromium-20.0.1132.47.orig/chrome/browser/first_run/first_run_linux.cc chromium-20.0.1132.47/chrome/browser/first_run/first_run_linux.cc
|
||||
--- chromium-20.0.1132.47.orig/chrome/browser/first_run/first_run_linux.cc 2012-07-09 18:31:56.482914645 +0400
|
||||
+++ chromium-20.0.1132.47/chrome/browser/first_run/first_run_linux.cc 2012-07-09 18:34:30.879943380 +0400
|
||||
@@ -101,8 +101,7 @@
|
||||
FilePath MasterPrefsPath() {
|
||||
// The standard location of the master prefs is next to the chrome binary.
|
||||
FilePath master_prefs;
|
||||
- if (!PathService::Get(base::DIR_EXE, &master_prefs))
|
||||
- return FilePath();
|
||||
+ master_prefs = FilePath("/etc/chromium");
|
||||
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
|
||||
}
|
||||
|
|
@ -18,6 +18,7 @@ Patch0: chromium-19.0.1077.3-remove-inline.patch
|
|||
Patch1: chromium-20.0.1132.43-svnversion.patch
|
||||
Patch2: chromium-20.0.1132.43-fix-includes.patch
|
||||
Patch3: sqlite-3.7.6.3-fix-out-of-scope-memory-reference.patch
|
||||
Patch4: chromium-20.0.1132.47-master-prefs-path.patch
|
||||
Source1000: patch-20.0.1132.43-20.0.1132.47.diff.xz
|
||||
Source1001: patch-20.0.1132.47-20.0.1132.57.diff.xz
|
||||
#Source1001: binary-19.0.1077.3-19.0.1081.2.tar.xz
|
||||
|
@ -74,6 +75,7 @@ chromium-browser-unstable package instead.
|
|||
%patch1 -p1 -b .svnversion
|
||||
%patch2 -p0 -b .includes
|
||||
%patch3 -p1 -b .fix-out-of-scope-memory-reference
|
||||
%patch3 -p1 -b .prefs
|
||||
|
||||
%patchver 20.0.1132.43 20.0.1132.47
|
||||
%patchver 20.0.1132.47 20.0.1132.57
|
||||
|
|
Loading…
Add table
Reference in a new issue