Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2019 18:00:47 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500602 - head/devel/gearmand-devel/files
Message-ID:  <201905011800.x41I0lJb050368@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed May  1 18:00:46 2019
New Revision: 500602
URL: https://svnweb.freebsd.org/changeset/ports/500602

Log:
  devel/gearmand-devel: fix build with GCC-based architectures
  
  libtest/timer.hpp needs to include stdint.h for uint64.
  
  ./libtest/timer.hpp:55:36: error: 'int64_t' has not been declared
    void offset(int64_t minutes_arg, int64_t seconds_arg, int64_t nanoseconds);
                                     ^~~~~~~
  
  PR:		237153
  Approved by:	bdrewery (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20114

Added:
  head/devel/gearmand-devel/files/patch-libtest_timer.hpp   (contents, props changed)

Added: head/devel/gearmand-devel/files/patch-libtest_timer.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gearmand-devel/files/patch-libtest_timer.hpp	Wed May  1 18:00:46 2019	(r500602)
@@ -0,0 +1,12 @@
+--- libtest/timer.hpp.orig	2019-04-09 09:38:58 UTC
++++ libtest/timer.hpp
+@@ -39,6 +39,9 @@
+ #include <cstdlib>
+ #include <ctime>
+ #include <iostream>
++#ifdef __FreeBSD__
++#include <stdint.h>
++#endif
+ 
+ 
+ namespace libtest {



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