Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2026 12:00:12 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a4ccff1e3ceb - main - cad/openroad: Fix build with swig 4.4.0+
Message-ID:  <6968d6cc.3a58b.755ebbf7@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6968d6cc.3a58b.755ebbf7>