Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2019 15:48:59 +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: r514339 - head/textproc/R-cran-readxl/files
Message-ID:  <201910121548.x9CFmxIB007843@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Oct 12 15:48:59 2019
New Revision: 514339
URL: https://svnweb.freebsd.org/changeset/ports/514339

Log:
  textproc/R-cran-readxl: fix build on GCC architectures
  
  Include sys/types.h in src/ColSpec.h to fix build with GCC:
  /usr/include/unistd.h:327:26: error: 'uid_t' has not been declared
  
  PR:		240796
  Approved by:	linimon (mentor), dbn (maintainer timeout)

Added:
  head/textproc/R-cran-readxl/files/
  head/textproc/R-cran-readxl/files/patch-src_ColSpec.h   (contents, props changed)

Added: head/textproc/R-cran-readxl/files/patch-src_ColSpec.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/R-cran-readxl/files/patch-src_ColSpec.h	Sat Oct 12 15:48:59 2019	(r514339)
@@ -0,0 +1,10 @@
+--- src/ColSpec.h.orig	2019-09-24 16:05:20 UTC
++++ src/ColSpec.h
+@@ -1,6 +1,7 @@
+ #ifndef READXL_COLSPEC_
+ #define READXL_COLSPEC_
+ 
++#include <sys/types.h>
+ #include <Rcpp.h>
+ #include <libxls/xls.h>
+ #include "StringSet.h"



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