tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: chat/pidgin segfault with NetBSD 11 (fixed)



On Sunday  5 Oct 2025, at 09:40, Thomas Klausner wrote:
> See the discussion right above this thread in tech-pkg...

Indeed, I missed that. I also missed, by a few hours only, the commit
https://github.com/NetBSD/src/commit/8e6a1ac7
which documents the LIBC_ALLOWCTYPEABUSE variable. Ironic... :)

I was initially completely mislead by the ld warning
ld: warning: libfreetype.so.19, needed by /usr/pkgsrc/chat/pidgin/work/.buildlink/lib/libfontconfig.so, may conflict with libfreetype.so.6
and started to explore in the wrong direction.
This is still a bit of a concern to me, but this appears to be
harmless.


> After applying this patch, I still see many more warnings of
> the same type
[...]
> so I guess your patches fixes a part of the problem, but there are
> more.

True, even though it did not bite me yet.

I attach a tarball for chat/libpurple with a set of patches
that fix ctype(3) usage, as well as the distinfo diff just for the
sake of it. They've got a mixed use of ctype(3) functions
and similar glib functions (e.g. g_ascii_isspace). The latter are
documented to _NOT_ take into account the locale setting. So I
prefered to not change the functionnality and not try to unify this.

> Please make sure to report this upstream!

Yes, I also considered this. This requires an n-th account on a n-th forge,
but well ... :) I will give it a try.

Thanks for you commit!
Cheers,
Anthony

Attachment: libpurple-patches.tgz
Description: Binary data

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/libpurple/distinfo,v
retrieving revision 1.60
diff -u -u -r1.60 distinfo
--- distinfo	5 Oct 2025 07:39:53 -0000	1.60
+++ distinfo	5 Oct 2025 13:36:19 -0000
@@ -3,5 +3,17 @@
 BLAKE2s (pidgin-2.14.14.tar.bz2) = 0cd37c6b2632abbbf98df254f1c7dc8478bbdaba1ddca897ca508b20b0c123e3
 SHA512 (pidgin-2.14.14.tar.bz2) = 2d1ee55e701983871762b5307a2c13fa4431b388229aee7c27522ba593a4c79df729be04cda91f44b3cc9663ca0579bf66b722cdcbd71cae3b8c2dbe75c1f24d
 Size (pidgin-2.14.14.tar.bz2) = 8121174 bytes
+SHA1 (patch-libpurple_plugins_log_reader.c) = f27afc1ac6653ed0290928353f8179404675936c
 SHA1 (patch-libpurple_plugins_perl_common_Makefile.PL.in) = 4fc1c7cc2df8f4cf179d00fe3bcf5b2ab0c5adbd
+SHA1 (patch-libpurple_protocols_gg_lib_dcc.c) = 22e2323fe20fcd508b1b0bd62ee2e1540cd17f07
+SHA1 (patch-libpurple_protocols_gg_lib_events.c) = 4f539b3b8290ca367bbde0d9d3e5131f95117a8c
+SHA1 (patch-libpurple_protocols_gg_lib_handlers.c) = a41a122caffa48313628f2cd89ad3f7fb42713b9
+SHA1 (patch-libpurple_protocols_gg_lib_message.c) = 75801f7e0682c060e6d359546691c5429c95209b
+SHA1 (patch-libpurple_protocols_irc_msgs.c) = b8b566f3011a82571a31c2e9501880f0794826aa
+SHA1 (patch-libpurple_protocols_irc_parse.c) = 3e3261b734062d11628047069835282a20fdd29c
+SHA1 (patch-libpurple_protocols_novell_nmconn.c) = 321da2276d8df8ac893e20ae251e206ddea35611
+SHA1 (patch-libpurple_protocols_zephyr_ZVariables.c) = 89db67cffc1c4dc7d1327c02f96ba87c30d48985
+SHA1 (patch-libpurple_protocols_zephyr_zephyr.c) = 962c97fd4f71e68921fd36363d598b81bb5b2e35
+SHA1 (patch-libpurple_util.c) = d81d29175af12ab03e9bfba31418cbc07eaea5e4
 SHA1 (patch-pidgin_gtkimhtml.c) = 54af515155ae2d3326b405516158865d365102c7
+SHA1 (patch-pidgin_gtktheme.c) = b362bcd1b0efc19d3255dd170c7fc502fa861b11


Home | Main Index | Thread Index | Old Index