summaryrefslogtreecommitdiffstats
path: root/comms/plp
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-02-20 20:59:20 +0000
committersteve <steve@FreeBSD.org>2000-02-20 20:59:20 +0000
commit252a44caff264293745336b8226090c7f61046c6 (patch)
treef15591f7ab25610d5b55254b05616863b67a4ebc /comms/plp
parent19202ded54c5199509849f998f21ca2cde478044 (diff)
downloadFreeBSD-ports-252a44caff264293745336b8226090c7f61046c6.zip
FreeBSD-ports-252a44caff264293745336b8226090c7f61046c6.tar.gz
The one and only argument to gmtime(3) is a time_t*. This fixes the build
problems on the Alpha.
Diffstat (limited to 'comms/plp')
-rw-r--r--comms/plp/files/patch-af11
-rw-r--r--comms/plp/files/patch-ag11
2 files changed, 22 insertions, 0 deletions
diff --git a/comms/plp/files/patch-af b/comms/plp/files/patch-af
new file mode 100644
index 0000000..e42b857
--- /dev/null
+++ b/comms/plp/files/patch-af
@@ -0,0 +1,11 @@
+--- rfsv/rfsv16.cc.orig Sat Feb 19 21:10:24 2000
++++ rfsv/rfsv16.cc Sat Feb 19 21:11:09 2000
+@@ -134,7 +134,7 @@
+ {
+ char dateBuff[100];
+ struct tm *t;
+- t = gmtime(&date);
++ t = gmtime((time_t *)&date);
+ strftime(dateBuff, 100, "%d/%m/%y %H:%M:%S", t);
+ cout << " " << dateBuff;
+ }
diff --git a/comms/plp/files/patch-ag b/comms/plp/files/patch-ag
new file mode 100644
index 0000000..b64ad518
--- /dev/null
+++ b/comms/plp/files/patch-ag
@@ -0,0 +1,11 @@
+--- rfsv/rfsv32.cc.orig Sat Feb 19 21:12:22 2000
++++ rfsv/rfsv32.cc Sat Feb 19 21:12:35 2000
+@@ -186,7 +186,7 @@
+ long date = us;
+ char dateBuff[100];
+ struct tm *t;
+- t = gmtime(&date);
++ t = gmtime((time_t *)&date);
+ strftime(dateBuff, 100, "%d/%m/%y %H:%M:%S", t);
+ cout << " " << dateBuff;
+ }
OpenPOWER on IntegriCloud