svn commit: r500602 - head/devel/gearmand-devel/files

Piotr Kubaj pkubaj at FreeBSD.org
Wed May 1 18:00:47 UTC 2019


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 {


More information about the svn-ports-all mailing list