summaryrefslogtreecommitdiff
path: root/lang/rexx-regina/files/patch-builtin.c
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-08-29 18:37:40 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-08-29 18:37:40 +0000
commitf1e794db90ee2873a3aebd4dec19e104401fe8ec (patch)
tree8fd463b0cc0d533c931e5e0aaf68fb8a32370b08 /lang/rexx-regina/files/patch-builtin.c
parentwww/nextcloud: Fix USE_PHP=openssl snafu (diff)
lang/rexx-regina: 3.8.2 -> 3.9.1
- submitter becomes maintainer - Makefile tidied, and passes portlint -C - rc.d file corrected; now passes rclint - port now installs documentation (PDF), not previously included - added DOCS option, controlling installation of above - files in /usr/local/share now in directories that actually match the name of the port PR: 212242 Submitted by: bob@eager.cx
Notes
Notes: svn path=/head/; revision=421087
Diffstat (limited to 'lang/rexx-regina/files/patch-builtin.c')
-rw-r--r--lang/rexx-regina/files/patch-builtin.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/rexx-regina/files/patch-builtin.c b/lang/rexx-regina/files/patch-builtin.c
new file mode 100644
index 000000000000..40c2d9925bc8
--- /dev/null
+++ b/lang/rexx-regina/files/patch-builtin.c
@@ -0,0 +1,29 @@
+--- builtin.c.orig 2015-03-31 04:38:58 UTC
++++ builtin.c
+@@ -1039,7 +1039,7 @@ streng *std_time( tsd_t *TSD, cparamboxp
+ break ;
+
+ case 'L':
+- answer->len = sprintf(answer->value, "%02d:%02d:%02d.%06ld", tmdata.tm_hour, tmdata.tm_min, tmdata.tm_sec, unow );
++ answer->len = sprintf(answer->value, "%02d:%02d:%02d.%06ld", tmdata.tm_hour, tmdata.tm_min, tmdata.tm_sec, (long) unow );
+ break ;
+
+ case 'M':
+@@ -1068,7 +1068,7 @@ streng *std_time( tsd_t *TSD, cparamboxp
+
+ case 'T':
+ rnow = mktime( &tmdata );
+- answer->len = sprintf(answer->value, "%ld", rnow );
++ answer->len = sprintf(answer->value, "%ld", (long) rnow );
+ break ;
+
+ default:
+@@ -1308,7 +1308,7 @@ streng *std_date( tsd_t *TSD, cparamboxp
+ case 'T':
+ tmdata.tm_year -= 1900;
+ rnow = mktime( &tmdata );
+- answer->len = sprintf(answer->value, "%ld", rnow );
++ answer->len = sprintf(answer->value, "%ld", (long) rnow );
+ break ;
+
+ case 'U':