SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
17
graphics/makehuman/patches/patch-makehuman_makehuman_py
Normal file
17
graphics/makehuman/patches/patch-makehuman_makehuman_py
Normal file
|
@ -0,0 +1,17 @@
|
|||
From 176843124ac4948f780aae49fcf23279a8a61e32 Mon Sep 17 00:00:00 2001
|
||||
From: Pekka Ristola <pekkarr@protonmail.com>
|
||||
Date: Thu, 9 Feb 2023 16:09:52 +0200
|
||||
Subject: [PATCH] Fix compile_targets.py when using numpy 1.24.0 or newer
|
||||
|
||||
Index: makehuman/makehuman.py
|
||||
--- makehuman/makehuman.py.orig
|
||||
+++ makehuman/makehuman.py
|
||||
@@ -396,7 +396,7 @@ Homepage: %s""" % (self.author, self.license, self.cop
|
||||
text += key + value
|
||||
text = np.fromstring(text, dtype='S1')
|
||||
index = np.array(index, dtype=np.uint32)
|
||||
- return text, index
|
||||
+ return np.array([text, index], dtype=object)
|
||||
|
||||
return _packStringDict(self.asDict())
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue