Files
macports-ports/R/R-RProtoBuf/files/patch-cxx11.diff

9 lines
361 B
Diff

--- src/Makevars.in 2022-11-01 20:38:37.000000000 +0700
+++ src/Makevars.in 2023-09-28 23:37:12.000000000 +0700
@@ -6,4 +6,5 @@
## Configure tells us about locations for ## both Rcpp (ie libRcpp.so and Rcpp.h) and
## ProtoBuf headers and library via these variables
PKG_CPPFLAGS=@PKG_CPPFLAGS@
+PKG_CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
PKG_LIBS=@PKG_LIBS@