pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openscad: Patch needed for latest boost version
Module Name: pkgsrc-wip
Committed By: Paul Ripke <stix%stix.id.au@localhost>
Pushed By: stix
Date: Sat Aug 10 15:40:50 2024 +1000
Changeset: bb1ea616451249f67c2f1584ba6eb28d001232d7
Modified Files:
openscad/COMMIT_MSG
openscad/distinfo
Added Files:
openscad/patches/patch-src_FileModule.cc
Log Message:
openscad: Patch needed for latest boost version
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bb1ea616451249f67c2f1584ba6eb28d001232d7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openscad/COMMIT_MSG | 2 +-
openscad/distinfo | 1 +
openscad/patches/patch-src_FileModule.cc | 15 +++++++++++++++
3 files changed, 17 insertions(+), 1 deletion(-)
diffs:
diff --git a/openscad/COMMIT_MSG b/openscad/COMMIT_MSG
index bedf7abc4a..4392f2e9be 100644
--- a/openscad/COMMIT_MSG
+++ b/openscad/COMMIT_MSG
@@ -1 +1 @@
-Patch to support CGAL-5 and later.
+cad/openscad: Patch to support CGAL-5 and later.
diff --git a/openscad/distinfo b/openscad/distinfo
index 32f78f5361..95aa29b4d4 100644
--- a/openscad/distinfo
+++ b/openscad/distinfo
@@ -6,6 +6,7 @@ Size (openscad-2021.01.tar.gz) = 15656800 bytes
SHA1 (patch-features_qscintilla2-priv.prf) = ca5d5735d091441d6daf7535802f5ba7362c808c
SHA1 (patch-openscad.pro) = 55e97368d2fdd77c8a4773699cfffdaccd65d63f
SHA1 (patch-scripts_translation-update.sh) = 24929df617e450558934e46b1711f241945da7eb
+SHA1 (patch-src_FileModule.cc) = cfaedae9342de7ce70888f6d8c224e6cd774cdc1
SHA1 (patch-src_cgalutils-polyhedron.cc) = b775822c0cb921a196a7dd4356f19e8f30631bbf
SHA1 (patch-src_cgalutils-tess.cc) = b6571d63159e222fbcbfc89bc05984264304bfb7
SHA1 (patch-src_colormap.h) = d218a17ac71e0178d32b79723b532c9f098bc038
diff --git a/openscad/patches/patch-src_FileModule.cc b/openscad/patches/patch-src_FileModule.cc
new file mode 100644
index 0000000000..99786ab76f
--- /dev/null
+++ b/openscad/patches/patch-src_FileModule.cc
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix for new boost version.
+
+--- src/FileModule.cc.orig 2024-07-04 04:00:45.934748369 +0000
++++ src/FileModule.cc
+@@ -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