svn commit: r514339 - head/textproc/R-cran-readxl/files
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Oct 12 15:49:00 UTC 2019
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"
More information about the svn-ports-head
mailing list