glibc/glibc-2.14-crypt-versioning.diff

33 lines
845 B
Diff
Raw Normal View History

Index: glibc-2.17/Versions.def
===================================================================
--- glibc-2.17.orig/Versions.def
+++ glibc-2.17/Versions.def
@@ -42,6 +42,7 @@ libc {
}
libcrypt {
GLIBC_2.0
+ OW_CRYPT_1.0
}
libdl {
GLIBC_2.0
Index: glibc-2.17/crypt/Versions
===================================================================
--- glibc-2.17.orig/crypt/Versions
+++ glibc-2.17/crypt/Versions
@@ -1,6 +1,15 @@
+%define SHARED
+%define IS_IN_libcrypt 1
+%include <shlib-compat.h>
+
libcrypt {
GLIBC_2.0 {
crypt; crypt_r; encrypt; encrypt_r; fcrypt; setkey; setkey_r;
+%if SHLIB_COMPAT (libcrypt, GLIBC_2_0, GLIBC_2_14)
+ crypt_rn; crypt_ra; crypt_gensalt; crypt_gensalt_rn; crypt_gensalt_ra;
+%endif
+ }
+ OW_CRYPT_1.0 {
crypt_rn; crypt_ra; crypt_gensalt; crypt_gensalt_rn; crypt_gensalt_ra;
}
}