1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-toolkits/xg/files/patch-ab

23 lines
487 B
Plaintext
Raw Normal View History

--- src/TimeEntry.c Fri Mar 14 21:50:04 1997
+++ /home/andy/tmp/wrk/src/TimeEntry.c Wed Dec 2 22:29:36 1998
@@ -1549,7 +1549,9 @@
{
struct tm ts;
long time_value;
+#ifndef __FreeBSD__
extern long timezone;
+#endif
ts.tm_mon = te->timeentry.month_value - 1;
ts.tm_mday = te->timeentry.day_value;
@@ -1574,7 +1576,9 @@
*/
if ( te->timeentry.use_timezone == False )
{
+#ifndef __FreeBSD__
time_value -= timezone;
+#endif
/*
* Adjust for Daylight Savings Time