1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11-toolkits/xg/files/patch-ab
Steve Price 205a5d395b Initial import of xg version 1.0.
Windows(tm) controls - like widget set for Motif(tm).

PR:		8950
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
1998-12-23 01:19:33 +00:00

23 lines
487 B
Plaintext

--- 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