openscad: Get rid of references to leaked builtins
This commit is contained in:
parent
903681b78e
commit
fb2205a6e1
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="The programmers solid 3D CAD modeller (headless build)"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2019.05
|
||||
TERMUX_PKG_REVISION=7
|
||||
TERMUX_PKG_REVISION=8
|
||||
TERMUX_PKG_SRCURL=https://files.openscad.org/openscad-$TERMUX_PKG_VERSION.src.tar.gz
|
||||
TERMUX_PKG_SHA256=0a16c4263ce52380819dd91c609a719d38f12f6b8c4da0e828dcbe5b70996f59
|
||||
TERMUX_PKG_DEPENDS="boost, cgal, double-conversion, fontconfig, harfbuzz, libzip"
|
||||
|
20
packages/openscad/src-openscad.cc.patch
Normal file
20
packages/openscad/src-openscad.cc.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- a/src/openscad.cc
|
||||
+++ b/src/openscad.cc
|
||||
@@ -262,7 +262,7 @@
|
||||
|
||||
if (exit_if_not_found) {
|
||||
PRINTB("Unknown color scheme '%s'. Valid schemes:", color_scheme);
|
||||
- PRINT(boost::join(ColorMap::inst()->colorSchemeNames(), "\n"));
|
||||
+ PRINT(boost::algorithm::join(ColorMap::inst()->colorSchemeNames(), "\n"));
|
||||
exit(1);
|
||||
} else {
|
||||
PRINTB("Unknown color scheme '%s', using default '%s'.", arg_colorscheme % ColorMap::inst()->defaultColorSchemeName());
|
||||
@@ -883,7 +883,7 @@
|
||||
("imgsize", po::value<string>(), "=width,height of exported png")
|
||||
("render", po::value<string>()->implicit_value(""), "for full geometry evaluation when exporting png")
|
||||
("preview", po::value<string>()->implicit_value(""), "[=throwntogether] -for ThrownTogether preview png")
|
||||
- ("view", po::value<CommaSeparatedVector>(), ("=view options: " + boost::join(viewOptions.names(), " | ")).c_str())
|
||||
+ ("view", po::value<CommaSeparatedVector>(), ("=view options: " + boost::algorithm::join(viewOptions.names(), " | ")).c_str())
|
||||
("projection", po::value<string>(), "=(o)rtho or (p)erspective when exporting png")
|
||||
("csglimit", po::value<unsigned int>(), "=n -stop rendering at n CSG elements when exporting png")
|
||||
("colorscheme", po::value<string>(), ("=colorscheme: " +
|
Loading…
Reference in New Issue
Block a user