From 78d88ce6fe373de3abe356f93fa750e42aa5538f Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 15 2020 07:39:09 +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,