summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch25
-rw-r--r--meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb4
2 files changed, 28 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch
new file mode 100644
index 0000000000..0a93411533
--- /dev/null
+++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-include-stdexcept-for-std-invalid_argument.patch
@@ -0,0 +1,25 @@
1From 3e97c9004f4ec58ca3696ee6298f91e6eeb76e04 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Dec 2019 14:46:25 -0800
4Subject: [PATCH] include <stdexcept> for std::invalid_argument
5
6Upstream-Status: Submitted [https://github.com/rmbreak/pam_ldapdb/pull/11]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 pam_ldapdb.cpp | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/pam_ldapdb.cpp b/pam_ldapdb.cpp
13index 9baf1e6..be5d85c 100644
14--- a/pam_ldapdb.cpp
15+++ b/pam_ldapdb.cpp
16@@ -1,5 +1,6 @@
17 #include <map>
18 #include <string>
19+#include <stdexcept>
20 #include <utility>
21 #include <syslog.h>
22 #include <pwd.h>
23--
242.24.1
25
diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb
index 6864cc3174..626b22fe48 100644
--- a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb
+++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb
@@ -11,7 +11,9 @@ inherit features_check
11REQUIRED_DISTRO_FEATURES = "pam" 11REQUIRED_DISTRO_FEATURES = "pam"
12 12
13SRCREV = "84d7b260f1ae6857ae36e014c9a5968e8aa1cbe8" 13SRCREV = "84d7b260f1ae6857ae36e014c9a5968e8aa1cbe8"
14SRC_URI = "git://github.com/rmbreak/pam_ldapdb" 14SRC_URI = "git://github.com/rmbreak/pam_ldapdb \
15 file://0001-include-stdexcept-for-std-invalid_argument.patch \
16"
15 17
16S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
17 19