svn commit: r507773 - head/www/ot-recorder/files

Dan Langille dvl at FreeBSD.org
Thu Aug 1 14:32:42 UTC 2019


Author: dvl
Date: Thu Aug  1 14:32:41 2019
New Revision: 507773
URL: https://svnweb.freebsd.org/changeset/ports/507773

Log:
  Patch broken build on i386
  
  * http://beefy10.nyi.freebsd.org/data/112i386-default/507745/logs/ot-recorder-0.8.4_1.log
  
  Issue reported upstream and patch obtained from there:
  
   * https://github.com/owntracks/recorder/issues/314

Added:
  head/www/ot-recorder/files/patch-misc.c   (contents, props changed)

Added: head/www/ot-recorder/files/patch-misc.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/ot-recorder/files/patch-misc.c	Thu Aug  1 14:32:41 2019	(r507773)
@@ -0,0 +1,12 @@
+--- misc.c.orig	2019-08-01 13:54:47 UTC
++++ misc.c
+@@ -62,7 +62,8 @@ void monitorhook(struct udata *userdata, time_t now, c
+ 	static UT_string *us = NULL;
+ 
+ 	utstring_renew(us);
+-	utstring_printf(us, "%ld %s\n", now, topic);
++	utstring_printf(us, "%ld %s\n", (long)now, topic);
++
+ 
+ 	snprintf(mpath, sizeof(mpath), "%s/monitor", STORAGEDIR);
+ 	safewrite(mpath, UB(us));


More information about the svn-ports-head mailing list