master hovercats/oakiss / pkg / unzip / patch / 0030-Drop-conflicting-declarations-of-gmtime-and-localtim.patch
 1From 7fb1835d3ec1654edd2b1b88575cc9eedb1b0f03 Mon Sep 17 00:00:00 2001
 2From: Santiago Vila <sanvila@debian.org>
 3Date: Mon, 28 Apr 2025 12:57:34 -0700
 4Subject: [PATCH] Drop conflicting declarations of gmtime() and localtime()
 5
 6---
 7 unix/unxcfg.h | 2 +-
 8 1 file changed, 1 insertion(+), 1 deletion(-)
 9
10diff --git a/unix/unxcfg.h b/unix/unxcfg.h
11index c98c3b9..a3ad576 100644
12--- a/unix/unxcfg.h
13+++ b/unix/unxcfg.h
14@@ -118,7 +118,7 @@ typedef struct stat z_stat;
15 #  endif
16 #else
17 #  include <time.h>
18-   struct tm *gmtime(), *localtime();
19+/*   struct tm *gmtime(), *localtime(); */
20 #endif
21 
22 #if (defined(BSD4_4) || (defined(SYSV) && defined(MODERN)))
23-- 
242.45.2
25