File hanterm-xf-incompatible-pointer-types.patch of Package hanterm-xf

Index: hanterm-xf-2.0.5-173/main.c
===================================================================
--- hanterm-xf-2.0.5-173.orig/main.c
+++ hanterm-xf-2.0.5-173/main.c
@@ -3881,7 +3881,7 @@ spawn(void)
 		(void) strncpy(lastlog.ll_host,
 			       XDisplayString(screen->display),
 			       sizeof(lastlog.ll_host));
-		time(&lastlog.ll_time);
+		time((time_t*)(&lastlog.ll_time));
 		lseek(i, (long) (screen->uid * sizeof(struct lastlog)), 0);
 		write(i, (char *) &lastlog, sizeof(struct lastlog));
 		close(i);
openSUSE Build Service is sponsored by