Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package boringssl for openSUSE:Factory 
checked in at 2022-05-06 18:59:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/boringssl (Old)
 and      /work/SRC/openSUSE:Factory/.boringssl.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "boringssl"

Fri May  6 18:59:48 2022 rev:12 rq:975340 version:20200921

Changes:
--------
--- /work/SRC/openSUSE:Factory/boringssl/boringssl.changes      2021-05-25 
21:07:49.959107836 +0200
+++ /work/SRC/openSUSE:Factory/.boringssl.new.1538/boringssl.changes    
2022-05-06 19:00:11.777412749 +0200
@@ -1,0 +2,6 @@
+Wed May  4 10:55:00 UTC 2022 - Andreas Schwab <sch...@suse.de>
+
+- 0001-Compile-for-RISC-V.patch: add support for RISC-V
+- enable build on riscv64
+
+-------------------------------------------------------------------

New:
----
  0001-Compile-for-RISC-V.patch

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

Other differences:
------------------
++++++ boringssl.spec ++++++
--- /var/tmp/diff_new_pack.yKS4Fo/_old  2022-05-06 19:00:12.437413470 +0200
+++ /var/tmp/diff_new_pack.yKS4Fo/_new  2022-05-06 19:00:12.441413474 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package boringssl
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 Patch1:         0003-enable-s390x-builds.patch
 Patch2:         0004-fix-alignment-for-ppc64le.patch
 Patch3:         0005-fix-alignment-for-arm.patch
+Patch4:         0001-Compile-for-RISC-V.patch
 BuildRequires:  cmake >= 3.0
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -38,7 +39,7 @@
 BuildRequires:  libunwind-devel
 BuildRequires:  ninja
 BuildRequires:  patchelf
-ExclusiveArch:  %{ix86} x86_64 aarch64 s390x ppc64le %arm
+ExclusiveArch:  %{ix86} x86_64 aarch64 s390x ppc64le %arm riscv64
 
 %description
 BoringSSL is an implementation of the Secure Sockets Layer (SSL) and
@@ -76,6 +77,9 @@
 
 %build
 %cmake \
+%ifarch riscv64
+  -DOPENSSL_NO_ASM=1 \
+%endif
   -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now"
 %cmake_build
 

++++++ 0001-Compile-for-RISC-V.patch ++++++
>From 565226278d6b863672bb5c3f24197d8bb6e58b50 Mon Sep 17 00:00:00 2001
From: Adam Langley <a...@google.com>
Date: Thu, 25 Feb 2021 14:58:53 -0800
Subject: [PATCH] Compile for RISC-V.

Change-Id: I85f0364b83440469c0d15c32dd96607be31fc1b7
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/45904
Commit-Queue: Adam Langley <a...@google.com>
Commit-Queue: David Benjamin <david...@google.com>
Reviewed-by: David Benjamin <david...@google.com>
---
 include/openssl/base.h | 4 ++++
 1 file changed, 4 insertions(+)

Index: boringssl-20200921/src/include/openssl/base.h
===================================================================
--- boringssl-20200921.orig/src/include/openssl/base.h
+++ boringssl-20200921/src/include/openssl/base.h
@@ -108,6 +108,10 @@ extern "C" {
 #elif defined(__mips__) && defined(__LP64__)
 #define OPENSSL_64_BIT
 #define OPENSSL_MIPS64
+#elif defined(__riscv) && __SIZEOF_POINTER__ == 8
+#define OPENSSL_64_BIT
+#elif defined(__riscv) && __SIZEOF_POINTER__ == 4
+#define OPENSSL_32_BIT
 #elif defined(__pnacl__)
 #define OPENSSL_32_BIT
 #define OPENSSL_PNACL

Reply via email to