A new user interface for you! Read more...

File fix-implicit-fortify-decl.patch of Package swipl

diff -Nur swipl-7.4.1/packages/xpce/src/unx/process.c new/packages/xpce/src/unx/process.c
--- swipl-7.4.1/packages/xpce/src/unx/process.c	2017-02-09 17:09:04.000000000 +0100
+++ new/packages/xpce/src/unx/process.c	2017-03-16 18:56:13.667146338 +0100
@@ -33,7 +33,8 @@
 */
 
 #if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
-#define _XOPEN_SOURCE			/* GNU glibc grantpt() prototypes */
+#define _XOPEN_SOURCE 500/* GNU glibc grantpt() prototypes */
+#include <stdlib.h> /* ptsname */
 #endif
 #include <h/kernel.h>