apply openSUSE patches

This commit is contained in:
Tigro 2015-02-09 22:38:31 +03:00
parent f187bad29d
commit 1751e74420
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,17 @@
--- chrome/chrome_exe.gypi.ldflags 2012-06-28 09:02:24.000000000 -0400
+++ chrome/chrome_exe.gypi 2012-07-06 15:46:13.008003437 -0400
@@ -25,6 +25,14 @@
'<(DEPTH)/content/app/startup_helper_win.cc',
'<(DEPTH)/content/public/common/content_switches.cc',
],
+ # Hey, I know what would be an awesome idea.
+ # Let us statically compile EVERYTHING into one giant
+ # freaking executable. Too bad this means we can't build
+ # natively on an IA32 machine. If only someone would
+ # invent shared library objects. Idiots.
+ 'ldflags': [
+ '-Wl,--no-keep-memory'
+ ],
'mac_bundle_resources': [
'app/app-Info.plist',
],

View file

@ -23,6 +23,10 @@ Source998: gn-binaries.tar.xz
Source999: new-system-icons.tar.xz
Source1000: README.urpmi
Patch4: chromium-30.0.1599.66-master-prefs-path.patch
# PATCH-FIX-UPSTREAM Add more charset aliases
Patch6: chromium-more-codec-aliases.patch
# PATCH-FIX-OPENSUSE Adjust ldflags for better building
Patch8: adjust-ldflags-no-keep-memory.patch
# PATCH-FIX-OPENSUSE removes build part for courgette
Patch14: chromium-25.0.1364.172-no-courgette.patch
# PATCH-FIX-OPENSUSE Compile the sandbox with -fPIE settings
@ -97,6 +101,8 @@ members of the Chromium and WebDriver teams.
%setup -q -n chromium-%{version} -a 998 -a 997 -a 999
%patch4 -p1 -b .prefs
%patch6 -p0
%patch8 -p0
%patch14 -p1
%patch15 -p1

View file

@ -0,0 +1,17 @@
Index: src/third_party/WebKit/Source/wtf/text/TextCodecICU.cpp
===================================================================
--- third_party/WebKit/Source/wtf/text/TextCodecICU.cpp (revision 101168)
+++ third_party/WebKit/Source/wtf/text/TextCodecICU.cpp (working copy)
@@ -203,7 +203,11 @@
registrar("iso_8859-6", "ISO-8859-6");
registrar("iso_8859-7", "ISO-8859-7");
registrar("iso_8859-8", "ISO-8859-8");
+ registrar("ISO_8859-8-I", "ISO-8859-8-I");
registrar("iso_8859-9", "windows-1254");
+ registrar("ISO_8859-10", "ISO-8859-10");
+ registrar("ISO_8859-13", "ISO-8859-13");
+ registrar("ISO_8859-14", "ISO-8859-14");
registrar("iso_8859-15", "ISO-8859-15");
registrar("koi8_r", "KOI8-R");
registrar("x-cp1253", "windows-1253");