Update required for build on trixie - I knew there was weirdness

somewhere!
This commit is contained in:
Hibby 2024-11-29 19:56:04 +00:00
parent 7690eb8f59
commit 37bacc3178
No known key found for this signature in database
2 changed files with 41 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
linbpq (6.0.24.51.1+repack-1~hibbian+2) bookworm-hibbian-unstable; urgency=medium
* Iron out an issue with time...
-- Dave Hibberd <hibby@debian.org> Fri, 29 Nov 2024 19:57:28 +0000
linbpq (6.0.24.51.1+repack-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
* New upstream import after bug report

View File

@ -20,3 +20,38 @@
int AGWDataSocket_Disconnect( struct AGWSocketConnectionInfo * sockptr);
int SendRawPacket(struct AGWSocketConnectionInfo * sockptr, char *txmsg, int Length);
int ShowApps();
--- a/bpqmail.h
+++ b/bpqmail.h
@@ -502,7 +502,7 @@
char CMSPass[16]; // For Secure Signon
int WebSeqNo;
- long long TimeLastConnected; //Last connection date */
+ time_t TimeLastConnected; //Last connection date */
char Filler[44 - 8]; // So we can add a few fields wirhout another resize
};
@@ -643,9 +643,9 @@
// For 64 bit time_t compatibility define as long long
// (so struct is same with 32 or 64 bit time_t)
- long long datereceived;
- long long datecreated;
- long long datechanged;
+ time_t datereceived;
+ time_t datecreated;
+ time_t datechanged;
char Spare[61 - 24]; // For future use
} ;
@@ -695,8 +695,8 @@
unsigned char Type;
unsigned char changed;
unsigned short seen;
- long long last_modif;
- long long last_seen;
+ time_t last_modif;
+ time_t last_seen;
char first_homebbs[41];
char secnd_homebbs[41];
char first_zip[9];