git: ca3d01b12cd2 - main - graphics/art: Remove LIBOMP_NUM_HIDDEN_HELPER_THREADS env. var setting

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 20:13:14 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca3d01b12cd2ddba082f6ab651c19b0f6c792fb2

commit ca3d01b12cd2ddba082f6ab651c19b0f6c792fb2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-27 15:02:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-27 15:02:03 +0000

    graphics/art: Remove LIBOMP_NUM_HIDDEN_HELPER_THREADS env. var setting
    
    LIBOMP_NUM_HIDDEN_HELPER_THREADS was set to 0 before to avoid
    run-time crash. The crash is not there any more in 13.1 STABLE.
---
 graphics/art/Makefile                      |  1 +
 graphics/art/files/patch-rtgui_main-cli.cc | 13 -------------
 graphics/art/files/patch-rtgui_main.cc     | 13 -------------
 3 files changed, 1 insertion(+), 26 deletions(-)

diff --git a/graphics/art/Makefile b/graphics/art/Makefile
index 2e1f634a3525..bfd712f29d6d 100644
--- a/graphics/art/Makefile
+++ b/graphics/art/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	art
 DISTVERSION=	1.19.3
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://bitbucket.org/agriggio/art/downloads/
 PKGNAMESUFFIX=	-raw-image-editor
diff --git a/graphics/art/files/patch-rtgui_main-cli.cc b/graphics/art/files/patch-rtgui_main-cli.cc
deleted file mode 100644
index 9352255b9360..000000000000
--- a/graphics/art/files/patch-rtgui_main-cli.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-- workaround for https://bitbucket.org/agriggio/art/issues/227 caused by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261360
-
---- rtgui/main-cli.cc.orig	2022-01-20 17:13:45 UTC
-+++ rtgui/main-cli.cc
-@@ -121,6 +121,8 @@ std::pair<bool, bool> dontLoadCache(int argc, char **a
- 
- int main (int argc, char **argv)
- {
-+	setenv("LIBOMP_NUM_HIDDEN_HELPER_THREADS", "0", 1);
-+
- #ifdef WITH_MIMALLOC
-     mi_version();
- #endif
diff --git a/graphics/art/files/patch-rtgui_main.cc b/graphics/art/files/patch-rtgui_main.cc
deleted file mode 100644
index a0f2b59ca423..000000000000
--- a/graphics/art/files/patch-rtgui_main.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-- workaround for https://bitbucket.org/agriggio/art/issues/227 caused by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261360
-
---- rtgui/main.cc.orig	2022-01-20 17:14:43 UTC
-+++ rtgui/main.cc
-@@ -370,6 +370,8 @@ void show_gimp_plugin_info_dialog(Gtk::Window *parent)
- 
- int main (int argc, char **argv)
- {
-+	setenv("LIBOMP_NUM_HIDDEN_HELPER_THREADS", "0", 1);
-+
- #ifdef WITH_MIMALLOC
-     mi_version();
- #endif