Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2019 15:35:58 +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: r514602 - head/converters/pdf2djvu/files
Message-ID:  <201910161535.x9GFZwSu009512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Oct 16 15:35:58 2019
New Revision: 514602
URL: https://svnweb.freebsd.org/changeset/ports/514602

Log:
  converters/pdf2djvu: fix build on GCC architectures
  
  When compiling with GCC, as used on GCC architectures, it errors with:
  sys-uuid.cc:96:12: error: 'strlen' was not declared in this scope
  
  assert(strlen(s) == 36U);
         ^~~~~~
  
  sys-uuid.cc:96:12: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  
  PR:		238780
  Approved by:	samy.mahmoudi@gmail.com (maintainer timeout), tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D22025

Added:
  head/converters/pdf2djvu/files/patch-sys-uuid.cc   (contents, props changed)

Added: head/converters/pdf2djvu/files/patch-sys-uuid.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/pdf2djvu/files/patch-sys-uuid.cc	Wed Oct 16 15:35:58 2019	(r514602)
@@ -0,0 +1,11 @@
+--- sys-uuid.cc.orig	2019-06-23 11:41:41 UTC
++++ sys-uuid.cc
+@@ -17,6 +17,8 @@
+ #include "autoconf.hh"
+ #include "system.hh"
+ 
++#include <cstring>
++
+ #if WIN32
+ 
+ #include <cassert>



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