pkgsrc-Changes archive

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

CVS commit: pkgsrc/cad/openscad



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Apr 28 08:09:07 UTC 2024

Modified Files:
        pkgsrc/cad/openscad: distinfo
Added Files:
        pkgsrc/cad/openscad/patches: patch-src_FileModule.cc

Log Message:
(cad/openscad) Fix build against boost 1.85.0, add one line patch

Confirmed on NetBSD/amd64 9.3 at least


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/cad/openscad/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/cad/openscad/patches/patch-src_FileModule.cc

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

Modified files:

Index: pkgsrc/cad/openscad/distinfo
diff -u pkgsrc/cad/openscad/distinfo:1.14 pkgsrc/cad/openscad/distinfo:1.15
--- pkgsrc/cad/openscad/distinfo:1.14   Tue Oct 26 10:04:14 2021
+++ pkgsrc/cad/openscad/distinfo        Sun Apr 28 08:09:07 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 10:04:14 nia Exp $
+$NetBSD: distinfo,v 1.15 2024/04/28 08:09:07 mef Exp $
 
 BLAKE2s (openscad-2021.01.tar.gz) = dc3d5a762d8b334fcdefc41d3c15a3b01023ce93ed4b2bae2f9d13c5100c7918
 SHA512 (openscad-2021.01.tar.gz) = 2dac2d9c2fdbb720bc2e56f66849a75abe10ee646f918c53dadf33d57a30f3c605a536483bd97410d715309064ac99330ce15657440e4d66b426635dfab6a32b
@@ -6,5 +6,6 @@ Size (openscad-2021.01.tar.gz) = 1565680
 SHA1 (patch-features_qscintilla2-priv.prf) = ca5d5735d091441d6daf7535802f5ba7362c808c
 SHA1 (patch-openscad.pro) = 55e97368d2fdd77c8a4773699cfffdaccd65d63f
 SHA1 (patch-scripts_translation-update.sh) = 24929df617e450558934e46b1711f241945da7eb
+SHA1 (patch-src_FileModule.cc) = c3e2d7a711fe28eb701bc84a6413daa8bd8dfff6
 SHA1 (patch-src_colormap.h) = d218a17ac71e0178d32b79723b532c9f098bc038
 SHA1 (patch-src_scintillaeditor.h) = 47d2cde8d7349a23770c549e5df9b219678825e9

Added files:

Index: pkgsrc/cad/openscad/patches/patch-src_FileModule.cc
diff -u /dev/null pkgsrc/cad/openscad/patches/patch-src_FileModule.cc:1.1
--- /dev/null   Sun Apr 28 08:09:07 2024
+++ pkgsrc/cad/openscad/patches/patch-src_FileModule.cc Sun Apr 28 08:09:07 2024
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_FileModule.cc,v 1.1 2024/04/28 08:09:07 mef Exp $
+
+
+boost-1.85 deleted api
+
+--- objects/src/FileModule.o ---
+src/FileModule.cc: In member function 'void FileModule::registerUse(std::__cxx11::string, const Location&)':
+src/FileModule.cc:68:11: error: 'is_regular' is not a member of 'fs'
+   if (fs::is_regular(path)) {
+           ^~~~~~~~~~
+src/FileModule.cc:68:11: note: suggested alternative: 'is_regular_file'
+   if (fs::is_regular(path)) {
+           ^~~~~~~~~~
+           is_regular_file
+
+--- src/FileModule.cc.orig     2021-02-01 02:41:09.000000000 +0900
++++ src/FileModule.cc  2024-04-28 16:54:35.694333460 +0900
+@@ -65,7 +65,7 @@ void FileModule::registerUse(const std::
+       auto ext = fs::path(path).extension().generic_string();
+ 
+       if (boost::iequals(ext, ".otf") || boost::iequals(ext, ".ttf")) {
+-              if (fs::is_regular(path)) {
++              if (fs::is_regular_file(path)) {
+                       FontCache::instance()->register_font_file(path);
+               } else {
+                       LOG(message_group::Error,Location::NONE,"","Can't read font with path '%1$s'",path);



Home | Main Index | Thread Index | Old Index