aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/partio/files/patch-src_py_partio.i
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /graphics/partio/files/patch-src_py_partio.i
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'graphics/partio/files/patch-src_py_partio.i')
-rw-r--r--graphics/partio/files/patch-src_py_partio.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/partio/files/patch-src_py_partio.i b/graphics/partio/files/patch-src_py_partio.i
new file mode 100644
index 000000000000..d26257b1b007
--- /dev/null
+++ b/graphics/partio/files/patch-src_py_partio.i
@@ -0,0 +1,13 @@
+--- src/py/partio.i.orig 2025-01-28 22:44:08 UTC
++++ src/py/partio.i
+@@ -638,7 +638,9 @@ ParticlesDataMutable* cloneSchema(const ParticlesData&
+
+ %feature("autodoc");
+ %feature("docstring","Clone a particle set");
+-ParticlesDataMutable* clone(const ParticlesData& other, bool particles, const std::map<std::string, std::string>* attrNameMap=nullptr);
++ParticlesDataMutable* clone(const ParticlesData& other, bool particles=true, const std::map<std::string, std::string>* attrNameMap=nullptr);
++
++%typedef std::map<std::string, std::string> _dummy; /* https://github.com/wdas/partio/issues/114 */
+
+ %feature("autodoc");
+ %feature("docstring","Return string name of given attribute type");