forked from pool/glibc
Andreas Schwab
b00251b108
- Fix crypt ABI for aarch64 OBS-URL: https://build.opensuse.org/request/show/157240 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=277
34 lines
859 B
Diff
34 lines
859 B
Diff
Index: glibc-2.17/Versions.def
|
|
===================================================================
|
|
--- glibc-2.17.orig/Versions.def
|
|
+++ glibc-2.17/Versions.def
|
|
@@ -42,6 +42,8 @@ libc {
|
|
}
|
|
libcrypt {
|
|
GLIBC_2.0
|
|
+ GLIBC_2.14
|
|
+ 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;
|
|
}
|
|
}
|