Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2026 18:32:10 +0000
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cf8ff6d158c5 - main - irc/znc: Backport upstream fix for swig 4.4
Message-ID:  <696bd5aa.3bf19.49694104@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by diizzy:

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

commit cf8ff6d158c5393db3ef3a0e6ebacbae3310a2ff
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-01-17 17:00:18 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-01-17 18:32:00 +0000

    irc/znc: Backport upstream fix for swig 4.4
    
    Instead of using a homebrew fix backport commit from upstream
    
    Reference:
    https://github.com/znc/znc/commit/49af1c8d53031e83877d3a378682dee9b834123b
    
    Approved by:    blanket, just fix it
---
 irc/znc/Makefile         |  5 ++++-
 irc/znc/distinfo         |  4 +++-
 irc/znc/files/patch-swig | 12 ------------
 3 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/irc/znc/Makefile b/irc/znc/Makefile
index 7619b31401ca..6d45cedecf59 100644
--- a/irc/znc/Makefile
+++ b/irc/znc/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	znc
 DISTVERSION=	1.10.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	irc
 MASTER_SITES=	https://znc.in/releases/ \
 		https://znc.in/releases/archive/
 
+PATCH_SITES=	https://github.com/znc/znc/commit/
+PATCHFILES=	49af1c8d53031e83877d3a378682dee9b834123b.patch:-p1
+
 MAINTAINER=	dbaio@FreeBSD.org
 COMMENT=	Advanced IRC bouncer
 WWW=		https://wiki.znc.in/ZNC
diff --git a/irc/znc/distinfo b/irc/znc/distinfo
index a04c801f1e69..95a53f09b984 100644
--- a/irc/znc/distinfo
+++ b/irc/znc/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1751491897
+TIMESTAMP = 1768648916
 SHA256 (znc-1.10.1.tar.gz) = 4e6e76851dbf2606185972b53ec5decad68fe53b63a56e4df8b8b3c0a6c46800
 SIZE (znc-1.10.1.tar.gz) = 2310976
+SHA256 (49af1c8d53031e83877d3a378682dee9b834123b.patch) = 450ad462329d444c4e6eee594fc0f45fb278c19c9f65b25db31ee6b588d60c2d
+SIZE (49af1c8d53031e83877d3a378682dee9b834123b.patch) = 5309
diff --git a/irc/znc/files/patch-swig b/irc/znc/files/patch-swig
deleted file mode 100644
index 06ac2607fd95..000000000000
--- a/irc/znc/files/patch-swig
+++ /dev/null
@@ -1,12 +0,0 @@
---- modules/modpython/codegen.pl.orig	2025-07-01 21:17:15 UTC
-+++ modules/modpython/codegen.pl
-@@ -174,7 +174,8 @@ namespace {
- #if PY_VERSION_HEX>=0x03000000
- 						assert(0); /* Should never reach here in Python 3 */
- #endif
--						*cptr = SWIG_Python_str_AsChar(obj);
-+						PyObject *bytes = NULL;
-+						*cptr = (char *)SWIG_PyUnicode_AsUTF8AndSize(obj, NULL, &bytes);
- 					}
- 				}
- 				if (psize) *psize = len + 1;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696bd5aa.3bf19.49694104>