thunderbird/SOURCES/rhel6-auxv.patch

22 lines
936 B
Diff
Raw Normal View History

2021-04-14 13:39:31 +00:00
diff -up thunderbird-78.3.0/comm/third_party/botan/src/lib/utils/os_utils.cpp.auxv thunderbird-78.3.0/comm/third_party/botan/src/lib/utils/os_utils.cpp
--- thunderbird-78.3.0/comm/third_party/botan/src/lib/utils/os_utils.cpp.auxv 2020-09-25 17:23:50.810638756 +0200
+++ thunderbird-78.3.0/comm/third_party/botan/src/lib/utils/os_utils.cpp 2020-09-25 17:26:00.156999592 +0200
@@ -42,7 +42,7 @@
#if defined(BOTAN_TARGET_OS_HAS_GETAUXVAL) || defined(BOTAN_TARGET_OS_IS_ANDROID) || \
defined(BOTAN_TARGET_OS_HAS_ELF_AUX_INFO)
- #include <sys/auxv.h>
+ //#include <sys/auxv.h>
#endif
#if defined(BOTAN_TARGET_OS_HAS_WIN32)
@@ -109,7 +109,7 @@ uint32_t OS::get_process_id()
unsigned long OS::get_auxval(unsigned long id)
{
#if defined(BOTAN_TARGET_OS_HAS_GETAUXVAL)
- return ::getauxval(id);
+ //return ::getauxval(id);
#elif defined(BOTAN_TARGET_OS_IS_ANDROID) && defined(BOTAN_TARGET_ARCH_IS_ARM32)
if(id == 0)