[packages/mongo-c-driver] fix for php extension segfault when mongodb, openssl extensions are loaded

glen glen at pld-linux.org
Thu Apr 12 22:13:17 CEST 2018


commit c058afb2332ee0938eb61275ca3e0f3f6683a09a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Apr 12 23:08:24 2018 +0300

    fix for php extension segfault when mongodb, openssl extensions are loaded
    
    https://github.com/mongodb/mongo-php-driver/issues/789
    https://github.com/mongodb/mongo-c-driver/pull/490

 mongo-c-driver.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/mongo-c-driver.spec b/mongo-c-driver.spec
index ecfbfa2..9600fff 100644
--- a/mongo-c-driver.spec
+++ b/mongo-c-driver.spec
@@ -13,12 +13,14 @@
 Summary:	Client library written in C for MongoDB
 Name:		mongo-c-driver
 Version:	1.9.3
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Libraries
 Source0:	https://github.com/mongodb/mongo-c-driver/releases/download/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	39adfe23511051c1509890e17a219d8e
 Patch0:		%{name}-rpm.patch
+Patch1:		https://github.com/mongodb/mongo-c-driver/pull/490.patch
+# Patch1-md5:	5d81ac5717da1cb9752837ae40ab0a28
 URL:		https://github.com/mongodb/mongo-c-driver
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -68,6 +70,7 @@ Documentation: http://api.mongodb.org/c/%{version}/
 %prep
 %setup -q -n %{name}-%{version}%{?prever:-dev}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal} -I build/autotools -I build/autotools/m4
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mongo-c-driver.git/commitdiff/c058afb2332ee0938eb61275ca3e0f3f6683a09a



More information about the pld-cvs-commit mailing list