aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-02-27 06:06:50 +0100
committerHelmut Grohne <helmut@subdivi.de>2020-02-27 06:06:50 +0100
commit14ec9fdc1e937c9775ef3b72afa5f1520b6534e2 (patch)
treedea80fcf958f0908498350c47767290888aeffa9
parentacfc9ee0aa2ead071df107ae2d9990b422738bd0 (diff)
update libxcrypt symbols for nios2 #952650
-rwxr-xr-xbootstrap.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 6b09c4b..5b80607 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1518,6 +1518,25 @@ buildenv_libx11() {
add_automatic libxau
add_automatic libxaw
add_automatic libxcb
+
+patch_libxcrypt() {
+ if test "$HOST_ARCH" = nios2; then
+ echo "update symbols for nios2 #952650"
+ drop_privs tee debian/libcrypt1.symbols.nios2 >/dev/null <<'EOF'
+libcrypt.so.1 libcrypt1 #MINVER#
+#include "libcrypt1.symbols.common"
+ GLIBC_2.21@GLIBC_2.21 1:4.1.0
+ crypt@GLIBC_2.21 1:4.1.0
+ crypt_r@GLIBC_2.21 1:4.1.0
+ encrypt@GLIBC_2.21 1:4.1.0
+ encrypt_r@GLIBC_2.21 1:4.1.0
+ fcrypt@GLIBC_2.21 1:4.1.0
+ setkey@GLIBC_2.21 1:4.1.0
+ setkey_r@GLIBC_2.21 1:4.1.0
+EOF
+ fi
+}
+
add_automatic libxdmcp
add_automatic libxext