slackware-current/source/n/yptools/ypbind-mt.gettid.diff
Patrick J Volkerding 5ff08990e9 Tue Sep 10 21:28:36 UTC 2019
a/glibc-solibs-2.30-x86_64-1.txz:  Upgraded.
a/kernel-firmware-20190909_6c6918a-noarch-1.txz:  Upgraded.
a/kernel-generic-4.19.72-x86_64-1.txz:  Upgraded.
a/kernel-huge-4.19.72-x86_64-1.txz:  Upgraded.
a/kernel-modules-4.19.72-x86_64-1.txz:  Upgraded.
d/kernel-headers-4.19.72-x86-1.txz:  Upgraded.
k/kernel-source-4.19.72-noarch-1.txz:  Upgraded.
l/gdk-pixbuf2-2.38.2-x86_64-1.txz:  Upgraded.
l/glibc-2.30-x86_64-1.txz:  Upgraded.
l/glibc-i18n-2.30-x86_64-1.txz:  Upgraded.
l/glibc-profile-2.30-x86_64-1.txz:  Upgraded.
n/libmilter-8.15.2-x86_64-3.txz:  Rebuilt.
  Use gethostbyname2() since RES_USE_INET6 is removed in glibc-2.30.
n/libqmi-1.22.6-x86_64-1.txz:  Upgraded.
n/postfix-3.4.6-x86_64-2.txz:  Rebuilt.
  Patched to fix removed macros in glibc-2.30.
n/yptools-2.14-x86_64-12.txz:  Rebuilt.
  Patched ypbind-mt for gettid() included in glibc-2.30.
xap/blackbox-0.75-x86_64-1.txz:  Upgraded.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2019-09-11 08:59:49 +02:00

22 lines
386 B
Diff

--- ./src/log_msg.c.orig 2011-08-31 08:13:22.000000000 -0500
+++ ./src/log_msg.c 2019-08-20 12:44:45.474253136 -0500
@@ -30,19 +30,6 @@
#include "log_msg.h"
#include <sys/syscall.h>
-#ifdef __NR_gettid
-static pid_t
-gettid (void)
-{
- return syscall (__NR_gettid);
-}
-#else
-pid_t
-gettid (void)
-{
- return getpid ();
-}
-#endif
int debug_flag = 0;
int logfile_flag = 0;