File python-grpcio-disable-boring-ssl.patch of Package python-grpcio

From aa7b7b84c59dda419bf2aa7bca601ca415977e37 Mon Sep 17 00:00:00 2001
From: Seppo Yli-Olli <seppo.yliolli@gmail.com>
Date: Wed, 21 Oct 2020 08:38:19 +0300
Subject: [PATCH] Make enabling system ssl disable boring ssl

---
 setup.py | 1 +
 1 file changed, 1 insertion(+)

Index: grpcio-1.48.0/setup.py
===================================================================
--- grpcio-1.48.0.orig/setup.py
+++ grpcio-1.48.0/setup.py
@@ -291,6 +291,7 @@ if BUILD_WITH_SYSTEM_OPENSSL:
                           CORE_C_FILES)
     CORE_C_FILES = filter(lambda x: 'src/boringssl' not in x, CORE_C_FILES)
     SSL_INCLUDE = (os.path.join('/usr', 'include', 'openssl'),)
+    BUILD_WITH_BORING_SSL_ASM = False
 
 if BUILD_WITH_SYSTEM_ZLIB:
     CORE_C_FILES = filter(lambda x: 'third_party/zlib' not in x, CORE_C_FILES)
openSUSE Build Service is sponsored by