diff options
| author | Daniel Engberg <diizzy@FreeBSD.org> | 2026-01-17 18:00:18 +0100 |
|---|---|---|
| committer | Daniel Engberg <diizzy@FreeBSD.org> | 2026-01-17 19:32:00 +0100 |
| commit | cf8ff6d158c5393db3ef3a0e6ebacbae3310a2ff (patch) | |
| tree | 6c7558af491e818960dfbdbee60fd309bd37ddd0 | |
| parent | ddaa7768462e2c53eef816a8f1fe3b4aa41a96cc (diff) | |
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
| -rw-r--r-- | irc/znc/Makefile | 5 | ||||
| -rw-r--r-- | irc/znc/distinfo | 4 | ||||
| -rw-r--r-- | 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; |
