SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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())