summaryrefslogtreecommitdiff
path: root/deskutils/gnomeutils2/files/patch-ah
blob: ba467beaa5a6f95ef9c50590d4e6612bae6019a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- logview/actions.c.orig	Wed Apr 26 22:32:02 2000
+++ logview/actions.c	Tue May 30 13:34:05 2000
@@ -1,6 +1,7 @@
 #include "logview.h"
 #include <string.h>
 #include <stdlib.h>
+#include <sys/types.h>
 #include <regex.h>
 #include <config.h>
 #include <gnome.h>
--- logview/desc_db.c.orig	Wed Apr 26 22:32:02 2000
+++ logview/desc_db.c	Tue May 30 13:34:36 2000
@@ -1,5 +1,6 @@
 #include "logview.h"
 #include <string.h>
+#include <sys/types.h>
 #include <regex.h>
 #include <stdlib.h>
 
--- logview/logrtns.c.orig	Tue May 30 13:35:22 2000
+++ logview/logrtns.c	Tue May 30 13:37:45 2000
@@ -679,7 +679,7 @@
       if (IsLeapYear (curmark->year - lastyear + thisyear))
 	 curmark->time += 24 * 60 * 60;		/*  Add one day */
 
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__FreeBSD__)
       curmark->time += correction - tmptm->tm_gmtoff;
 #else
       curmark->time += correction - timezone;
@@ -705,7 +705,7 @@
    if (IsLeapYear (thisyear))
       log->lstats.enddate += 24 * 60 * 60;	/*  Add one day */
 
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__FreeBSD__)
    log->lstats.enddate += correction - tmptm->tm_gmtoff;
 #else
    log->lstats.enddate += correction - timezone;
@@ -716,7 +716,7 @@
    if (IsLeapYear (thisyear - lastyear))
       log->lstats.startdate += 24 * 60 * 60;	/*  Add one day */
 
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__FreeBSD__)
    log->lstats.startdate += correction - tmptm->tm_gmtoff;
 #else
    log->lstats.startdate += correction - timezone;