added patch to fix startup problem with kernels >= 4.5 (https://bugzilla.redhat.com/show_bug.cgi?id=1361157) [release 53.0.2785.143-2mamba;Mon Oct 17 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 21:13:29 +01:00
parent d02550360c
commit f1cea397cc
3 changed files with 54 additions and 5 deletions

View File

@ -0,0 +1,14 @@
--- /chromium/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp 2016-08-03 21:02:37.000000000 +0200
+++ /chromium/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp 2016-08-14 10:59:51.395354850 +0200
@@ -41,6 +41,11 @@
#include <errno.h>
#include <sys/mman.h>
+#if OS(LINUX) && defined(MADV_FREE)
+// Added in Linux 4.5, but we don't want to depend on 4.5 at runtime
+#undef MADV_FREE
+#endif
+
#ifndef MADV_FREE
#define MADV_FREE MADV_DONTNEED
#endif

View File

@ -0,0 +1,12 @@
diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc
index 8bacfd7..b469a1c 100644
--- a/printing/backend/print_backend_cups.cc
+++ b/printing/backend/print_backend_cups.cc
@@ -4,6 +4,7 @@
#include "printing/backend/print_backend_cups.h"
+#include <cups/ppd.h>
#include <dlfcn.h>
#include <errno.h>
#include <pthread.h>

View File

@ -1,7 +1,7 @@
Name: chromium
Epoch: 3
Version: 52.0.2743.116
Release: 1mamba
Version: 53.0.2785.143
Release: 2mamba
Summary: An open-source browser project that aims to build a safer, faster, and more stable way to experience the web
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
@ -9,7 +9,8 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.chromium.org
# Note:
# we usually package the stable release. you may find the latest version number here: http://googlechromereleases.blogspot.it/"
# we usually package the stable release. you may find the latest version number here:
# http://googlechromereleases.blogspot.it/
# Find latest release starting here:
# http://gsdview.appspot.com/chromium-browser-official/?marker=chromium-21.0.1168.0.tar.bz
Source: http://gsdview.appspot.com/chromium-browser-official/chromium-%{version}.tar.xz
@ -36,7 +37,9 @@ Patch18: chromium-34.0.1847.137-gnome-keyring-3.12.patch
Patch19: chromium-37.0.2062.120-chrome-wrapper-pepper-flash.patch
Patch20: chromium-45.0.2454.101-fix-boringssl-posix.patch
Patch21: chromium-46.0.2490.86-buildfix.patch
Patch22: chromium-51.0.2704.106-PNGImageDecoder.patch
Patch22: chromium-51.0.2704.106-PNGImageDecoder.patch
Patch23: chromium-53.0.2785.16-cups-2.2.0.patch
Patch24: chromium-53.0.2785.143-undef_MADV_FREE.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libGConf-devel
@ -195,7 +198,9 @@ Chromium is an open-source browser project that aims to build a safer, faster, a
#%patch18 -p2
%patch19 -p1
%patch21 -p1
%patch22 -p1
#%patch22 -p1
%patch23 -p1
%patch24 -p2
#(
#cd third_party/boringssl/src/
#%patch20 -p1
@ -459,6 +464,24 @@ fi
%{_mandir}/man1/chromium.1*
%changelog
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 53.0.2785.143-2mamba
- added patch to fix startup problem with kernels >= 4.5 (https://bugzilla.redhat.com/show_bug.cgi?id=1361157)
* Sat Oct 01 2016 Automatic Build System <autodist@mambasoft.it> 53.0.2785.143-1mamba
- automatic version update by autodist
* Thu Sep 29 2016 Automatic Build System <autodist@mambasoft.it> 53.0.2785.116-1mamba
- automatic version update by autodist
* Fri Sep 09 2016 Automatic Build System <autodist@mambasoft.it> 53.0.2785.101-1mamba
- automatic version update by autodist
* Sat Sep 03 2016 Automatic Build System <autodist@mambasoft.it> 53.0.2785.92-1mamba
- automatic version update by autodist
* Fri Sep 02 2016 Automatic Build System <autodist@mambasoft.it> 53.0.2785.89-1mamba
- automatic version update by autodist
* Sun Aug 21 2016 Automatic Build System <autodist@mambasoft.it> 52.0.2743.116-1mamba
- automatic version update by autodist