Hello community,

here is the log from the commit of package chromium.3862 for 
openSUSE:13.1:Update checked in at 2015-06-26 09:50:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/chromium.3862 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.chromium.3862.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chromium.3862"

Changes:
--------
New Changes file:

--- /dev/null   2015-06-25 09:04:34.320025005 +0200
+++ /work/SRC/openSUSE:13.1:Update/.chromium.3862.new/chromium.changes  
2015-06-26 09:50:14.000000000 +0200
@@ -0,0 +1,2557 @@
+-------------------------------------------------------------------
+Tue Jun 23 12:29:39 UTC 2015 - [email protected]
+
+- Update to Chromium 43.0.2357.130
+  - Security fixes (boo#935723)
+    * CVE-2015-1266: Scheme validation error in WebUI
+    * CVE-2015-1268: Cross-origin bypass in Blink
+    * CVE-2015-1267: Cross-origin bypass in Blink
+    * CVE-2015-1269: Normalization error in HSTS/HPKP preload list
+
+-------------------------------------------------------------------
+Wed Jun 17 18:08:51 UTC 2015 - [email protected]
+
+- Add the buildflag enable_hotwording=0 to prevent that Chromium
+  downloads a binary blob for speechrecognition (boo#935022)
+  
+- Add patch gcc50-fixes.diff to enable building against GCC 5. The 
+  patch fixes the python regular expression and ensures to return 
+  a two digit value for the GCC version
+
+-------------------------------------------------------------------
+Fri Jun 12 13:51:28 UTC 2015 - [email protected]
+
+- Update to Chromium 43.0.2357.125
+  * Bug-fixes:
+    - esolved browser font magnification/scaling issue.
+
+-------------------------------------------------------------------
+Wed May 27 10:49:49 UTC 2015 - [email protected]
+
+- Update to Chromium 43.0.2357.81
+  * Bug-fixes:
+    - Fixed an issue where sometimes a blank page would print
+    - Icons not displaying properly on Linux
+
+-------------------------------------------------------------------
+Wed May 20 11:02:32 UTC 2015 - [email protected]
+
+- Update to Chromium 43.0.2357.65
+  * Security fixes:
+    - CVE-2015-1252: Sandbox escape in Chrome
+    - CVE-2015-1253: Cross-origin bypass in DOM
+    - CVE-2015-1254: Cross-origin bypass in Editing
+    - CVE-2015-1255: Use-after-free in WebAudio
+    - CVE-2015-1256: Use-after-free in SVG
+    - CVE-2015-1251: Use-after-free in Speech
+    - CVE-2015-1257: Container-overflow in SVG
+    - CVE-2015-1258: Negative-size parameter in Libvpx
+    - CVE-2015-1259: Uninitialized value in PDFium
+    - CVE-2015-1260: Use-after-free in WebRTC
+    - CVE-2015-1261: URL bar spoofing
+    - CVE-2015-1262: Uninitialized value in Blink
+    - CVE-2015-1263: Insecure download of spellcheck dictionary
+    - CVE-2015-1264: Cross-site scripting in bookmarks
+    - CVE-2015-1265: Various fixes from internal audits, fuzzing and other 
initiatives
+    - Multiple vulnerabilities in V8 fixed at the tip of the 4.3 branch 
(currently 4.3.61.21)
+  
+
+-------------------------------------------------------------------
+Wed Apr 29 08:54:17 UTC 2015 - [email protected]
+
+- Update to Chromium 42.0.2311.135
+  * Security fixes:
+    - CVE-2015-1243: Use-after-free in DOM
+    - CVE-2015-1250: Various fixes from internal audits, fuzzing and other 
initiatives
+    and 3 more security fixes.
+
+-------------------------------------------------------------------
+Mon Apr 27 13:26:00 UTC 2015 - [email protected]
+
+- Fix for missing Chromium icon in the taskbar.
+
+-------------------------------------------------------------------
+Wed Apr 15 14:11:48 UTC 2015 - [email protected]
+
+- Update to Chromium 42.0.2311.90
+  * A number of new apps, extension and Web Platform APIs (including the Push 
API!)
+  * Lots of under the hood changes for stability and performance
+  * Security fixes, including:
+    - CVE-2015-1235: Cross-origin-bypass in HTML parser
+    - CVE-2015-1236: Cross-origin-bypass in Blink
+    - CVE-2015-1237: Use-after-free in IPC
+    - CVE-2015-1238: Out-of-bounds write in Skia
+    - CVE-2015-1240: Out-of-bounds read in WebGL
+    - CVE-2015-1241: Tap-Jacking
+    - CVE-2015-1242: Type confusion in V8
+    - CVE-2015-1244: HSTS bypass in WebSockets
+    - CVE-2015-1245: Use-after-free in PDFium
+    - CVE-2015-1246: Out-of-bounds read in Blink
+    - CVE-2015-1247: Scheme issues in OpenSearch
+    - CVE-2015-1248: SafeBrowsing bypass
+    - CVE-2015-1249: Various fixes from internal audits, fuzzing and other 
initiatives
+    - Multiple vulnerabilities in V8 fixed
+
+-------------------------------------------------------------------
+Thu Apr  2 13:01:00 UTC 2015 - [email protected]
+
+- Update to Chromium 41.0.2272.118
+  Security fixes:
+  * CVE-2015-1233: A combination of V8, Gamepad and IPC bugs that 
+                   can lead to remote code execution outside of 
+                   the sandbox
+  * CVE-2015-1234: Buffer overflow via race condition in GPU
+
+-------------------------------------------------------------------
+Sat Mar 21 07:33:54 UTC 2015 - [email protected]
+
+- Update to Chromium 41.0.2272.101
+  * Bugfixes
+
+-------------------------------------------------------------------
+Thu Mar 12 12:55:23 UTC 2015 - [email protected]
+
+- Update to Chromium 41.0.2272.89
+  * Bugfixes
+
+-------------------------------------------------------------------
+Wed Mar  4 09:57:26 UTC 2015 - [email protected]
+
+- Update to Chromium 41.0.2272.76
+  Security fixes:
+  * CVE-2015-1212: Out-of-bounds write in media
+  * CVE-2015-1213: Out-of-bounds write in skia filters
+  * CVE-2015-1214: Out-of-bounds write in skia filters
+  * CVE-2015-1215: Out-of-bounds write in skia filters
+  * CVE-2015-1216: Use-after-free in v8 bindings
+  * CVE-2015-1217: Type confusion in v8 bindings
+  * CVE-2015-1218: Use-after-free in dom
+  * CVE-2015-1219: Integer overflow in webgl
+  * CVE-2015-1220: Use-after-free in gif decoder
+  * CVE-2015-1221: Use-after-free in web databases
+  * CVE-2015-1222: Use-after-free in service workers
+  * CVE-2015-1223: Use-after-free in dom
+  * CVE-2015-1230: Type confusion in v8
+  * CVE-2015-1224: Out-of-bounds read in vpxdecoder
+  * CVE-2015-1225: Out-of-bounds read in pdfium
+  * CVE-2015-1226: Validation issue in debugger
+  * CVE-2015-1227: Uninitialized value in blink
+  * CVE-2015-1228: Uninitialized value in rendering
+  * CVE-2015-1229: Cookie injection via proxies
+  * CVE-2015-1231: Various fixes from internal audits
+  * Multiple vulnerabilities in V8 fixed at the tip of the 4.1 branch
+
+-------------------------------------------------------------------
+Fri Feb 27 16:13:03 UTC 2015 - [email protected]
+
+- regular diskusage is more like 20GB+
+
+-------------------------------------------------------------------
+Mon Feb 23 16:06:08 UTC 2015 - [email protected]
+
+- uses around 5.8GB for building, assign like 6GB in _constraints
+
+-------------------------------------------------------------------
+Fri Feb 20 17:47:30 UTC 2015 - [email protected]
+
+- Update to Chromium 40.0.2214.115
+  * Bugfixes
+
+-------------------------------------------------------------------
+Tue Feb 18 12:47:30 UTC 2015 - [email protected]
+
+- Utilize the _service file to download the chromium tarball
+
+-------------------------------------------------------------------
+Sun Feb  8 21:13:30 UTC 2015 - [email protected]
+
+- Update to Chromium 40.0.2214.111
+  * Security Fixes:
+    - CVE-2015-1209: Use-after-free in DOM
+    - CVE-2015-1210: Cross-origin-bypass in V8 bindings
+    - CVE-2015-1211: Privilege escalation using service workers
+    - CVE-2015-1212: Various fixes from internal audits, fuzzing 
+                     and other initiatives
+
+-------------------------------------------------------------------
+Sat Jan 31 16:35:39 UTC 2015 - [email protected]
+
+- Update to Chromium 40.0.2214.94
+  - Bugfixes
+
+-------------------------------------------------------------------
+Wed Jan 28 07:53:55 UTC 2015 - [email protected]
+
+- Update to Chromium 40.0.2214.93
+  - Bugfixes
+
+-------------------------------------------------------------------
+Fri Jan 23 16:26:27 UTC 2015 - [email protected]
+
+- Update to Chromium 40.0.2214.91
+  * Security Fixes:
+    - CVE-2014-7923: Memory corruption in ICU
+    - CVE-2014-7924: Use-after-free in IndexedDB
+    - CVE-2014-7925: Use-after-free in WebAudio
+    - CVE-2014-7926: Memory corruption in ICU
+    - CVE-2014-7927: Memory corruption in V8
++++ 2360 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.chromium.3862.new/chromium.changes

New:
----
  _constraints
  _service
  adjust-ldflags-no-keep-memory.patch
  arm-webrtc-fix.patch
  chrome-wrapper
  chromium-43.0.2357.130.tar.xz
  chromium-arm-r0.patch
  chromium-browser.desktop
  chromium-browser.sh
  chromium-browser.xml
  chromium-gcc-fixes.patch
  chromium-icons.tar.bz2
  chromium-master-prefs-path.patch
  chromium-more-codec-aliases.patch
  chromium-rpmlintrc
  chromium-sandbox-pie.patch
  chromium.changes
  chromium.default
  chromium.spec
  courgette.tar.xz
  default_bookmarks.html
  depot_tools.tar.xz
  exclude_ymp.diff
  gcc50-fixes.diff
  gn-binaries.tar.xz
  master_preferences
  no-clang-on-packman.diff
  skia.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chromium.spec ++++++
#
# spec file for package chromium
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define chromium_no_dlopen 1
%define chromium_system_libs 0

Name:           chromium
Version:        43.0.2357.130
Release:        0
Summary:        Google's opens source browser project
License:        BSD-3-Clause and LGPL-2.1+
Group:          Productivity/Networking/Web/Browsers
Url:            http://code.google.com/p/chromium/
Source0:        
http://commondatastorage.googleapis.com/chromium-browser-official/%{name}-%{version}.tar.xz
Source2:        %{name}-rpmlintrc
Source30:       master_preferences
Source31:       default_bookmarks.html
Source99:       chrome-wrapper
Source100:      chromium-browser.sh
Source101:      chromium-browser.desktop
Source102:      chromium-browser.xml
Source103:      chromium.default
Source104:      chromium-icons.tar.bz2
Source997:      courgette.tar.xz
Source998:      depot_tools.tar.xz
Source999:      gn-binaries.tar.xz
Provides:       chromium-based-browser = %{version}
Provides:       chromium-browser = %{version}
Provides:       browser(npapi)
Obsoletes:      chromium-browser < %{version}
Conflicts:      otherproviders(chromium-browser)
# There is no v8 for ppc and thus chromium won't run on ppc. For aarch64 
certain buildrequires are missing (e.g. valgrind)
ExcludeArch:    aarch64 ppc ppc64 ppc64le

## Start Patches
# Many changes to the gyp systems so we can use system libraries
# PATCH-FIX-OPENSUSE Make the 1-click-install ymp file always download 
[bnc#836059]
Patch1:         exclude_ymp.diff
# PATCH-FIX-OPENSUSE enables reading of the master preference
Patch4:         chromium-master-prefs-path.patch
# PATCH-FIX-OPENSUSE Fix some includes specifically for the GCC version used
Patch5:         chromium-gcc-fixes.patch
# PATCH-FIX-UPSTREAM Add more charset aliases
Patch6:         chromium-more-codec-aliases.patch
# PATCH-FIX-OPENSUSE Compile the sandbox with -fPIE settings
Patch7:         chromium-sandbox-pie.patch
# PATCH-FIX-OPENSUSE Adjust ldflags for better building
Patch8:         adjust-ldflags-no-keep-memory.patch
# PATCH-FIX-OPENSUSE no-clang-on-packman.diff - We can't use clang build flags 
on packman
Patch9:         no-clang-on-packman.diff
# PATCH-FIX-OPENSUSE gcc50-fixes.diff - Fix the GCC version detection
Patch10:        gcc50-fixes.diff

# archlinux arm enhancement patches
Patch100:       arm-webrtc-fix.patch
Patch101:       chromium-arm-r0.patch
Patch102:       skia.patch

BuildRequires:  alsa-devel
BuildRequires:  bison
BuildRequires:  cups-devel
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  flac-devel
BuildRequires:  flex
BuildRequires:  freetype2-devel
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  gperf
BuildRequires:  hicolor-icon-theme
BuildRequires:  hunspell-devel
BuildRequires:  krb5
BuildRequires:  krb5-devel
BuildRequires:  libbz2-devel
BuildRequires:  libcap-devel
BuildRequires:  libdrm-devel
BuildRequires:  libelf-devel
BuildRequires:  libexpat-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  libgnome-keyring-devel
BuildRequires:  libicu-devel >= 4.0
BuildRequires:  libpulse-devel

%if !0%{?packman_bs}
BuildRequires:  ninja
%endif
BuildRequires:  libdrm-devel
BuildRequires:  pam-devel
BuildRequires:  pciutils-devel
BuildRequires:  pkg-config
BuildRequires:  python
BuildRequires:  python-devel
BuildRequires:  python-xml
BuildRequires:  sqlite3-devel
BuildRequires:  update-desktop-files
BuildRequires:  util-linux
BuildRequires:  valgrind-devel
BuildRequires:  wdiff
BuildRequires:  perl(Switch)
BuildRequires:  pkgconfig(cairo) >= 1.6
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(gconf-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libcrypto)
BuildRequires:  pkgconfig(libexif)
BuildRequires:  pkgconfig(libexif)
BuildRequires:  pkgconfig(libudev)
BuildRequires:  pkgconfig(libxslt)
BuildRequires:  pkgconfig(nspr) >= 4.9.5
BuildRequires:  pkgconfig(nss) >= 3.14
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xcomposite)
BuildRequires:  pkgconfig(xcursor)
BuildRequires:  pkgconfig(xdamage)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xfixes)
BuildRequires:  pkgconfig(xi)
BuildRequires:  pkgconfig(xrandr)
BuildRequires:  pkgconfig(xrender)
BuildRequires:  pkgconfig(xscrnsaver)
BuildRequires:  pkgconfig(xt)
BuildRequires:  pkgconfig(xtst)
%if 0%{?chromium_system_libs}
%if 0%{?suse_version} > 1230
BuildRequires:  libjpeg62-devel
%else
BuildRequires:  libjpeg-devel
%endif
BuildRequires:  perl-JSON
BuildRequires:  usbutils
BuildRequires:  yasm
BuildRequires:  pkgconfig(bzip2)
BuildRequires:  pkgconfig(libevent)
BuildRequires:  pkgconfig(libmtp)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(libusb-1.0)
BuildRequires:  pkgconfig(libxslt)
BuildRequires:  pkgconfig(opus)
BuildRequires:  pkgconfig(protobuf)
BuildRequires:  pkgconfig(speex)
%endif

Requires:       alsa
Requires:       ffmpegsumo
Requires:       hicolor-icon-theme
Requires:       update-alternatives
Requires:       xdg-utils

#Requirements to build a fully functional ffmpeg
# This can only be done on packman OBS
%if 0%{?packman_bs}
BuildRequires:  SDL-devel
BuildRequires:  dirac-devel >= 1.0.0
BuildRequires:  imlib2-devel
BuildRequires:  libdc1394
BuildRequires:  libdc1394-devel
BuildRequires:  libfaac-devel >= 1.28
BuildRequires:  libgsm
BuildRequires:  libgsm-devel
BuildRequires:  libjack-devel
BuildRequires:  libmp3lame-devel
BuildRequires:  libogg-devel
BuildRequires:  liboil-devel >= 0.3.15
BuildRequires:  libopencore-amr-devel
BuildRequires:  libtheora-devel >= 1.1
BuildRequires:  libvdpau-devel
BuildRequires:  libvorbis-devel
BuildRequires:  libvpx-devel
BuildRequires:  libx264-devel
BuildRequires:  libxvidcore-devel
BuildRequires:  ncurses-devel
BuildRequires:  schroedinger-devel
BuildRequires:  slang-devel
BuildRequires:  texinfo
%endif

Requires(pre):  permissions

Recommends:     Chromium-password = %{version}
Obsoletes:      %{name}-suid-helper < %{version}
Provides:       %{name}-suid-helper = %{version}

# Recommends the chromium-ffmpeg library (available from packman)
Recommends:     chromium-ffmpeg

%description
Chromium is the open-source project behind Google Chrome. We invite you to join 
us in our effort to help build a safer, faster, and more stable way for all 
Internet users to experience the web, and to create a powerful platform for 
developing a new generation of web applications.

%package ffmpegsumo
Summary:        Library to provide ffmpeg support to Chromium
License:        BSD-3-Clause and LGPL-2.1+
Group:          Productivity/Networking/Web/Browsers
Provides:       ffmpegsumo = %{version}
Conflicts:      otherproviders(ffmpegsumo)
Requires:       %{name}

%description ffmpegsumo
The is the multimedia codec library for Chromium. It is based on the internal 
ffmpeg source code and contains only the open source codecs from ffmpeg. 
Proprietary codecs (e.g. H.264) are not part of this library, but are provided 
in an external package

%package desktop-kde

Summary:        Update to chromium to use KDE's kwallet to store passwords
License:        BSD-3-Clause and LGPL-2.1+
Group:          Productivity/Networking/Web/Browsers
Supplements:    packageand(chromium:kdebase4-session)
Conflicts:      otherproviders(chromium-password)
Provides:       chromium-password = %{version}
Requires(post): chromium = %{version}

%description desktop-kde
By using the openSUSE update-alternatives the password store for Chromium is 
changed to utilize
KDE's kwallet. Please be aware that by this change the old password are no 
longer accessible and
are also not converted to kwallet.

%package desktop-gnome

Summary:        Update to chromium to use Gnome keyring to store passwords
License:        BSD-3-Clause and LGPL-2.1+
Group:          Productivity/Networking/Web/Browsers
Supplements:    packageand(chromium:gnome-session)
Conflicts:      otherproviders(chromium-password)
Provides:       chromium-password = %{version}
Requires(post): chromium = %{version}
Requires:       libgnome

%description desktop-gnome
By using the openSUSE update-alternatives the password store for Chromium is 
changed to utilize
Gnome's Keyring. Please be aware that by this change the old password are no 
longer accessible and
are also not converted to Gnome's Keyring.

%package -n chromedriver

Summary:        WebDriver for Google Chrome/Chromium
License:        BSD-3-Clause
Group:          Development/Tools/Other
Url:            http://code.google.com/p/chromedriver/

%description -n chromedriver
WebDriver is an open source tool for automated testing of webapps across many 
browsers. It provides capabilities for navigating to web pages, user input, 
JavaScript execution, and more. ChromeDriver is a standalone server which 
implements WebDriver's wire protocol for Chromium. It is being developed by 
members of the Chromium and WebDriver teams.


%if 0%{?packman_bs}
%package ffmpeg
Summary:        The ffmpeg lib for Google's opens source browser Chromium
License:        BSD-3-Clause and LGPL-2.1+
Group:          Productivity/Networking/Web/Browsers
Provides:       ffmpegsumo = %{version}
Conflicts:      otherproviders(ffmpegsumo)
Requires:       %{name}

%description ffmpeg
FFMPEG library built from the chromium sources.
%endif

%prep
%setup -q -n %{name}-%{version} -a 999 -a 998

%patch1 -p0
%patch6 -p0
%patch4 -p0
%patch5 -p0
%patch7 -p0
%patch8 -p0
%if 0%{?packman_bs}
%patch9 -p0
%endif
%if 0%{?suse_version} > 1320
%patch10 -p0
%endif

#Upstream fixes

# archlinux arm enhancements
%patch100 -p0
%patch101 -p0
#patch102 -p0

export PATH="$PATH":`pwd`/depot_tools

%build

PARSED_OPT_FLAGS=`echo \'%{optflags} -D_GNU_SOURCE\' | sed "s/ /',/g" | sed 
"s/',/', '/g"`
#'
sed -i "s|'-O<(release_optimize)'|$PARSED_OPT_FLAGS|g" build/common.gypi

myconf+="-Dwerror=
                     -Dlinux_sandbox_chrome_path=%{_libdir}/chromium/chromium
                     -Denable_hotwording=0
                     -Duse_openssl=0
                     -Duse_system_ffmpeg=0
                     -Dbuild_ffmpegsumo=1
                     -Dproprietary_codecs=1
                     -Dremove_webcore_debug_symbols=1
                     -Dlogging_like_official_build=1
                     -Dlinux_fpic=1 
                     -Ddisable_sse2=1
                     -Dcomponent=shared_library
                     -Dclang=0
                     -Dtoolkit_uses_gtk=0"

%if 0%{?packman_bs}
myconf+=" -Dffmpeg_branding=Chrome"
%endif

myconf+=" -Ddisable_nacl=1"

%ifarch x86_64
myconf+=" -Dtarget_arch=x64"
%endif

%ifarch %arm
myconf+=" -Dtarget_arch=arm
          -Dsysroot=
          -Ddisable_nacl=1"
%endif
%ifarch armv6hl armv7hl
myconf+=" -Darm_float_abi=hard"
%endif

%if 0%{?chromium_system_libs}
myconf+=" -Duse_system_flac=1
          -Duse_system_speex=1
          -Duse_system_libexif=1 
                     -Duse_system_libevent=1 
                     -Duse_system_libmtp=1
                     -Duse_system_opus=1 
                     -Duse_system_bzip2=1 
                     -Duse_system_harfbuzz=1 
                     -Duse_system_libjpeg=1 
                     -Duse_system_libpng=1 
                     -Duse_system_libxslt=1 
                     -Duse_system_libyuv=1 
                     -Duse_system_nspr=1 
                     -Duse_system_protobuf=1 
                     -Duse_system_yasm=1"

%if 0%{?suse_version} > 1230
myconf+=" -Duse_system_icu=1"
%endif

%endif

%if 0%{?chromium_no_dlopen}
myconf+=" -Duse_pulseaudio=1 
                     -Dlinux_link_libpci=1 
                     -Dlinux_link_gnome_keyring=1
                     -Dlinux_link_gsettings=1 
                     -Dlinux_link_libgps=1"

%ifnarch %ix86
#myconf+=" -Dlinux_link_kerberos=1" 
%endif

%endif

%if 0%{?suse_version} > 1310
myconf+=" -Dpython_ver=2.7"
%ifarch x86_64
myconf+=" -Dsystem_libdir=lib64"
%endif
%endif

myconf+=" -Djavascript_engine=v8 "

myconf+=" -Dlinux_use_gold_binary=0 
          -Dlinux_use_gold_flags=0"

# Set up Google API keys, see 
http://www.chromium.org/developers/how-tos/api-keys
# Note: these are for the openSUSE Chromium builds ONLY. For your own 
distribution,
# please get your own set of keys.

myconf+=" -Dgoogle_api_key=AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q 
          -Dgoogle_default_client_id=4139804441.apps.googleusercontent.com 
          -Dgoogle_default_client_secret=KDTRKEZk2jwT_7CDpcmMA--P"

ls -l /usr/bin/c++*
ls -l /usr/bin/g++*

build/linux/unbundle/replace_gyp_files.py $myconf

%if 0%{?packman_bs}
    ./build/gyp_chromium -f make third_party/ffmpeg/ffmpeg.gyp --no-parallel 
--depth . $myconf
    cd third_party/ffmpeg
    make -r %{?_smp_mflags} -f ffmpeg.Makefile BUILDTYPE=Release V=1
%else
    export GYP_GENERATORS='ninja'
    ./build/gyp_chromium build/all.gyp --depth .  $myconf

    ninja -C out/Release chrome

    # Build the required SUID_SANDBOX helper
    ninja -C out/Release chrome_sandbox

    # Build the ChromeDriver test suite
    ninja -C out/Release chromedriver
%endif

%install
mkdir -p %{buildroot}%{_libdir}/chromium/
%if 0%{?packman_bs}
        pushd third_party/ffmpeg/out/Release
        cp -a lib*.so %{buildroot}%{_libdir}/chromium/
        popd
%else
        %ifarch x86_64
        mkdir -p %{buildroot}%{_prefix}/lib/
        %endif
        install -m 755 %{SOURCE100} 
%{buildroot}%{_libdir}/chromium/chromium-generic

        # x86_64 capable systems need this
        sed -i "s|/usr/lib/chromium|%{_libdir}/chromium|g" 
%{buildroot}%{_libdir}/chromium/chromium-generic

        #update the password-store settings for each alternative
        sed "s|password-store=basic|password-store=kwallet|g" 
%{buildroot}%{_libdir}/chromium/chromium-generic > 
%{buildroot}%{_libdir}/chromium/chromium-kde
        sed "s|password-store=basic|password-store=gnome|g" 
%{buildroot}%{_libdir}/chromium/chromium-generic > 
%{buildroot}%{_libdir}/chromium/chromium-gnome
        mkdir -p %{buildroot}%{_mandir}/man1/
        pushd out/Release

        # Install the file /etc/default/chromium which defines the chromium 
flags
        mkdir -p %{buildroot}%{_sysconfdir}/default
        install -m 644 %{SOURCE103} %{buildroot}%{_sysconfdir}/default/chromium

        # Recent Chromium builds now wants to have the sandbox in the same 
directory. So let's create a symlink to the one in /usr/lib
        cp -a chrome_sandbox %{buildroot}%{_prefix}/lib/
        ln -s -f %{_prefix}/lib/chrome_sandbox 
%{buildroot}/%{_libdir}/chromium/chrome-sandbox

        cp -a *.pak locales remoting_locales xdg-mime icudtl.dat 
%{buildroot}%{_libdir}/chromium/
        cp -a chromedriver %{buildroot}%{_libdir}/chromium/

        # Patch xdg-settings to use the chromium version of xdg-mime as that 
the system one is not KDE4 compatible
        sed "s|xdg-mime|%{_libdir}/chromium/xdg-mime|g" xdg-settings > 
%{buildroot}%{_libdir}/chromium/xdg-settings

        cp -a resources.pak %{buildroot}%{_libdir}/chromium/
        cp -a chrome %{buildroot}%{_libdir}/chromium/chromium
        cp -a chrome.1 %{buildroot}%{_mandir}/man1/chrome.1
        cp -a chrome.1 %{buildroot}%{_mandir}/man1/chromium.1
    cp -a *_blob.bin %{buildroot}%{_libdir}/chromium/
        %fdupes %{buildroot}%{_mandir}/man1/

        # chromium components
        mkdir -p %{buildroot}%{_libdir}/chromium/lib/
        cp -av lib/*.so %{buildroot}%{_libdir}/chromium/lib/

        #libffmpegsumo
        cp -a libffmpegsumo.so %{buildroot}%{_libdir}/chromium/
        popd

        mkdir -p %{buildroot}%{_datadir}/icons/
        pushd %{buildroot}%{_datadir}/icons/
        tar -xjf %{SOURCE104}
        mv oxygen hicolor
        popd

        mkdir -p %{buildroot}%{_datadir}/applications/
        desktop-file-install --dir %{buildroot}%{_datadir}/applications 
%{SOURCE101}

        mkdir -p %{buildroot}%{_datadir}/gnome-control-center/default-apps/
        cp -a %{SOURCE102} 
%{buildroot}%{_datadir}/gnome-control-center/default-apps/

        # link to browser plugin path.  Plugin patch doesn't work. Why?
        mkdir -p %{buildroot}%{_libdir}/browser-plugins
        pushd %{buildroot}%{_libdir}/%{name}
        ln -s ../browser-plugins plugins

        # Install the master_preferences file
        mkdir -p %{buildroot}%{_sysconfdir}/%{name}
        install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{name}
        install -m 0644 %{SOURCE31} %{buildroot}%{_sysconfdir}/%{name}

        # Set the right attributes
        chmod 755 %{buildroot}%{_libdir}/%{name}/xdg-settings
        chmod 755 %{buildroot}%{_libdir}/%{name}/xdg-mime

        # create a dummy target for /etc/alternatives/chromium
        mkdir -p %{buildroot}%{_sysconfdir}/alternatives
        mkdir -p %{buildroot}%{_bindir}
        touch %{buildroot}%{_sysconfdir}/alternatives/chromium
        ln -s -f %{_sysconfdir}/alternatives/chromium 
%{buildroot}/%{_bindir}/chromium
%endif

%clean
rm -rf %{buildroot}

%pre
if [ -f %{_bindir}/chromium -a ! -L %{_bindir}/chromium ] ; then rm -f 
%{_bindir}/chromium
fi

# Add snipplets to update the GTK cache on package install.

%verifyscript
%verify_permissions -e %{_prefix}/lib/chrome_sandbox 

%post
%icon_theme_cache_post
%desktop_database_post
"%_sbindir/update-alternatives" --install %{_bindir}/chromium chromium 
%{_libdir}/chromium/chromium-generic 10
%set_permissions %{_prefix}/lib/chrome_sandbox

%postun
%icon_theme_cache_postun
%desktop_database_postun
if [ $1 -eq 0 ]; then
update-alternatives --remove-all chromium
fi

%post desktop-kde 
if [ ! -e /.buildenv ]; then
"%_sbindir/update-alternatives" --install %{_bindir}/chromium chromium 
%{_libdir}/chromium/chromium-kde 15
"%_sbindir/update-alternatives" --auto chromium
fi

%preun desktop-kde
if [ $1 -eq 0 -a ! -e /.buildenv ]; then
"%_sbindir/update-alternatives" --remove chromium 
%{_libdir}/chromium/chromium-kde
"%_sbindir/update-alternatives" --auto chromium
fi

%post desktop-gnome
if [ ! -e /.buildenv ]; then
"%_sbindir/update-alternatives" --install %{_bindir}/chromium chromium 
%{_libdir}/chromium/chromium-gnome 15
"%_sbindir/update-alternatives" --auto chromium
fi

%postun desktop-gnome
if [ $1 -eq 0 -a ! -e /.buildenv ]; then
"%_sbindir/update-alternatives" --remove chromium 
%{_libdir}/chromium/chromium-gnome
"%_sbindir/update-alternatives" --auto chromium
fi

# Files!

%if 0%{?packman_bs}

%files ffmpeg
%defattr(-,root,root,-)
%dir %{_libdir}/chromium
%{_libdir}/chromium/lib*.so

%else

%files
%defattr(-,root,root,-)
%verify(not mode) %{_prefix}/lib/chrome_sandbox
%doc AUTHORS LICENSE
%config %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/default/chromium
%dir %{_datadir}/gnome-control-center
%dir %{_datadir}/gnome-control-center/default-apps
%{_libdir}/chromium/
%{_mandir}/man1/chrom*
%{_datadir}/applications/*.desktop
%{_datadir}/gnome-control-center/default-apps/chromium-browser.xml
%{_datadir}/icons/hicolor/
%{_prefix}/lib/chrome_sandbox
%exclude %{_libdir}/chromium/libffmpegsumo.so
%exclude %{_libdir}/chromium/chromium-kde
%exclude %{_libdir}/chromium/chromium-gnome
%exclude %{_libdir}/chromium/chromedriver
%_bindir/chromium
%ghost %_sysconfdir/alternatives/chromium

%files ffmpegsumo
%defattr(-,root,root,-)
%{_libdir}/chromium/libffmpegsumo.so

%files desktop-kde
%attr(755, root, root) %{_libdir}/chromium/chromium-kde

%files desktop-gnome
%attr(755, root, root) %{_libdir}/chromium/chromium-gnome

%files -n chromedriver
%defattr(-,root,root,-)
%{_libdir}/chromium/chromedriver
%endif

%changelog
++++++ _service ++++++
<services>
        <service name="download_files" mode="localonly"/>
</services>
++++++ adjust-ldflags-no-keep-memory.patch ++++++
--- 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
@@ -75,6 +75,14 @@
         'app/signature_validator_win.cc',
         'app/signature_validator_win.h',
       ],
+      # 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',
       ],
++++++ arm-webrtc-fix.patch ++++++
--- third_party/webrtc/system_wrappers/source/cpu_features.cc.orig      
2014-01-15 18:38:50.331954791 -0700
+++ third_party/webrtc/system_wrappers/source/cpu_features.cc   2014-01-15 
18:38:37.902004379 -0700
@@ -18,6 +18,47 @@
 
 #include "webrtc/typedefs.h"
 
+#include <elf.h>
+#ifdef __arm__
+#include <fcntl.h>
+#include <unistd.h>
+#include <linux/auxvec.h>
+#include <asm/hwcap.h>
+#endif
+
+#ifdef __arm__
+uint64_t WebRtc_GetCPUFeaturesARM() {
+       static bool detected = false;
+       static uint64_t have_neon = 0;
+
+       int fd;
+       Elf32_auxv_t auxv;
+       unsigned int hwcaps;
+
+       if (!detected) {
+               int fd;
+               Elf32_auxv_t auxv;
+               unsigned int hwcaps;
+
+               fd = open("/proc/self/auxv", O_RDONLY);
+               if (fd >= 0) {
+                       while (read(fd, &auxv, sizeof(Elf32_auxv_t)) == 
sizeof(Elf32_auxv_t)) {
+                               if (auxv.a_type == AT_HWCAP) {
+                                       have_neon = (auxv.a_un.a_val & 
HWCAP_NEON) ? kCPUFeatureNEON : 0;
+                                       break;
+                               }
+                       }
+                       close (fd);
+               } else {
+                       have_neon = 0;
+               }
+               detected = true;
+       }
+
+       return 0 | have_neon; // others here as we need them
+}
+#endif
+
 // No CPU feature is available => straight C path.
 int GetCPUInfoNoASM(CPUFeature feature) {
   (void)feature;
++++++ chrome-wrapper ++++++
#!/bin/sh

# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Running Chromium via this script makes it possible to set Chromium as the
# default browser directly out of a compile, without needing to package it.

DESKTOP="chromium-devel"
TITLE="Chromium"

# Checks a file to see if it's a 32 or 64-bit.
check_executable() {
    out=$(file $(readlink -f $1) 2> /dev/null)
    echo $out | grep -qs "ELF 32-bit LSB"
    if [ $? = 0 ]; then
        echo 32
        return
    fi
    echo $out | grep -qs "ELF 64-bit LSB"
    if [ $? = 0 ]; then
        echo 64
        return
    fi
    echo neither
}

# Let the wrapped binary know that it has been run through the wrapper.
export CHROME_WRAPPER="`readlink -f "$0"`"

HERE="`dirname "$CHROME_WRAPPER"`"

# We include some xdg utilities next to the binary, and we want to prefer them
# over the system versions because we know they work correctly for us. But if
# our path already exists, we leave it where it is, to allow overriding this.
# (Once distributions have picked up the updated xdg-mime, we can go back to
# appending $HERE rather than prepending.)
case ":$PATH:" in
  *:$HERE:*)
    # $PATH already contains $HERE, leave it where it is.
    ;;
  *)
    # Prepend $HERE to $PATH.
    export PATH="$HERE:$PATH"
    ;;
esac

export LD_LIBRARY_PATH="$HERE:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"

exec "$HERE/chrome" "$@"
++++++ chromium-arm-r0.patch ++++++
--- third_party/icu/icu.gyp.orig        2014-05-20 19:17:22.879538568 -0600
+++ third_party/icu/icu.gyp     2014-05-20 19:19:42.204032167 -0600
@@ -34,7 +34,7 @@
       }],
       ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
          or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
-        (target_arch=="arm" or target_arch=="ia32" or \
+        (target_arch=="ia32" or \
          target_arch=="mipsel")', {
         'target_conditions': [
           ['_toolset=="host"', {
++++++ chromium-browser.desktop ++++++
[Desktop Entry]
Version=1.0
Name=Chromium Web Browser
Comment=Browse the World Wide Web
GenericName=Web Browser
Exec=chromium %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=chromium-browser
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Chromium

++++++ chromium-browser.sh ++++++
#!/bin/sh

# Chromium launcher

# Authors:
#  Fabien Tassin <[email protected]>
# License: GPLv2 or later

APPNAME=chromium
LIBDIR=/usr/lib/chromium
GDB=/usr/bin/gdb

usage () {
  echo "$APPNAME [-h|--help] [-g|--debug] [options] [URL]"
  echo
  echo "        -g or --debug           Start within $GDB"
  echo "        -h or --help            This help screen"
}

# FFmpeg needs to know where its libs are located
if [ "Z$LD_LIBRARY_PATH" != Z ] ; then
  LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH
else
  LD_LIBRARY_PATH=$LIBDIR
fi
export LD_LIBRARY_PATH

# xdg-settings should in PATH
PATH=$PATH:$LIBDIR
export PATH

want_debug=0
while [ $# -gt 0 ]; do
  case "$1" in
    -h | --help | -help )
      usage
      exit 0 ;;
    -g | --debug )
      want_debug=1
      shift ;;
    -- ) # Stop option prcessing
      shift
      break ;;
    * )
      break ;;
  esac
done

# Setup the default profile if this is none
# Set the default theme as GTK+ with system window decoration
if [ ! -d ~/.config/chromium/Default ]; then
    mkdir -p ~/.config/chromium/Default
    cat <<EOF > ~/.config/chromium/Default/Preferences
{
   "browser": {
      "custom_chrome_frame": false
   },
   "extensions": {
      "theme": {
         "colors": {

         },
         "id": "",
         "images": {

         },
         "properties": {

         },
         "tints": {

         },
         "use_system": true
      }
   },
   "homepage": "http://www.opensuse.org/";,
   "homepage_is_newtabpage": false,
   "session": {
      "restore_on_startup": 1
   },
   "webkit": {
      "webprefs": {
         "default_fixed_font_size": 13,
         "default_font_size": 16,
         "fixed_font_family": "Droid Sans Mono",
         "sansserif_font_family": "Droid Sans",
         "serif_font_family": "Droid Serif"
      }
   }
}
EOF
fi

if [ ! -u $CHROME_SANDBOX ] ; then
   echo "The chrome_sandbox binary does not have the SETUID set."
   echo
   echo "This is most likely caused by the permission state (Secure/Paranoid) 
of the system. Therefore running Chromium is not possible."
fi

# Allow users to override command-line options
# Based on Gentoo's chromium package (and by extension, Debian's)
if [ -f /etc/default/chromium ]; then
        . /etc/default/chromium
fi

# Detect if PepperFlash has been installed (based on the package in packman)
# If so, automatically enable it
if [ -f /usr/lib/chromium/PepperFlash/libpepflashplayer.so ]; then
      PEPPER_FLASH_VERSION=$(grep '"version":' 
/usr/lib/chromium/PepperFlash/manifest.json| grep -Po '(?<=version": 
")(?:\d|\.)*')
      
PEPPERFLASH="--ppapi-flash-path=/usr/lib/chromium/PepperFlash/libpepflashplayer.so
 --ppapi-flash-version=$PEPPER_FLASH_VERSION"
fi

# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/chromium/default)
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-$CHROMIUM_FLAGS}

if [ $want_debug -eq 1 ] ; then
  if [ ! -x $GDB ] ; then
    echo "Sorry, can't find usable $GDB. Please install it."
    exit 1
  fi
  tmpfile=`mktemp /tmp/chromiumargs.XXXXXX` || { echo "Cannot create temporary 
file" >&2; exit 1; }
  trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
  echo "set args ${1+"$@"}" > $tmpfile
  echo "# Env:"
  echo "#     LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
  echo "$GDB $LIBDIR/$APPNAME -x $tmpfile"
  $GDB "$LIBDIR/$APPNAME" -x $tmpfile
  exit $?
else
  exec $LIBDIR/$APPNAME $SANDBOX ${CHROMIUM_FLAGS} ${PEPPERFLASH} 
"--password-store=basic" "--enable-threaded-compositing" "$@"
fi

++++++ chromium-gcc-fixes.patch ++++++
Index: chromium/src/base/debug/stack_trace.h
===================================================================
--- base/debug/stack_trace.h
+++ base/debug/stack_trace.h
@@ -5,6 +5,7 @@
 #ifndef BASE_DEBUG_STACK_TRACE_H_
 #define BASE_DEBUG_STACK_TRACE_H_
 
+#include <stdint.h>
 #include <iosfwd>
 #include <string>
 
Index: chromium/src/third_party/skia/src/ports/SkFontHost_fontconfig.cpp
===================================================================
--- third_party/skia/src/ports/SkFontHost_fontconfig.cpp
+++ third_party/skia/src/ports/SkFontHost_fontconfig.cpp
@@ -14,6 +14,7 @@
 #include "SkStream.h"
 #include "SkTypeface.h"
 #include "SkTypefaceCache.h"
+#include <unistd.h>

 ///////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////

++++++ chromium-master-prefs-path.patch ++++++
Index: chromium/src/chrome/browser/first_run/first_run_linux.cc
===================================================================
--- chrome/browser/first_run/first_run_internal_linux.cc
+++ chrome/browser/first_run/first_run_internal_linux.cc
@@ -22,8 +22,7 @@
 base::FilePath MasterPrefsPath() {
   // The standard location of the master prefs is next to the chrome binary.
   base::FilePath master_prefs;
-  if (!PathService::Get(base::DIR_EXE, &master_prefs))
-    return base::FilePath();
+  master_prefs = base::FilePath("/etc/chromium");
   return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
 }

++++++ chromium-more-codec-aliases.patch ++++++
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");

++++++ chromium-rpmlintrc ++++++
addFilter("permissions-unauthorized-file")
++++++ chromium-sandbox-pie.patch ++++++
--- sandbox/linux/sandbox_linux.gypi    2011-11-15 19:35:11.119851877 +0100
+++ sandbox/linux/sandbox_linux.gypi    2012-01-25 23:24:53.914568688 +0100
@@ -85,7 +85,10 @@
       ],
       'cflags': [
         # For ULLONG_MAX
-        '-std=gnu99',
+        '-std=gnu99 -fPIE',
+      ],
+      'ldflags': [
+        '-pie',
       ],
       'include_dirs': [
         '../..',
++++++ chromium.default ++++++
# Default settings for chromium. This file is sourced by /usr/bin/chromium

# Options to pass to chromium
CHROMIUM_FLAGS=""
++++++ default_bookmarks.html ++++++
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>

<DL><p>
    <DT><A 
HREF="place:folder=BOOKMARKS_MENU&folder=UNFILED_BOOKMARKS&folder=TOOLBAR&sort=12&excludeQueries=1&excludeItemIfParentHasAnnotation=livemark%2FfeedURI&maxResults=10&queryType=1">Recently
 Bookmarked</A>
    <DT><A HREF="place:sort=14&type=6&maxResults=10&queryType=1">Recent Tags</A>
    <HR>
    <DT><A HREF="http://en-us.add-ons.mozilla.com/en-US/firefox/bookmarks/"; 
ADD_DATE="1273256552" LAST_MODIFIED="1273256552" 
ICON_URI="http://www.mozilla.org/2005/made-up-favicon/0-1273256552642492"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADGUlEQVQ4jXWTXUxTZxjH33jBhRfGkGXGEC+M8dYbL7z0eiZL5sWJQqJuwnAz26CKxgrGN1Iwa/lwCVmDDJBZQNsdYlCraGlUSu0X/ZDak67tWmxpWjh9Szk9tJue/ncBG6LbL/nfPf/f81y8LyEf0EjpdpVGU9Ok0x1o6tQdaurUHfq2Q3eg4XLHrs8b6fYP59+Dbmvu6N19pd9QN2wRUg/9mbcvYhKskVXcdaTfdt97HT+j/fUIp6LVhNBtH5VVmp6aLpOdfxFllbnFEjypNbjeyLDFi7BGJDwWChh1ZZSWgZmR2ssdu7ZIvmymO3sn5qZ8iyXMZ8oIZsuYz5ThS5fgSsqYiRVhCUt4ECyA9zNcvOUw156nnxBCCOE4WqX++f4XjgUJrzJlCMtlhHN/YirEYA7mMBkQMZuQYY1IMIcKmAjkcdu5jHqtieM4WkXqVbT6l+lowrtYQjC7Xo7l/8JTgeEfhEwJ1uimYNzDcNUUTB5toZ+Ss63de8wB8Z0ntYb5TBlTrxmeCAxToa2C6XAB5lAB/Iagz5JSjl1o30ca2nR7n0clOJMyfOkSzMEc/g93ogjezzDqZhiwZVH3Q/t+0tCi2/tUWIEtXoQzuYbJgAhFqUBRlI/ijBdh9DIY3DkM2JbWBd+0amp475JijUqYiRUxm5BhXyiC9y3/u9mblOFOyJiNSRj3MIw4RfxkSSnHz2r2EE5Fq/WPf889EgqwhCVMRyRYoxLuupdQqQCVCuBKyJgI5HFnjuG2K4chu4h2PsS4elpNOI5Wnes1dfIBhgfBFZhDhY2swp2Q4YxLsP8h4c7c+unDL0XctGVxRmvScRytIoQQclKlqek0+sK8n4EP5DGxkd/8DEYvw5h7szwwu4w2g2fh2IX2fVue8lfqnsPXxpzBEXu2Mu5hGPMwjLpzMLhyGHGIGHopQv88jVaDI16n1h7h6Mb29yV157sONncZ+7vuR/L6Z2ll2CFi0C6iz7Ko/DgpFL/rNhpr1drD/1He5LPv6Y4Tl25w9Vf62r6mN/WNmsH+01f110+qe06t/8St/A10n5SW/zQjywAAAABJRU5ErkJggg==">Get
 Bookmark Add-ons</A>
    <DT><H3 ADD_DATE="1273256552" LAST_MODIFIED="1273256742" 
PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar
    <DL><p>
        <DT><H3 ADD_DATE="1273256552" LAST_MODIFIED="1273256552">openSUSE</H3>
        <DL><p>
            <DT><A HREF="http://www.opensuse.org/"; ADD_DATE="1273256552" 
LAST_MODIFIED="1273256552" ICON_URI="http://www.opensuse.org/favicon.ico"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABSklEQVQ4jZWToY6EMBCGeRlegCfgBfYJEGg0CQZbu+IQSJAoEtyFChIQGwIC0YRwSQXJgkAgFoFY859qc9wBu9dkxCTtN/1n/lEAmH5twK8NRMxB3ofgc4k3j6lUY4zr7QKbqn/Crw2k3MOwtIcEZe/hXpBCR8o9rM/H/wBupiFiDoLGgptpcDMN1Ri/B7jeLmATRdBYiJgDNlEpd17vrwF8Ljf9ENVtqiJizjlANNCmKoLGAp9LkELfQNfn4xhACl1WO/pVNcZbACn0zeVqjOHXhsyFT0QeNNYWkHIPbKIS5GaaNBafSynpZ8ENwM00Oeszg4kezet9vwdi9sPSYlha5H0ovSCcWY0xko68NhIpdCQdQco9pNxDxBy4mQabqsj78H0r/46gsc7HeCZNuBAAlM+vD7MaY6TcQ9IRiNX2a0NqzvvwaCPNb8+My7ifNoCEAAAAAElFTkSuQmCC"
 LAST_CHARSET="UTF-8">openSUSE</A>
            <DT><A HREF="http://en.opensuse.org/documentation/"; 
ADD_DATE="1273256552" LAST_MODIFIED="1273256552" 
ICON_URI="http://www.mozilla.org/2005/made-up-favicon/2-1273256552647245"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABSklEQVQ4jZWToY6EMBCGeRlegCfgBfYJEGg0CQZbu+IQSJAoEtyFChIQGwIC0YRwSQXJgkAgFoFY859qc9wBu9dkxCTtN/1n/lEAmH5twK8NRMxB3ofgc4k3j6lUY4zr7QKbqn/Crw2k3MOwtIcEZe/hXpBCR8o9rM/H/wBupiFiDoLGgptpcDMN1Ri/B7jeLmATRdBYiJgDNlEpd17vrwF8Ljf9ENVtqiJizjlANNCmKoLGAp9LkELfQNfn4xhACl1WO/pVNcZbACn0zeVqjOHXhsyFT0QeNNYWkHIPbKIS5GaaNBafSynpZ8ENwM00Oeszg4kezet9vwdi9sPSYlha5H0ovSCcWY0xko68NhIpdCQdQco9pNxDxBy4mQabqsj78H0r/46gsc7HeCZNuBAAlM+vD7MaY6TcQ9IRiNX2a0NqzvvwaCPNb8+My7ifNoCEAAAAAElFTkSuQmCC"
 LAST_CHARSET="UTF-8">openSUSE Documentation</A>
            <DT><A HREF="http://software.opensuse.org/"; ADD_DATE="1273256552" 
LAST_MODIFIED="1273256552" 
ICON_URI="http://www.mozilla.org/2005/made-up-favicon/3-1273256552648253"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABSklEQVQ4jZWToY6EMBCGeRlegCfgBfYJEGg0CQZbu+IQSJAoEtyFChIQGwIC0YRwSQXJgkAgFoFY859qc9wBu9dkxCTtN/1n/lEAmH5twK8NRMxB3ofgc4k3j6lUY4zr7QKbqn/Crw2k3MOwtIcEZe/hXpBCR8o9rM/H/wBupiFiDoLGgptpcDMN1Ri/B7jeLmATRdBYiJgDNlEpd17vrwF8Ljf9ENVtqiJizjlANNCmKoLGAp9LkELfQNfn4xhACl1WO/pVNcZbACn0zeVqjOHXhsyFT0QeNNYWkHIPbKIS5GaaNBafSynpZ8ENwM00Oeszg4kezet9vwdi9sPSYlha5H0ovSCcWY0xko68NhIpdCQdQco9pNxDxBy4mQabqsj78H0r/46gsc7HeCZNuBAAlM+vD7MaY6TcQ9IRiNX2a0NqzvvwaCPNb8+My7ifNoCEAAAAAElFTkSuQmCC"
 LAST_CHARSET="UTF-8">openSUSE Download</A>
            <DT><A FEEDURL="http://news.opensuse.org/?feed=rss2"; 
HREF="http://news.opensuse.org/";>openSUSE News</A>
            <DT><A HREF="http://wiki.opensuse.org/Portal:How_to_participate"; 
ADD_DATE="1273256552" LAST_MODIFIED="1273256552" 
ICON_URI="http://www.mozilla.org/2005/made-up-favicon/4-1273256552650167"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABSklEQVQ4jZWToY6EMBCGeRlegCfgBfYJEGg0CQZbu+IQSJAoEtyFChIQGwIC0YRwSQXJgkAgFoFY859qc9wBu9dkxCTtN/1n/lEAmH5twK8NRMxB3ofgc4k3j6lUY4zr7QKbqn/Crw2k3MOwtIcEZe/hXpBCR8o9rM/H/wBupiFiDoLGgptpcDMN1Ri/B7jeLmATRdBYiJgDNlEpd17vrwF8Ljf9ENVtqiJizjlANNCmKoLGAp9LkELfQNfn4xhACl1WO/pVNcZbACn0zeVqjOHXhsyFT0QeNNYWkHIPbKIS5GaaNBafSynpZ8ENwM00Oeszg4kezet9vwdi9sPSYlha5H0ovSCcWY0xko68NhIpdCQdQco9pNxDxBy4mQabqsj78H0r/46gsc7HeCZNuBAAlM+vD7MaY6TcQ9IRiNX2a0NqzvvwaCPNb8+My7ifNoCEAAAAAElFTkSuQmCC"
 LAST_CHARSET="UTF-8">How To participate in openSUSE</A>
            <DT><A HREF="http://forums.opensuse.org/"; ADD_DATE="1273256552" 
LAST_MODIFIED="1273256552" 
ICON_URI="http://www.mozilla.org/2005/made-up-favicon/5-1273256552651242"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABSklEQVQ4jZWToY6EMBCGeRlegCfgBfYJEGg0CQZbu+IQSJAoEtyFChIQGwIC0YRwSQXJgkAgFoFY859qc9wBu9dkxCTtN/1n/lEAmH5twK8NRMxB3ofgc4k3j6lUY4zr7QKbqn/Crw2k3MOwtIcEZe/hXpBCR8o9rM/H/wBupiFiDoLGgptpcDMN1Ri/B7jeLmATRdBYiJgDNlEpd17vrwF8Ljf9ENVtqiJizjlANNCmKoLGAp9LkELfQNfn4xhACl1WO/pVNcZbACn0zeVqjOHXhsyFT0QeNNYWkHIPbKIS5GaaNBafSynpZ8ENwM00Oeszg4kezet9vwdi9sPSYlha5H0ovSCcWY0xko68NhIpdCQdQco9pNxDxBy4mQabqsj78H0r/46gsc7HeCZNuBAAlM+vD7MaY6TcQ9IRiNX2a0NqzvvwaCPNb8+My7ifNoCEAAAAAElFTkSuQmCC"
 LAST_CHARSET="UTF-8">openSUSE Forums</A>
            <DT><A FEEDURL="http://www.planetsuse.org/rss20.xml"; 
HREF="http://planet.opensuse.org/";>Planet SUSE</A>
        </DL><p>
        <DT><A 
FEEDURL="http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml"; 
HREF="http://news.bbc.co.uk/go/rss/-/2/hi/default.stm";>Latest Headlines</A>
        <HR>
        <DT><H3 ADD_DATE="1273256722" LAST_MODIFIED="1273256951">Chromium</H3>
        <DL><p>
            <DT><A 
HREF="http://dev.chromium.org/for-testers/bug-reporting-guidelines"; 
ADD_DATE="1273256788" 
ICON_URI="http://www.gstatic.com/sites/p/0d68f1/system/app/images/favicon.ico"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC3ElEQVQ4jW3S3WtTBxiA8dz4B3inNwNvTJ3YDmstWHGotNVMWcsqRNm60Q8ZQ9FdbKDsZgOhoBOGC/Qj0NJSMB6wJqsm5ixZT0J6TrO1VYaBUpNjzrGH1PQkbdeUJP14vNCmluWF9/aBH+9rWbSdxTxzhvmGBrSTJ5k9fpx/a48yVX2Y6CdVKJWHUKoqeVBRgaXcpBsbKbx8Se7FC8xgEH1wkFBVJU8PHmT0QAUjFVYe7N/Pfau1fOD1qVM8bmujfaaD9lgbl5+38d1kB9eVTr4Pd3L1r1a+9V+i03uBjtEvaBlo3BkyDANJkvjq2UXS+TfoOY3nC//gnnXR7rtA65PPufj0HHavDfuTs3zmPLEzoOs6gUCAS1ITXwab+drXTMdoM60Pz9N8/zQNA3V82ltL3e811N2t5sTtmp2BZDJJMBjEMAwAFEWhezJL39QifVOL9E4u0j2ZxfF3hp/H3vBTIMW1xzpXPEmO/TaORVVVRFFE13UA+vv7uRfNkiuss/J+/8uv8eeMyQ/e11z1vKJdmOUb1wxH7oSwJBIJRFEkmUwCEIlE6IoscCuU5pexFDf8c/zo07niSWDrm+K0Q6H21zBH7khU3w5hicfj+Hw+VFUFwOl0ljgfzsbGBsVikXw+TzabJZPJEIlE3hH8fj+JRAKAUChU4ni9XjY3N7Hb7bS0tNDU1ITNZqO+vp50Ok00GsUSi8UQBIF4PE6xWKSnp6fEAVhbW6NQKLCyssLS0hKmaZJKpTAMA1mWty+iqir5fB5Jkkocj8fD6uoqLpeLoaEhNE1Dv3mTwJ49fNQ1ztiYtB2IxWJMT08zMjJS4qyvr7O8vIxpmszPz6NpGuNWKw937WJv5GO8fm/5997iCIKAaZo4nU4cDgeappH7w0JmyMJu/z4euR+VD2xxcrkcqVSKubk5NE373wqCUD6wxZmYmECWZRRFQZZlZFkmHA4jiiJut5vh4WHeAhqappiWhSp5AAAAAElFTkSuQmCC">Bug
 Life Cycle and Reporting Guidelines (The Chromium Projects)</A>
            <DT><A HREF="http://code.google.com/chromium/"; 
ADD_DATE="1273256762" ICON_URI="http://code.google.com/favicon.ico"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADRUlEQVQ4jSXT60/VdQDH8c/vd7AlI4EHtjW0WCs1i7U2i8u54GWxYDVtpkabumX5JLs86oLYEgRDQjAIBbsYayTmCjDQMwsrtcgxUBdWkNyyJDkCB9jRw+/8vu8e8OD9D7y2tyTJiUFX/wipWxuJe/pzSo9fwiVGNDzB2ewsei0xa9u4Eq5sIpYYl5AkxRwwwLriU2hTEHtbFwte/I6//p0CEyPyWy/XE+JxJYzlwbVExBIhxTFkCwE4jsMDO9rRtk60vQfl/0jxN5fBgInBUE4OUVnEPCJqWUzKw5glBiVkXCAG3sIO7M0/Y2/vxH7hHJv2dwMOAFfXr2NGcWAJVx6mLfGPRJ/tQeACLkVNl9H6IHEvXcB+/nvyqzpxMXAbfnloGT/dcwctS5JpT02mK2kew7botYT6h29igNFwhGU72tBzp1mwOUiw5xoGqGs5zOI3UtFH6Xhq/ajay/yyJ8h6OY19DyeipVs+43jHFXANE1NRjpwZoG/kJi6GklN1qOgRPPVePIeyUG06qs3EOpCFqrOx9q5GCzceJWntx6x+vZE9DR1zajic6fsV+6370OHHUV06qk/HqvFh1fhQZQZWuR9rbwAtzW9g0YYvuDPvU5KfOsTgaBhjDMOhayypfxbVpGEfzMQ+6EU1GdgferEq/djlflSWge7P3U/Glk/Y+G4rr1X9QE/fOC4Gg8vY1Bg5R1/BqkhDtT5U7Z2r0o/2+dEeP2o8fZGxcRcDzE72Mnq1mYGeWm5N3wBgNuaQ2/gqVsVyVJ2BqrzY5ZnofR8q8SFcmP7vIt3NGQw2x/N3mxj52uZK03LCoT/BxPh9dIi7SrNRVSaeD3zYZX5UEkC7A+i2M0NXYzoT3wpz3sY5G0+kYz43jon+5jyMMZgYPHhgAypbgSq8qNTPvN1rsHYF0FRogD8aUrgVTCIcTGCqLZHJ1kRmTqRw/atHITpNxDEsLslDpZnYJatQqQ/7vZVopx85McPgya2EvkxgsuVuwq0LmTmRQvjYvYyfK8QATRdO4nnzMaxiL56ibLQrgAoC6J01c0c6MyHGzhcy0b6WcMuTTLQ/Q6S7mqgT4dLwAIvezkUFK7ALs1HhSrTThwpWIUn/A1g/hnpCRmiJAAAAAElFTkSuQmCC">Chromium
 - Google Code</A>
            <DT><A HREF="http://blog.chromium.org/"; ADD_DATE="1273256696" 
ICON_URI="http://www.blogger.com/favicon.ico"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAiUlEQVQ4jWNggIJ/aUz/ScEMyIBUzSiGkKsZbgiG4L6+//++vfv/798/BD637v+/IiEiDNjXh6oRGd/aR4QByDbPi4NgZLEmIwIGwBSuykOIzYtDiG9qwjAEuwGEMO0NQPYCDK/KI8IAbIEIwzDxb+/IjEYY3tdHRkKC2YymGbsB9MwPFOVImD4AmSK780dhlOYAAAAASUVORK5CYII=">Chromium
 Blog</A>
            <DT><A HREF="http://dev.chromium.org/getting-involved"; 
ADD_DATE="1273256924" 
ICON_URI="http://www.gstatic.com/sites/p/0d68f1/system/app/images/favicon.ico"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC3ElEQVQ4jW3S3WtTBxiA8dz4B3inNwNvTJ3YDmstWHGotNVMWcsqRNm60Q8ZQ9FdbKDsZgOhoBOGC/Qj0NJSMB6wJqsm5ixZT0J6TrO1VYaBUpNjzrGH1PQkbdeUJP14vNCmluWF9/aBH+9rWbSdxTxzhvmGBrSTJ5k9fpx/a48yVX2Y6CdVKJWHUKoqeVBRgaXcpBsbKbx8Se7FC8xgEH1wkFBVJU8PHmT0QAUjFVYe7N/Pfau1fOD1qVM8bmujfaaD9lgbl5+38d1kB9eVTr4Pd3L1r1a+9V+i03uBjtEvaBlo3BkyDANJkvjq2UXS+TfoOY3nC//gnnXR7rtA65PPufj0HHavDfuTs3zmPLEzoOs6gUCAS1ITXwab+drXTMdoM60Pz9N8/zQNA3V82ltL3e811N2t5sTtmp2BZDJJMBjEMAwAFEWhezJL39QifVOL9E4u0j2ZxfF3hp/H3vBTIMW1xzpXPEmO/TaORVVVRFFE13UA+vv7uRfNkiuss/J+/8uv8eeMyQ/e11z1vKJdmOUb1wxH7oSwJBIJRFEkmUwCEIlE6IoscCuU5pexFDf8c/zo07niSWDrm+K0Q6H21zBH7khU3w5hicfj+Hw+VFUFwOl0ljgfzsbGBsVikXw+TzabJZPJEIlE3hH8fj+JRAKAUChU4ni9XjY3N7Hb7bS0tNDU1ITNZqO+vp50Ok00GsUSi8UQBIF4PE6xWKSnp6fEAVhbW6NQKLCyssLS0hKmaZJKpTAMA1mWty+iqir5fB5Jkkocj8fD6uoqLpeLoaEhNE1Dv3mTwJ49fNQ1ztiYtB2IxWJMT08zMjJS4qyvr7O8vIxpmszPz6NpGuNWKw937WJv5GO8fm/5997iCIKAaZo4nU4cDgeappH7w0JmyMJu/z4euR+VD2xxcrkcqVSKubk5NE373wqCUD6wxZmYmECWZRRFQZZlZFkmHA4jiiJut5vh4WHeAhqappiWhSp5AAAAAElFTkSuQmCC">Getting
 Involved (The Chromium Projects)</A>
            <DT><A HREF="http://www.google.com/support/forum/p/Chrome"; 
ADD_DATE="1273256938" ICON_URI="http://www.google.com/favicon.ico"; 
ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAADRUlEQVQ4jSXT60/VdQDH8c/vd7AlI4EHtjW0WCs1i7U2i8u54GWxYDVtpkabumX5JLs86oLYEgRDQjAIBbsYayTmCjDQMwsrtcgxUBdWkNyyJDkCB9jRw+/8vu8e8OD9D7y2tyTJiUFX/wipWxuJe/pzSo9fwiVGNDzB2ewsei0xa9u4Eq5sIpYYl5AkxRwwwLriU2hTEHtbFwte/I6//p0CEyPyWy/XE+JxJYzlwbVExBIhxTFkCwE4jsMDO9rRtk60vQfl/0jxN5fBgInBUE4OUVnEPCJqWUzKw5glBiVkXCAG3sIO7M0/Y2/vxH7hHJv2dwMOAFfXr2NGcWAJVx6mLfGPRJ/tQeACLkVNl9H6IHEvXcB+/nvyqzpxMXAbfnloGT/dcwctS5JpT02mK2kew7botYT6h29igNFwhGU72tBzp1mwOUiw5xoGqGs5zOI3UtFH6Xhq/ajay/yyJ8h6OY19DyeipVs+43jHFXANE1NRjpwZoG/kJi6GklN1qOgRPPVePIeyUG06qs3EOpCFqrOx9q5GCzceJWntx6x+vZE9DR1zajic6fsV+6370OHHUV06qk/HqvFh1fhQZQZWuR9rbwAtzW9g0YYvuDPvU5KfOsTgaBhjDMOhayypfxbVpGEfzMQ+6EU1GdgferEq/djlflSWge7P3U/Glk/Y+G4rr1X9QE/fOC4Gg8vY1Bg5R1/BqkhDtT5U7Z2r0o/2+dEeP2o8fZGxcRcDzE72Mnq1mYGeWm5N3wBgNuaQ2/gqVsVyVJ2BqrzY5ZnofR8q8SFcmP7vIt3NGQw2x/N3mxj52uZK03LCoT/BxPh9dIi7SrNRVSaeD3zYZX5UEkC7A+i2M0NXYzoT3wpz3sY5G0+kYz43jon+5jyMMZgYPHhgAypbgSq8qNTPvN1rsHYF0FRogD8aUrgVTCIcTGCqLZHJ1kRmTqRw/atHITpNxDEsLslDpZnYJatQqQ/7vZVopx85McPgya2EvkxgsuVuwq0LmTmRQvjYvYyfK8QATRdO4nnzMaxiL56ibLQrgAoC6J01c0c6MyHGzhcy0b6WcMuTTLQ/Q6S7mqgT4dLwAIvezkUFK7ALs1HhSrTThwpWIUn/A1g/hnpCRmiJAAAAAElFTkSuQmCC">Google
 Chrome Help</A>
        </DL><p>
    </DL><p>
</DL><p>
++++++ exclude_ymp.diff ++++++
--- net/base/mime_util.cc       2013-08-25 10:12:05.428599992 +0200
+++ net/base/mime_util.cc       2013-08-25 10:12:05.428599992 +0200
@@ -376,6 +376,7 @@
   "text/x-csv",
   "text/x-vcf",
   "text/rtf",
+  "text/x-suse-ymp",
   "text/comma-separated-values",
   "text/csv",
   "text/tab-separated-values",
++++++ gcc50-fixes.diff ++++++
--- build/compiler_version.py   2015-06-17 21:51:42.871082412 +0200
+++ build/compiler_version.py   2015-06-17 21:51:42.871082412 +0200
@@ -56,7 +56,7 @@
     if tool == "compiler":
       compiler = compiler + " -dumpversion"
       # 4.6
-      version_re = re.compile(r"(\d+)\.(\d+)")
+      version_re = re.compile(r"(\d+)")
     elif tool == "assembler":
       compiler = compiler + " -Xassembler --version -x assembler -c /dev/null"
       # Unmodified: GNU assembler (GNU Binutils) 2.24
@@ -88,7 +88,11 @@
       raise subprocess.CalledProcessError(pipe.returncode, compiler)
 
     parsed_output = version_re.match(tool_output)
-    result = parsed_output.group(1) + parsed_output.group(2)
+    if tool == "compiler":
+      result = parsed_output.group(1) + "1"
+    else:
+      result = parsed_output.group(1) + parsed_output.group(2)
+
     compiler_version_cache[cache_key] = result
     return result
   except Exception, e:
--- native_client/build/compiler_version.py     2015-06-17 21:51:42.871082412 
+0200
+++ native_client/build/compiler_version.py     2015-06-17 21:51:42.871082412 
+0200
@@ -56,7 +56,7 @@
     if tool == "compiler":
       compiler = compiler + " -dumpversion"
       # 4.6
-      version_re = re.compile(r"(\d+)\.(\d+)")
+      version_re = re.compile(r"(\d+)")
     elif tool == "assembler":
       compiler = compiler + " -Xassembler --version -x assembler -c /dev/null"
       # Unmodified: GNU assembler (GNU Binutils) 2.24
@@ -88,7 +88,11 @@
       raise subprocess.CalledProcessError(pipe.returncode, compiler)
 
     parsed_output = version_re.match(tool_output)
-    result = parsed_output.group(1) + parsed_output.group(2)
+    if tool == "compiler":
+      result = parsed_output.group(1) + "1"
+    else:
+      result = parsed_output.group(1) + parsed_output.group(2)
+
     compiler_version_cache[cache_key] = result
     return result
   except Exception, e:
++++++ master_preferences ++++++
{
  "distribution": {
     "skip_first_run_ui": true,
     "import_bookmarks_from_file": "/etc/chromium/default_bookmarks.html",
     "alternate_shortcut_text": false,
     "oem_bubble": true,
     "chrome_shortcut_icon_index": 0,
     "create_all_shortcuts": true,
     "show_welcome_page": true,
     "make_chrome_default": false,
     "make_chrome_default_for_user": false,
     "system_level": false,
     "verbose_logging": false
  },
  "download": {
     "extensions_to_open": "ymp"
  },
  "browser": {
     "show_home_button": true,
     "check_default_browser": false
  },
  "bookmark_bar": {
     "show_on_all_tabs": true
  },
  "first_run_tabs": [
     "http://www.opensuse.org";,
     "http://tools.google.com/chrome/intl/en/welcome.html";
  ],
  "homepage": "http://www.opensuse.org";,
  "homepage_is_newtabpage": false
}
++++++ no-clang-on-packman.diff ++++++
--- build/common.gypi   2014-08-29 13:04:19.000000000 +0200
+++ build/common.gypi   2014-08-29 13:04:19.000000000 +0200
@@ -2440,7 +2440,7 @@
         }],
       ],
       'clang_warning_flags': [
-        '-Wheader-hygiene',
+        # '-Wheader-hygiene',
 
         # Don't die on dtoa code that uses a char as an array index.
         # This is required solely for base/third_party/dmg_fp/dtoa.cc.
@@ -2456,7 +2456,7 @@
         '-Wno-covered-switch-default',
 
         # Warns when a const char[] is converted to bool.
-        '-Wstring-conversion',
+        # '-Wstring-conversion',
 
         # C++11-related flags:
 
++++++ skia.patch ++++++
--- skia/skia_library_opts.gyp.orig     2014-04-10 07:06:03.181637221 -0600
+++ skia/skia_library_opts.gyp  2014-04-10 07:06:55.256436603 -0600
@@ -113,6 +113,7 @@
             '../third_party/skia/src/opts/SkTextureCompression_opts_arm.cpp',
             '../third_party/skia/src/opts/SkUtils_opts_arm.cpp',
             '../third_party/skia/src/opts/SkXfermode_opts_none.cpp',
+            '../third_party/skia/src/opts/memset.arm.S',
           ],
         }],
         [ 'target_arch == "mipsel" or target_arch == "mips64el"',{

Reply via email to