diff --git a/chromium-45.0.2454.101-fix-boringssl-posix.patch b/chromium-45.0.2454.101-fix-boringssl-posix.patch new file mode 100644 index 0000000..77ae6df --- /dev/null +++ b/chromium-45.0.2454.101-fix-boringssl-posix.patch @@ -0,0 +1,36 @@ +From 241364c6f4d44165ce2dc707b9ad141dcc880d1b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 27 Jun 2015 13:29:52 -0700 +Subject: [PATCH] Demand for newer POSIX macro + +Reason for change: Define _POSIX_C_SOURCE such that it demands correct +posix interfaces, netdb.h declares interfaces such as +getaddrinfo if __USE_POSIX, i.e. POSIX.1:1990 or later. +However, these interfaces were new in the 2001 edition of POSIX +therefore ask for Extension from POSIX.1:2001 since we use addrinfo +structure here. + +Change-Id: Icb1c92745d1a0ca958108ae80c270c630628729e +Signed-off-by: Khem Raj +Reviewed-on: https://boringssl-review.googlesource.com/5253 +Reviewed-by: Adam Langley +--- + crypto/bio/socket_helper.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/crypto/bio/socket_helper.c b/crypto/bio/socket_helper.c +index b1cdd1a..481278f 100644 +--- a/crypto/bio/socket_helper.c ++++ b/crypto/bio/socket_helper.c +@@ -12,7 +12,7 @@ + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + +-#define _POSIX_SOURCE ++#define _POSIX_C_SOURCE 200112L + + #include + #include +-- +2.5.0 + diff --git a/chromium.spec b/chromium.spec index 064138e..d38c8a8 100644 --- a/chromium.spec +++ b/chromium.spec @@ -1,6 +1,6 @@ Name: chromium Epoch: 3 -Version: 44.0.2403.155 +Version: 45.0.2454.101 Release: 1mamba 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 @@ -34,6 +34,7 @@ Patch16: chromium-34.0.1847.118-disable_depot_tools.patch Patch17: chromium-34.0.1847.137-glib-2.40.patch 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 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libGConf-devel @@ -178,12 +179,16 @@ Chromium is an open-source browser project that aims to build a safer, faster, a %endif %endif #%patch13 -p1 -%patch14 -p1 +#%patch14 -p1 #%patch15 -p1 #%patch16 -p2 #%patch17 -p1 #%patch18 -p2 %patch19 -p1 +( +cd third_party/boringssl/src/ +%patch20 -p1 +) # Download NaCL toolchains python build/download_nacl_toolchains.py \ @@ -442,6 +447,9 @@ fi %{_mandir}/man1/chromium.1* %changelog +* Thu Oct 08 2015 Automatic Build System 45.0.2454.101-1mamba +- automatic version update by autodist + * Thu Aug 13 2015 Automatic Build System 44.0.2403.155-1mamba - automatic version update by autodist