From 73549d60ba17396a64ab5c7c7bdd9e4f63323d32 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 08 2020 11:33:01 +0000 Subject: Apply patch glibc-rh1748197-3.patch patch_name: glibc-rh1748197-3.patch present_in_specfile: true location_in_specfile: 341 --- diff --git a/rt/clock-compat.c b/rt/clock-compat.c index f816973..11e71aa 100644 --- a/rt/clock-compat.c +++ b/rt/clock-compat.c @@ -30,14 +30,16 @@ #if HAVE_IFUNC # undef INIT_ARCH # define INIT_ARCH() -# define COMPAT_REDIRECT(name, proto, arglist) libc_ifunc (name, &__##name) +# define COMPAT_REDIRECT(name, proto, arglist) libc_ifunc (name, &__##name) \ + compat_symbol (librt, name, name, GLIBC_2_2); #else # define COMPAT_REDIRECT(name, proto, arglist) \ int \ name proto \ { \ return __##name arglist; \ - } + } \ + compat_symbol (librt, name, name, GLIBC_2_2); #endif COMPAT_REDIRECT (clock_getres,