svn commit: r514602 - head/converters/pdf2djvu/files

Piotr Kubaj pkubaj at FreeBSD.org
Wed Oct 16 15:35:59 UTC 2019


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 at 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>


More information about the svn-ports-head mailing list