slackware-current/source/x/x11/patch/xdm/xdm-1.1.11-arc4random-include.patch
Patrick J Volkerding 3795d8d3c2 Tue Mar 5 22:54:06 UTC 2019
a/hwdata-0.321-noarch-1.txz:  Upgraded.
a/kernel-generic-4.19.27-x86_64-1.txz:  Upgraded.
a/kernel-huge-4.19.27-x86_64-1.txz:  Upgraded.
a/kernel-modules-4.19.27-x86_64-1.txz:  Upgraded.
d/kernel-headers-4.19.27-x86-1.txz:  Upgraded.
k/kernel-source-4.19.27-noarch-1.txz:  Upgraded.
l/M2Crypto-0.32.0-x86_64-1.txz:  Upgraded.
l/imagemagick-6.9.10_32-x86_64-1.txz:  Upgraded.
n/dovecot-2.3.5-x86_64-1.txz:  Upgraded.
x/xdm-1.1.11-x86_64-9.txz:  Rebuilt.
  Reverted to xdm-1.1.11, as the new release after 7 years has some issues.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2019-03-06 08:59:47 +01:00

18 lines
360 B
Diff

diff -ur a/xdm/genauth.c b/xdm/genauth.c
--- a/xdm/genauth.c 2011-09-25 09:35:47.000000000 +0200
+++ b/xdm/genauth.c 2014-01-06 16:28:09.664060603 +0100
@@ -40,6 +40,14 @@
#include <errno.h>
+#ifdef HAVE_ARC4RANDOM
+# ifdef __linux__
+# include <bsd/stdlib.h>
+# else
+# include <stdlib.h>
+# endif
+#endif
+
#include <time.h>
#define Time_t time_t