aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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