git: a4ccff1e3ceb - main - cad/openroad: Fix build with swig 4.4.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Jan 2026 12:00:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a4ccff1e3cebf2bce1b6bded64fadd06449dada4
commit a4ccff1e3cebf2bce1b6bded64fadd06449dada4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-01-15 11:44:59 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-01-15 11:54:00 +0000
cad/openroad: Fix build with swig 4.4.0+
PR: 291779
Approved by: portmgr (blanket)
---
cad/openroad/files/patch-swig | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/cad/openroad/files/patch-swig b/cad/openroad/files/patch-swig
new file mode 100644
index 000000000000..0e736f5184e2
--- /dev/null
+++ b/cad/openroad/files/patch-swig
@@ -0,0 +1,33 @@
+--- src/Exception-py.i.orig 2025-02-16 20:42:08 UTC
++++ src/Exception-py.i
+@@ -42,7 +42,7 @@
+ %}
+
+ %exception {
+- try { $function }
++ try { $action }
+ catch (std::bad_alloc &) {
+ fprintf(stderr, "Error: out of memory.");
+ abort();
+--- src/Exception.i.orig 2025-02-16 20:42:08 UTC
++++ src/Exception.i
+@@ -25,7 +25,7 @@
+ %}
+
+ %exception {
+- try { $function }
++ try { $action }
+ catch (std::bad_alloc &) {
+ fprintf(stderr, "Error: out of memory.");
+ abort();
+--- src/sta/tcl/Exception.i.orig 2025-02-12 00:55:01 UTC
++++ src/sta/tcl/Exception.i
+@@ -23,7 +23,7 @@
+ // This notice may not be removed or altered from any source distribution.
+
+ %exception {
+- try { $function }
++ try { $action }
+ catch (std::bad_alloc &) {
+ fprintf(stderr, "Error: out of memory.\n");
+ exit(1);