pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/R-sf



Module Name:    pkgsrc
Committed By:   mef
Date:           Tue Jun 23 14:52:57 UTC 2026

Modified Files:
        pkgsrc/geography/R-sf: Makefile

Log Message:
(geography/R-sf) Fix Build on NetBSD/9.4, GCC_REQD+= 8

Following part can not be handled by gcc-7.5

/usr/include/g++/bits/unique_ptr.h:263:17:   required from 'std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = GDALRasterAttributeTable; _Dp = std::default_delete<GDALRasterAttributeTable>]'

/tmp/geography/R-sf/work/.buildlink/include/gdal_multidim.h:199:55:   required from here
/usr/include/g++/bits/unique_ptr.h:76:22: error: invalid application of 'sizeof' to incomplete type 'GDALRasterAttributeTable'
  static_assert(sizeof(_Tp)>0,


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/geography/R-sf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/R-sf/Makefile
diff -u pkgsrc/geography/R-sf/Makefile:1.45 pkgsrc/geography/R-sf/Makefile:1.46
--- pkgsrc/geography/R-sf/Makefile:1.45 Sun Jun 21 10:49:32 2026
+++ pkgsrc/geography/R-sf/Makefile      Tue Jun 23 14:52:57 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2026/06/21 10:49:32 mef Exp $
+# $NetBSD: Makefile,v 1.46 2026/06/23 14:52:57 mef Exp $
 
 R_PKGNAME=     sf
 R_PKGVER=      1.1-1
@@ -10,6 +10,7 @@ LICENSE=      mit OR gnu-gpl-v2
 
 USE_LANGUAGES+=                c c++
 USE_CXX_FEATURES+=     c++11
+GCC_REQD+=             8
 
 DEPENDS+=      R-classInt>=0.4.1:../../math/R-classInt
 DEPENDS+=      R-magrittr>=2.0.3:../../devel/R-magrittr
@@ -44,4 +45,9 @@ TEST_DEPENDS+=        R-wk-[0-9]*:../../geograp
 .include "../../math/R/Makefile.extension"
 .include "../../devel/R-Rcpp/buildlink3.mk"
 .include "../../geography/gdal-lib/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../print/poppler/buildlink3.mk"
+.include "../../geography/libspatialite/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index