~xdavidwu/apkbuilds

a4f83d124a6ab383d3f0780aba54da5abf8d1058 — xdavidwu 2 years ago 83dd378
mongodb: add patch for missing header
2 files changed, 17 insertions(+), 3 deletions(-)

M mongodb/APKBUILD
A mongodb/include_optional.patch
M mongodb/APKBUILD => mongodb/APKBUILD +7 -3
@@ 1,7 1,7 @@
# Maintainer: Mikael Jenkler <info@jenkler.se>
pkgname=mongodb
pkgver=4.2.9
pkgrel=1
pkgrel=2
pkgdesc="A high-performance, open source, schema-free document-oriented database"
url="http://www.mongodb.org"
arch="x86_64"


@@ 10,6 10,7 @@ license='SSPL-1.0'
makedepends="asio-dev boost-dev curl-dev cyrus-sasl-dev libpcap-dev openssl-dev pcre-dev
	py3-cheetah py3-psutil py3-setuptools py3-yaml snappy-dev libstemmer-dev scons yaml-cpp-dev zlib-dev"
source="http://downloads.mongodb.org/src/mongodb-src-r$pkgver.tar.gz
	include_optional.patch
	fix-backtrace.patch
	fix-default-stacksize.patch
	fix-elf-native-class.patch


@@ 44,7 45,9 @@ package() {
	install -Dm755 build/opt/mongo/mongod "$pkgdir/usr/bin/mongod"
}

sha512sums="ce577bb5598619894ef90dd063db51780b4b452c9c9458f247e9188b4f04d6b2f3972900cce4ea977ce656a022d7e7ad964cb3bd67e4e17f6cf08841b6f610ec  mongodb-src-r4.2.9.tar.gz
sha512sums="
ce577bb5598619894ef90dd063db51780b4b452c9c9458f247e9188b4f04d6b2f3972900cce4ea977ce656a022d7e7ad964cb3bd67e4e17f6cf08841b6f610ec  mongodb-src-r4.2.9.tar.gz
de3bcb268906f62bcce22bbd9f0c4258cd0bcf8005956da177e55dde925ac7268cafc725160855af7f7b7b86c8f07b592db6427cbf479e55e8253987bbe86eaf  include_optional.patch
4d75d452db6a2e175573cda398dfc0709997b0925a50ab202c806dc6ff795f54c7376bf25f2a455344e80c5bba5439bf3bee0af02c54c81039b1a68acbdffb0a  fix-backtrace.patch
23f5b74715f41ff0998f07ad207e773b6fb06e375fe558fb812bc009e01367fbfd8a91391e2d1749d3bd4b9dc430ad3cdcd47163aadb6eb100869d3c9ef4a029  fix-default-stacksize.patch
bb314e320825bc70a77db5a9ae07848fd1cec46edb41e8d94ce1effb0e5e0115636755a484924356c15d60f0e623c4b34197ef759accf9d156bcd2d11dbf5d61  fix-elf-native-class.patch


@@ 53,4 56,5 @@ adb8f5af63ca02194b54106b658acf4543362be29f63a5ec74a7fb717cbfe3e58df3e04617420b22
6570ac58293501d7d15e035f1cb11b641ea7aa524aab749e91b70acb2cad44b1516028dadbca090d157156e496bd8266455e5929109bb502e830b22dabf1b518  fix-processinfo_linux.patch
ecee715dc51c485081fd216e1bb8f54d2632519b352781ca5f0a1d715864733fecf17da6603cccf01c3cabbce135051e7931116fc418d5a315dc8f592a31350c  fix-resolv.patch
ef2b0e0e0f46c688dd487075ebfb294caa114af0ad291a31eb30768eab50aa6c93ce9741ee0f60412375ff7ae6db04c40163252270386a12aabe7f9b375e6e0d  fix-strerror_r.patch
ecbe6cb579b33dd4888096712f150772db06fd38219ca2a7679b1dc1ee73b0c3f5ee498af12ecd0265b5231a9fe6b7c12b2c1d606ed04caa6aa00c3ad3fe925a  fix-wiredtiger.patch"
ecbe6cb579b33dd4888096712f150772db06fd38219ca2a7679b1dc1ee73b0c3f5ee498af12ecd0265b5231a9fe6b7c12b2c1d606ed04caa6aa00c3ad3fe925a  fix-wiredtiger.patch
"

A mongodb/include_optional.patch => mongodb/include_optional.patch +10 -0
@@ 0,0 1,10 @@
--- plan_stats.orig.h	2021-05-03 21:32:31.309222261 -0700
+++ plan_stats.h	2021-05-03 20:16:17.854204705 -0700
@@ -33,6 +33,7 @@
 #include <cstdlib>
 #include <string>
 #include <vector>
+#include <optional>
 
 #include "mongo/db/index/multikey_paths.h"
 #include "mongo/db/jsobj.h"