[Pkg-electronics-devel] Bug#1134115: gtkwave: Fail to build on Hurd (strptime)
Petter Reinholdtsen
pere at hungry.com
Thu Apr 16 18:15:26 BST 2026
Package: gtkwave
Version: 3.3.126-1
Tags: patch
The source code currently fail to build on Hurd. This patch fix the
problem:
--- gtkwave-3.3.126.orig/src/savefile.c
+++ gtkwave-3.3.126/src/savefile.c
@@ -16,7 +16,7 @@
#include <sys/stat.h>
#endif
-#ifdef __linux__
+#if defined( __linux__ ) || defined(__gnu_hurd__)
#ifndef _XOPEN_SOURCE
char *strptime(const char *s, const char *format, struct tm *tm);
#endif
--
Happy hacking
Petter Reinholdtsen
More information about the Pkg-electronics-devel
mailing list