Hello community,

here is the log from the commit of package chromium.5611 for 
openSUSE:13.2:Update checked in at 2016-09-14 23:28:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.2:Update/chromium.5611 (Old)
 and      /work/SRC/openSUSE:13.2:Update/.chromium.5611.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chromium.5611"

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

--- /dev/null   2016-07-07 10:01:34.856033756 +0200
+++ /work/SRC/openSUSE:13.2:Update/.chromium.5611.new/chromium.changes  
2016-09-14 23:28:54.000000000 +0200
@@ -0,0 +1,3221 @@
+-------------------------------------------------------------------
+Wed Sep 14 07:35:09 UTC 2016 - tchva...@suse.com
+
+- Version update to 53.0.2785.113 bnc#998743:
+  * CVE-2016-5170 Use after free in Blink
+  * CVE-2016-5171 Use after free in Blink
+  * CVE-2016-5172 Arbitrary Memory Read in v8
+  * CVE-2016-5173 Extension resource access
+  * CVE-2016-5174 Popup not correctly suppressed
+  * CVE-2016-5175 Various fixes from internal audits
+
+-------------------------------------------------------------------
+Mon Sep 12 08:31:59 UTC 2016 - tchva...@suse.com
+
+- Reenable widevine build again bnc#998328
+
+-------------------------------------------------------------------
+Sat Sep 10 09:13:37 UTC 2016 - tchva...@suse.com
+
+- Stable channel update to  53.0.2785.101
+  * SPDY crasher fixes
+  * Disable NV12 DXGI video on AMD
+  * Forward --password-store switch to os_crypt
+  * Tell the kernel to discard USB requests when they time out.
+
+-------------------------------------------------------------------
+Wed Sep  7 14:50:44 UTC 2016 - astie...@suse.com
+
+- Update to Chromium 53.0.2785.92:
+  * Revert of support relocatable RPM packages
+  * disallow WKBackForwardListItem navigations for pushState pages
+  * arc: bluetooth: Fix advertised uuid
+  * fix conflicting PendingIntent for stop button and swipe away
+
+-------------------------------------------------------------------
+Thu Sep  1 04:04:13 UTC 2016 - tittiatc...@gmail.com
+
+- Update to Chromium 53.0.2785.89
+  - Improvements to the GN build system (boo#996032, boo#99606, boo#995932)
+  - Security fixes (boo#996648)
+  * CVE-2016-5147: Universal XSS in Blink.
+  * CVE-2016-5148: Universal XSS in Blink.
+  * CVE-2016-5149: Script injection in extensions.
+  * CVE-2016-5150: Use after free in Blink.
+  * CVE-2016-5151: Use after free in PDFium.
+  * CVE-2016-5152: Heap overflow in PDFium.
+  * CVE-2016-5153: Use after destruction in Blink.
+  * CVE-2016-5154: Heap overflow in PDFium.
+  * CVE-2016-5155: Address bar spoofing.
+  * CVE-2016-5156: Use after free in event bindings.
+  * CVE-2016-5157: Heap overflow in PDFium.
+  * CVE-2016-5158: Heap overflow in PDFium.
+  * CVE-2016-5159: Heap overflow in PDFium.
+  * CVE-2016-5161: Type confusion in Blink.
+  * CVE-2016-5162: Extensions web accessible resources bypass.
+  * CVE-2016-5163: Address bar spoofing.
+  * CVE-2016-5164: Universal XSS using DevTools.
+  * CVE-2016-5165: Script injection in DevTools.
+  * CVE-2016-5166: SMB Relay Attack via Save Page As.
+  * CVE-2016-5160: Extensions web accessible resources bypass.
+- Drop patches chromium-snapshot-toolchain-r1.patch
+
+-------------------------------------------------------------------
+Sat Aug 27 18:46:44 UTC 2016 - tittiatc...@gmail.com
+
+- Make it build on ARM.
+  * Add build patch arm_use_right_compiler.patch
+
+- Drop unnecessary patches:
+  * chromium-arm-r0.patch
+
+-------------------------------------------------------------------
+Mon Aug 22 10:13:19 UTC 2016 - tittiatc...@gmail.com
+
+- Change buildsystem to GN, which is the new upstream default
+  * Make Ninja only use 4 buildprocesses for building Chromium itself
+
+  * Drop unnecessary patches
+    - chromium-gcc-fixes.patch
+    - adjust-ldflags-no-keep-memory.patch
+    - gcc50-fixes.diff
+
+  * Add patches to ensure correct build
+    - chromium-last-commit-position-r0.patch
+    - chromium-snapshot-toolchain-r1.patch
+
+  * Drop unnecessary sourcefiles
+    - courgette.tar.xz
+    - depot_tools.tar.xz
+    - gn-binaries.tar.xz
+
+-------------------------------------------------------------------
+Fri Aug 12 08:20:57 UTC 2016 - tittiatc...@gmail.com
+
+- Use an explicit number of ninja build processes (-j 4), to 
+  further reduce the memory used.
+
+-------------------------------------------------------------------
+Fri Aug  5 08:53:57 UTC 2016 - astie...@suse.com
+
+- Update to Chromium 52.0.2743.116:
+  * Security fixes (boo#992305):
+    + CVE-2016-5141: Address bar spoofing (boo#992314)
+    + CVE-2016-5142: Use-after-free in Blink (boo#992313)
+    + CVE-2016-5139: Heap overflow in pdfium (boo#992311)
+    + CVE-2016-5140: Heap overflow in pdfium (boo#992310)
+    + CVE-2016-5145: Same origin bypass for images in Blink
+                     (boo#992320)
+    + CVE-2016-5143: Parameter sanitization failure in DevTools
+                     (boo#992319)
+    + CVE-2016-5144: Parameter sanitization failure in DevTools
+                     (boo#992315)
+    + CVE-2016-5146: Various fixes from internal audits, fuzzing
+                     and other initiatives (boo#992309)
+
+-------------------------------------------------------------------
+Thu Jul 21 18:55:21 UTC 2016 - tittiatc...@gmail.com
+
+- Temporarily disable fix_network_api_crash.patch. Upstream has 
+  changed part of their code, so hopefully that resolved the issue
+
+-------------------------------------------------------------------
+Thu Jul 21 07:38:12 UTC 2016 - tittiatc...@gmail.com
+
+- Update to Chromium 52.0.2743.82
+  * Security fixes (boo#989901):
+    + CVE-2016-1706: Sandbox escape in PPAPI
+    + CVE-2016-1707: URL spoofing on iOS
+    + CVE-2016-1708: Use-after-free in Extensions
+    + CVE-2016-1709: Heap-buffer-overflow in sfntly
+    + CVE-2016-1710: Same-origin bypass in Blink
+    + CVE-2016-1711: Same-origin bypass in Blink
+    + CVE-2016-5127: Use-after-free in Blink
+    + CVE-2016-5128: Same-origin bypass in V8
+    + CVE-2016-5129: Memory corruption in V8
+    + CVE-2016-5130: URL spoofing
+    + CVE-2016-5131: Use-after-free in libxml
+    + CVE-2016-5132: Limited same-origin bypass in Service Workers
+    + CVE-2016-5133: Origin confusion in proxy authentication
+    + CVE-2016-5134: URL leakage via PAC script
+    + CVE-2016-5135: Content-Security-Policy bypass
+    + CVE-2016-5136: Use after free in extensions
+    + CVE-2016-5137: History sniffing with HSTS and CSP
+    + CVE-2016-1705: Various fixes from internal audits, fuzzing 
+                     and other initiatives
+
+-------------------------------------------------------------------
+Mon Jul 11 00:46 UTC 2016 - nick_levin...@yahoo.com
+
+- Clarification/correction to chromium-desktop-gnome and
+  chromium-desktop-kde software descriptions due to passwords
+  preservation reported by Chromium developer
+
+-------------------------------------------------------------------
+Fri Jun 24 06:39:52 UTC 2016 - tittiatc...@gmail.com
+
+- Update to Chromium 51.0.2704.106
+  * No changelog indicated
+
+-------------------------------------------------------------------
+Thu Jun 23 08:10:56 UTC 2016 - tittiatc...@gmail.com
+
+- Add gcc60-fixes.diff to resolve the crashes observed with 
+  chromium when compiled with GCC6
+
+-------------------------------------------------------------------
+Fri Jun 17 11:11:46 UTC 2016 - astie...@suse.com
+
+- Update to Chromium 51.0.2704.103
+  * Security fixes:
+  - CVE-2016-1704: Various fixes from internal audits, fuzzing and
+                   other initiatives (boo#985397)
+
+-------------------------------------------------------------------
+Tue Jun  7 12:15:02 UTC 2016 - tittiatc...@gmail.com
+
+- Update to Chromium 51.0.2704.84
+  * No further changelog
+
+-------------------------------------------------------------------
+Thu Jun  2 11:08:47 UTC 2016 - astie...@suse.com
+
+- Update to Chromium 51.0.2704.79 [boo#982719]
+  * Security fixes:
+    - CVE-2016-1696: Cross-origin bypass in Extension bindings
+    - CVE-2016-1697: Cross-origin bypass in Blink
+    - CVE-2016-1698: Information leak in Extension bindings
+    - CVE-2016-1699: Parameter sanitization failure in DevTools
+    - CVE-2016-1700: Use-after-free in Extensions
+    - CVE-2016-1701: Use-after-free in Autofill
+    - CVE-2016-1702: Out-of-bounds read in Skia
+    - CVE-2016-1703: Various fixes from internal audits, fuzzing
+                     and other initiatives.
+
+-------------------------------------------------------------------
+Thu May 26 04:09:46 UTC 2016 - tittiatc...@gmail.com
+
++++ 3024 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.2:Update/.chromium.5611.new/chromium.changes

New:
----
  _constraints
  arm-webrtc-fix.patch
  arm_use_right_compiler.patch
  chrome-wrapper
  chromium-46.0.2490.71-fix-missing-i18n_process_css_test.patch
  chromium-53.0.2785.113.tar.xz
  chromium-browser.desktop
  chromium-browser.sh
  chromium-browser.xml
  chromium-icons.tar.bz2
  chromium-last-commit-position-r0.patch
  chromium-master-prefs-path.patch
  chromium-more-codec-aliases.patch
  chromium-rpmlintrc
  chromium-sandbox-pie.patch
  chromium.changes
  chromium.default
  chromium.spec
  default_bookmarks.html
  exclude_ymp.diff
  fix_building_widevinecdm_with_chromium.patch
  fix_network_api_crash.patch
  gcc60-fixes.diff
  master_preferences

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

Other differences:
------------------
++++++ chromium.spec ++++++
#
# spec file for package chromium
#
# Copyright (c) 2016 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/
#


Name:           chromium
Version:        53.0.2785.113
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
## Start Patches
# 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
Patch2:         chromium-master-prefs-path.patch
# PATCH-FIX-UPSTREAM Add more charset aliases
Patch3:         chromium-more-codec-aliases.patch
# PATCH-FIX-OPENSUSE Compile the sandbox with -fPIE settings
Patch4:         chromium-sandbox-pie.patch
# PATCH-FIX-OPENSUSE 
chromium-46.0.2490.71-fix-missing-i18n_process_css_test.patch - file was removed
Patch5:         chromium-46.0.2490.71-fix-missing-i18n_process_css_test.patch
# PATCH-FIX-OPENSUSE fix_building_widevinecdm_with_chromium.patch - Enable 
WideVine plugin
Patch6:         fix_building_widevinecdm_with_chromium.patch
# PATCH-FIX-OPENSUSE fix_network_api_crash.patch - Fix crash in network API, 
e.g. when using chromecast extension
Patch7:         fix_network_api_crash.patch
# PATCH-FIX-OPENSUSE gcc60-fixes.diff - Fix crashes due to the GCC6 
optimizations
Patch8:         gcc60-fixes.diff
# archlinux arm enhancement patches
Patch100:       arm-webrtc-fix.patch
Patch101:       arm_use_right_compiler.patch
# GN buildsystem related patches
Patch200:       chromium-last-commit-position-r0.patch

BuildRequires:  alsa-devel
BuildRequires:  binutils-gold
BuildRequires:  bison
BuildRequires:  cups-devel
BuildRequires:  dbus-1-devel
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  flac-devel
BuildRequires:  flex
BuildRequires:  freetype2-devel
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  gperf
BuildRequires:  harfbuzz-devel
BuildRequires:  hicolor-icon-theme
BuildRequires:  hunspell-devel
BuildRequires:  krb5-devel
BuildRequires:  libbz2-devel
BuildRequires:  libelf-devel
BuildRequires:  libevent-devel
BuildRequires:  libexpat-devel
BuildRequires:  libpulse-devel
BuildRequires:  libwebp-devel
BuildRequires:  python-xml
BuildRequires:  snappy-devel
BuildRequires:  update-desktop-files
BuildRequires:  zlib-devel
BuildRequires:  pkgconfig(libffi)
Requires(pre):  permissions
BuildRequires:  SDL-devel
BuildRequires:  dirac-devel >= 1.0.0
BuildRequires:  libcap-devel
BuildRequires:  libdc1394
BuildRequires:  libdc1394-devel
BuildRequires:  libdrm-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  libgnome-keyring-devel
BuildRequires:  libgsm
BuildRequires:  libgsm-devel
BuildRequires:  libjack-devel
BuildRequires:  libogg-devel
BuildRequires:  liboil-devel >= 0.3.15
BuildRequires:  libopenssl-devel
BuildRequires:  libtheora-devel >= 1.1
BuildRequires:  libvdpau-devel
BuildRequires:  libvorbis-devel
BuildRequires:  libvpx-devel
BuildRequires:  ncurses-devel
BuildRequires:  ninja
BuildRequires:  pam-devel
BuildRequires:  pciutils-devel
BuildRequires:  pkg-config
BuildRequires:  python
BuildRequires:  python-devel
BuildRequires:  schroedinger-devel
BuildRequires:  slang-devel
BuildRequires:  texinfo
BuildRequires:  util-linux
BuildRequires:  valgrind-devel
BuildRequires:  wdiff
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(gtk+-3.0)
BuildRequires:  pkgconfig(libcrypto)
BuildRequires:  pkgconfig(libexif)
BuildRequires:  pkgconfig(libudev)
BuildRequires:  pkgconfig(libxslt)
BuildRequires:  pkgconfig(nspr) >= 4.9.5
BuildRequires:  pkgconfig(nss) >= 3.14
BuildRequires:  pkgconfig(sqlite3)
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)
Requires:       alsa
Requires:       ffmpegsumo
Requires:       hicolor-icon-theme
Requires:       update-alternatives
Requires:       xdg-utils
Requires(pre):  permissions
# Recommends the chromium-ffmpeg library (available from packman)
Recommends:     %{name}-ffmpeg
Conflicts:      otherproviders(chromium-browser)
Provides:       chromium-based-browser = %{version}
Provides:       chromium-browser = %{version}
Provides:       browser(npapi)
Obsoletes:      %{name}-suid-helper < %{version}
Obsoletes:      chromium-browser < %{version}
Provides:       %{name}-suid-helper = %{version}
ExclusiveArch:  %{ix86} x86_64 %arm
#Requirements to build a fully functional ffmpeg
# This can only be done on packman OBS
%if 0%{?packman_bs}
BuildRequires:  libfaac-devel >= 1.28
BuildRequires:  libmp3lame-devel
BuildRequires:  libopencore-amr-devel
BuildRequires:  libx264-devel
BuildRequires:  libxvidcore-devel
%endif

#Define the maximum number of build processes to prevent running out of memory
%ifarch %arm
%define ninjaproc 2
%else
%define ninjaproc 4
%endif

%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 partial ffmpeg support to Chromium
License:        BSD-3-Clause and LGPL-2.1+
Group:          Productivity/Networking/Web/Browsers
Requires:       %{name}
Conflicts:      otherproviders(ffmpegsumo)
Conflicts:      %{name}-ffmpeg
Provides:       ffmpegsumo = %{version}

%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
Requires(post): chromium = %{version}
Conflicts:      otherproviders(chromium-password)
Provides:       chromium-password = %{version}
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 && 0%{?is_opensuse}
Supplements:    packageand(chromium:plasma5-session)
%else
Supplements:    packageand(chromium:kdebase4-session)
%endif

%description desktop-kde
By using the openSUSE update-alternatives the password store for Chromium is 
changed to utilize KDE's kwallet. If access to passwords stored via Chromium 
(3-dot menu > Settings > Show advanced settings > Passwords and forms > Manage 
passwords) or using KDE's KWallet presents a problem, see 
<https://bugs.chromium.org/p/chromium/issues/detail?id=620360#c3>.

%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
Requires:       libgnome
Requires(post): chromium = %{version}
Supplements:    packageand(chromium:gnome-session)
Conflicts:      otherproviders(chromium-password)
Provides:       chromium-password = %{version}

%description desktop-gnome
By using the openSUSE update-alternatives the password store for Chromium is 
changed to utilize Gnome's Keyring. If access to passwords stored via Chromium 
(3-dot menu > Settings > Show advanced settings > Passwords and forms > Manage 
passwords) or using Gnome's Keyring presents a problem, see 
<https://bugs.chromium.org/p/chromium/issues/detail?id=620360#c3>.

%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 library for Google's opens source browser Chromium
License:        BSD-3-Clause and LGPL-2.1+
Group:          Productivity/Networking/Web/Browsers
Requires:       %{name}
Conflicts:      otherproviders(ffmpegsumo)
Provides:       ffmpegsumo = %{version}

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

%prep
%setup -q

#GN Buildsystem fixes
%patch200 -p1

#Standard patches
%patch1
%patch2
%patch3
%patch4
%patch5 -p1
%patch6 -p1
%patch7
%if 0%{?suse_version} > 1320
%patch8
%endif

# archlinux arm enhancements
%patch100
%patch101 -p0

%build

# Create the configuration for GN
myconf_gn+=" is_debug=false"
myconf_gn+=" enable_nacl=false"
myconf_gn+=" proprietary_codecs=true"
myconf_gn+=" is_component_ffmpeg=true"
myconf_gn+=" use_cups=true"
myconf_gn+=" use_gconf=true"
myconf_gn+=" use_gtk3=true"
myconf_gn+=" use_kerberos=true"
myconf_gn+=" use_pulseaudio=true"
myconf_gn+=" is_clang=false"
myconf_gn+=" use_sysroot=false"
myconf_gn+=" treat_warnings_as_errors=false"
myconf_gn+=" fatal_linker_warnings=false"
myconf_gn+=" use_allocator=\"none\""
myconf_gn+=" enable_widevine=true"
myconf_gn+=" fieldtrial_testing_like_official_build=true"

# Define the Chrome branding in order to get libffmpeg on packman that supports 
all codecs
%if 0%{?packman_bs}
myconf_gn+=" ffmpeg_branding=\"Chrome\""
%endif

%ifarch %arm
myconf_gn+=" target_cpu =\"arm\""
myconf_gn+=" target_sysroot_dir=\"\""
myconf_gn+=" arm_use_neon=false"
myconf_gn+=" arm_optionally_use_neon=false"
myconf_gn+=" arm_use_thumb=true"
myconf_gn+=" remove_webcore_debug_symbols=true"
myconf_gn+=" symbol_level = 0"
myconf_gn+=" is_component_build = true"
%endif

# 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.

google_api_key="AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q"
google_default_client_id="4139804441.apps.googleusercontent.com"
google_default_client_secret="KDTRKEZk2jwT_7CDpcmMA--P"

myconf_gn+=" google_api_key=\"${google_api_key}\""
myconf_gn+=" google_default_client_id=\"${google_default_client_id}\""
myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\""

third_party/libaddressinput/chromium/tools/update-strings.py

if [ ! -f chrome/test/data/webui/i18n_process_css_test.html ]; then 
   touch chrome/test/data/webui/i18n_process_css_test.html
fi

tools/gn/bootstrap/bootstrap.py -v --gn-gen-args "${myconf_gn}"
out/Release/gn gen --args="${myconf_gn}" out/Release

%if 0%{?packman_bs}
    ninja -C out/Release third_party/ffmpeg
%else
    ninja -j %{ninjaproc}  -C out/Release chrome

    # Build the required SUID_SANDBOX helper
    ninja -j %{ninjaproc} -C out/Release chrome_sandbox

    # Build the ChromeDriver test suite
    ninja -j %{ninjaproc} -C out/Release chromedriver
%endif

%install
mkdir -p %{buildroot}%{_libdir}/chromium
%if 0%{?packman_bs}
        pushd out/Release
        cp -av libffmpeg.so %{buildroot}%{_libdir}/chromium/
        popd
%else
        %ifarch x86_64
        mkdir -p %{buildroot}%{_libexecdir}/
        %endif
        install -m 755 %{SOURCE100} 
%{buildroot}%{_libdir}/chromium/chromium-generic

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

        #update the password-store settings for each alternative
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315 && 0%{?is_opensuse}
        sed "s|password-store=detect|password-store=kwallet5|g" 
%{buildroot}%{_libdir}/chromium/chromium-generic > 
%{buildroot}%{_libdir}/chromium/chromium-kde
%else
        sed "s|password-store=detect|password-store=kwallet|g" 
%{buildroot}%{_libdir}/chromium/chromium-generic > 
%{buildroot}%{_libdir}/chromium/chromium-kde
%endif
        sed "s|password-store=detect|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 %{_sysconfdir}/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 %{_prefix}/lib
        cp -a chrome_sandbox %{buildroot}%{_libexecdir}/
        ln -s -f %{_libexecdir}/chrome_sandbox 
%{buildroot}/%{_libdir}/chromium/chrome-sandbox

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

        # chromium components
%ifarch %arm
        cp -a lib*.so %{buildroot}%{_libdir}/chromium/
%else
        cp -av libffmpeg.so %{buildroot}%{_libdir}/chromium/
%endif

        # 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
        %fdupes %{buildroot}%{_mandir}/man1/

        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 %{_sysconfdir}/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

%if !0%{?packman_bs}
%pre
if [ -f %{_bindir}/chromium -a ! -L %{_bindir}/chromium ] ; then
    rm -f %{_bindir}/chromium
fi
%verifyscript
%verify_permissions -e %{_libexecdir}/chrome_sandbox

%post
%icon_theme_cache_post
%desktop_database_post
update-alternatives --install %{_bindir}/chromium chromium 
%{_libdir}/chromium/chromium-generic 10
%set_permissions %{_libexecdir}/chrome_sandbox
/sbin/ldconfig %{_libdir}/chromium

%postun
%icon_theme_cache_postun
%desktop_database_postun
if [ $1 -eq 0 ]; then
    update-alternatives --remove chromium %{_libdir}/chromium/chromium-generic
fi
/sbin/ldconfig %{_libdir}/chromium

%post desktop-kde
update-alternatives --install %{_bindir}/chromium chromium 
%{_libdir}/chromium/chromium-kde 15

%preun desktop-kde
if [ $1 -eq 0 ]; then
    update-alternatives --remove chromium %{_libdir}/chromium/chromium-kde
fi

%post desktop-gnome
update-alternatives --install %{_bindir}/chromium chromium 
%{_libdir}/chromium/chromium-gnome 15

%postun desktop-gnome
if [ $1 -eq 0 ]; then
    update-alternatives --remove chromium %{_libdir}/chromium/chromium-gnome
fi
%endif

# Files!

%if 0%{?packman_bs}

%post ffmpeg
/sbin/ldconfig %{_libdir}/chromium

%postun ffmpeg
/sbin/ldconfig %{_libdir}/chromium

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

%else
%files
%defattr(-,root,root,-)
%verify(not mode) %{_libexecdir}/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/
%{_libexecdir}/chrome_sandbox
%exclude %{_libdir}/chromium/libffmpeg.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/libffmpeg.so

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

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

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

%changelog
++++++ 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;
++++++ arm_use_right_compiler.patch ++++++
--- build/toolchain/linux/BUILD.gn        2016-08-25 12:19:55.634174140 +0200
+++ build/toolchain/linux/BUILD.gn        2016-08-25 12:19:55.634174140 +0200
@@ -8,17 +8,17 @@
 clang_toolchain("clang_arm") {
   toolchain_cpu = "arm"
   toolchain_os = "linux"
-  toolprefix = "arm-linux-gnueabihf-"
+  toolprefix = ""
 }
 
 clang_toolchain("clang_arm64") {
   toolchain_cpu = "arm64"
   toolchain_os = "linux"
-  toolprefix = "aarch64-linux-gnu-"
+  toolprefix = ""
 }
 
 gcc_toolchain("arm") {
-  toolprefix = "arm-linux-gnueabihf-"
+  toolprefix = ""
 
   cc = "${toolprefix}gcc"
   cxx = "${toolprefix}g++"


++++++ 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-46.0.2490.71-fix-missing-i18n_process_css_test.patch ++++++
Index: chromium-46.0.2490.71/chrome/test/data/webui_test_resources.grd
===================================================================
--- chromium-46.0.2490.71.orig/chrome/test/data/webui_test_resources.grd        
2015-10-07 04:42:10.000000000 +0200
+++ chromium-46.0.2490.71/chrome/test/data/webui_test_resources.grd     
2015-10-15 10:18:05.063915885 +0200
@@ -8,7 +8,6 @@
   </outputs>
   <release seq="1">
     <includes>
-      <include name="IDR_WEBUI_TEST_I18N_PROCESS_CSS_TEST" 
file="webui/i18n_process_css_test.html" flattenhtml="true" 
allowexternalscript="true" type="BINDATA" />
     </includes>
   </release>
 </grit>
++++++ 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 <f...@sofaraway.org>
# 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=detect" "--enable-threaded-compositing" "$@"
fi

++++++ chromium-last-commit-position-r0.patch ++++++
--- a/tools/gn/gn_main.cc       2015-11-12 11:49:56.260549036 +0000
+++ b/tools/gn/gn_main.cc       2015-11-12 11:50:14.780931485 +0000
@@ -12,13 +12,7 @@
 #include "tools/gn/standard_out.h"
 #include "tools/gn/switches.h"
 
-// Only the GN-generated build makes this header for now.
-// TODO(brettw) consider adding this if we need it in GYP.
-#if defined(GN_BUILD)
-#include "tools/gn/last_commit_position.h"
-#else
 #define LAST_COMMIT_POSITION "UNKNOWN"
-#endif
 
 namespace {
 
--- a/tools/gn/BUILD.gn 2015-11-12 11:50:43.513524769 +0000
+++ b/tools/gn/BUILD.gn 2015-11-12 11:50:57.697817632 +0000
@@ -263,7 +263,6 @@
 
   deps = [
     ":gn_lib",
-    ":last_commit_position",
     "//base",
     "//build/config/sanitizers:deps",
     "//build/win:default_exe_manifest",

++++++ 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/BUILD.gn      2016-08-03 06:31:07.000000000 +0200
+++ sandbox/linux/BUILD.gn      2016-08-03 06:31:07.000000000 +0200
@@ -297,12 +297,17 @@

     cflags = [
       # For ULLONG_MAX
-      "-std=gnu99",
+      "-std=gnu99",
+      "-fPIE",

       # These files have a suspicious comparison.
       # TODO fix this and re-enable this warning.
       "-Wno-sign-compare",
     ]
+
+    ldflags = [
+      "-pie",
+    ]

     import("//build/config/compiler/compiler.gni")
     import("//build/config/sanitizers/sanitizers.gni")
@@ -313,7 +317,7 @@
       # other flags that executable_config might have.
       configs -= [ "//build/config:executable_config" ]
       if (!use_gold) {
-        ldflags = [ "-Wl,--disable-new-dtags" ]
+        ldflags += [ "-Wl,--disable-new-dtags" ]
       }
     }


++++++ 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 ++++++
--- components/mime_util/mime_util.cc   2013-08-25 10:12:05.428599992 +0200
+++ components/mime_util/mime_util.cc   2013-08-25 10:12:05.428599992 +0200
@@ -79,6 +79,7 @@
     "text/x-csv",
     "text/x-vcf",
     "text/rtf",
+    "text/x-suse-ymp",
     "text/comma-separated-values",
     "text/csv",
     "text/tab-separated-values",
++++++ fix_building_widevinecdm_with_chromium.patch ++++++
--- 
chromium-48.0.2564.82.orig/third_party/widevine/cdm/stub/widevine_cdm_version.h 
    2016-01-14 01:05:17.000000000 +0200
+++ chromium-48.0.2564.82/third_party/widevine/cdm/stub/widevine_cdm_version.h  
2016-01-21 19:18:51.287978456 +0200
@@ -12,4 +12,6 @@
 
 #define WIDEVINE_CDM_AVAILABLE
 
+#define WIDEVINE_CDM_VERSION_STRING "@WIDEVINE_VERSION@"
+
 #endif  // WIDEVINE_CDM_VERSION_H_
++++++ fix_network_api_crash.patch ++++++
Index: extensions/browser/api/networking_private/networking_private_linux.cc
===================================================================
--- extensions/browser/api/networking_private/networking_private_linux.cc.orig  
2016-05-05 03:01:50.000000000 +0200
+++ extensions/browser/api/networking_private/networking_private_linux.cc       
2016-05-10 16:16:42.431052917 +0200
@@ -215,12 +215,14 @@ void NetworkingPrivateLinux::GetState(
   std::unique_ptr<base::DictionaryValue> network_properties(
       new base::DictionaryValue);
 
+  std::string* erp = error.get();
+  base::DictionaryValue* npp = network_properties.get();
   // Runs GetCachedNetworkProperties on |dbus_thread|.
   dbus_thread_.task_runner()->PostTaskAndReply(
       FROM_HERE, 
base::Bind(&NetworkingPrivateLinux::GetCachedNetworkProperties,
                             base::Unretained(this), guid,
-                            base::Unretained(network_properties.get()),
-                            base::Unretained(error.get())),
+                            base::Unretained(npp),
+                            base::Unretained(erp)),
       base::Bind(&GetCachedNetworkPropertiesCallback, base::Passed(&error),
                  base::Passed(&network_properties), success_callback,
                  failure_callback));
@@ -301,11 +303,12 @@ void NetworkingPrivateLinux::GetNetworks
 
   // Runs GetAllWiFiAccessPoints on the dbus_thread and returns the
   // results back to OnAccessPointsFound where the callback is fired.
+  NetworkMap* nmp = network_map.get();
   dbus_thread_.task_runner()->PostTaskAndReply(
       FROM_HERE,
       base::Bind(&NetworkingPrivateLinux::GetAllWiFiAccessPoints,
                  base::Unretained(this), configured_only, visible_only, limit,
-                 base::Unretained(network_map.get())),
+                 base::Unretained(nmp)),
       base::Bind(&NetworkingPrivateLinux::OnAccessPointsFound,
                  base::Unretained(this), base::Passed(&network_map),
                  success_callback, failure_callback));
@@ -321,11 +324,12 @@ bool NetworkingPrivateLinux::GetNetworks
   // Runs GetAllWiFiAccessPoints on the dbus_thread and returns the
   // results back to SendNetworkListChangedEvent to fire the event. No
   // callbacks are used in this case.
+  NetworkMap* nmp = network_map.get();
   dbus_thread_.task_runner()->PostTaskAndReply(
       FROM_HERE, base::Bind(&NetworkingPrivateLinux::GetAllWiFiAccessPoints,
                             base::Unretained(this), false /* configured_only 
*/,
                             false /* visible_only */, 0 /* limit */,
-                            base::Unretained(network_map.get())),
+                            base::Unretained(nmp)),
       base::Bind(&NetworkingPrivateLinux::OnAccessPointsFoundViaScan,
                  base::Unretained(this), base::Passed(&network_map)));
 
@@ -506,11 +510,12 @@ void NetworkingPrivateLinux::StartConnec
 
   std::unique_ptr<std::string> error(new std::string);
 
+  std::string* erp = error.get();
   // Runs ConnectToNetwork on |dbus_thread|.
   dbus_thread_.task_runner()->PostTaskAndReply(
       FROM_HERE,
       base::Bind(&NetworkingPrivateLinux::ConnectToNetwork,
-                 base::Unretained(this), guid, base::Unretained(error.get())),
+                 base::Unretained(this), guid, base::Unretained(erp)),
       base::Bind(&OnNetworkConnectOperationCompleted, base::Passed(&error),
                  success_callback, failure_callback));
 }
@@ -524,11 +529,12 @@ void NetworkingPrivateLinux::StartDiscon
 
   std::unique_ptr<std::string> error(new std::string);
 
+  std::string* erp = error.get();
   // Runs DisconnectFromNetwork on |dbus_thread|.
   dbus_thread_.task_runner()->PostTaskAndReply(
       FROM_HERE,
       base::Bind(&NetworkingPrivateLinux::DisconnectFromNetwork,
-                 base::Unretained(this), guid, base::Unretained(error.get())),
+                 base::Unretained(this), guid, base::Unretained(erp)),
       base::Bind(&OnNetworkConnectOperationCompleted, base::Passed(&error),
                  success_callback, failure_callback));
 }
++++++ gcc60-fixes.diff ++++++
--- build/config/compiler/BUILD.gn    2016-08-14 09:59:05.527738286 +0200
+++ build/config/compiler/BUILD.gn    2016-08-14 09:59:56.340463935 +0200
@@ -389,6 +389,7 @@
     # TODO(thakis): Eventually switch this to c++11 instead,
     # http://crbug.com/427584
     cflags_cc += [ "-std=gnu++11" ]
+    cflags_cc += [ "-fno-delete-null-pointer-checks" ]
   } else if (!is_win && !is_nacl) {
     # TODO(mcgrathr) - the NaCl GCC toolchain doesn't support either gnu++11
     # or c++11; we technically don't need this toolchain any more, but there

++++++ 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": [
     "https://www.opensuse.org/searchPage/";,
     "http://tools.google.com/chrome/intl/en/welcome.html";
  ],
  "homepage": "https://www.opensuse.org/searchPage/";,
  "homepage_is_newtabpage": false
}

Reply via email to