Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2019 14:32:42 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507773 - head/www/ot-recorder/files
Message-ID:  <201908011432.x71EWgqq041240@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908011432.x71EWgqq041240>