Le Thu, Jun 16, 2022 at 08:59:33AM +0200, Landry Breuil a écrit : > Le Thu, Jun 16, 2022 at 08:55:00AM +0200, Landry Breuil a écrit : > > Le Thu, Jun 16, 2022 at 11:15:31AM +0900, Lauri Tirkkonen a écrit : > > > Hello ports@, > > > > > > please find diff below to update irssi to 1.4.1. > > > > have you checked plugins built ? they dont here: > > > > irssi-icb fails with > > > > checking for ANSI C header files... (cached) yes > > configure: error: Not irssi directory: /usr/local/include/irssi > > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2928 > > 'do-configure': @for d in > > /usr/obj/ports/irssi-icb-0.17/irssi-icb-c4e2ea8939...) > > > > as it looks for a (now missing) irssi-config file in > > /usr/local/include/irssi > > trying the obious and patching configure to look for irssi-config.h, > build fails later on: > > /usr/obj/ports/irssi-icb-0.17/irssi-icb-c4e2ea8939b5b75d1941ebe3335475482d218838/src/core/icb-protocol.c:344:8: > error: use of undeclared identifier 'G_INPUT_READ' > G_INPUT_READ, > ^ > 4 warnings and 1 error generated.
irssi-icb builds with the following patch, will test runtime now.
Index: Makefile =================================================================== RCS file: /cvs/ports/net/irssi-icb/Makefile,v retrieving revision 1.46 diff -u -r1.46 Makefile --- Makefile 11 Mar 2022 19:46:10 -0000 1.46 +++ Makefile 16 Jun 2022 07:02:32 -0000 @@ -5,7 +5,7 @@ GH_COMMIT= c4e2ea8939b5b75d1941ebe3335475482d218838 DISTNAME= irssi-icb-0.17 -REVISION= 1 +REVISION= 2 CATEGORIES= net Index: patches/patch-configure =================================================================== RCS file: patches/patch-configure diff -N patches/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-configure 16 Jun 2022 07:02:32 -0000 @@ -0,0 +1,12 @@ +Index: configure +--- configure.orig ++++ configure +@@ -11747,7 +11747,7 @@ IRSSI_INCLUDE=`cd $with_irssi; pwd` + + + +-if test ! -f "$IRSSI_INCLUDE/irssi-config"; then : ++if test ! -f "$IRSSI_INCLUDE/irssi-config.h"; then : + as_fn_error $? "Not irssi directory: $IRSSI_INCLUDE" "$LINENO" 5 + + fi Index: patches/patch-src_core_icb-protocol_c =================================================================== RCS file: patches/patch-src_core_icb-protocol_c diff -N patches/patch-src_core_icb-protocol_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_core_icb-protocol_c 16 Jun 2022 07:02:32 -0000 @@ -0,0 +1,12 @@ +Index: src/core/icb-protocol.c +--- src/core/icb-protocol.c.orig ++++ src/core/icb-protocol.c +@@ -341,7 +341,7 @@ static void sig_server_connected(ICB_SERVER_REC *serve + + server->readtag = + g_input_add(net_sendbuffer_handle(server->handle), +- G_INPUT_READ, ++ I_INPUT_READ, + (GInputFunction) icb_parse_incoming, server); + } +
