pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/weechat



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul 31 10:33:08 UTC 2019

Modified Files:
        pkgsrc/chat/weechat: Makefile distinfo
Added Files:
        pkgsrc/chat/weechat/patches: patch-src_plugins_perl_weechat-perl.c

Log Message:
weechat: Stop the perl plugin from segfaulting on exit on NetBSD.

just apply the same workaround as upstream is using for FreeBSD.

bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/chat/weechat/Makefile
cvs rdiff -u -r1.55 -r1.56 pkgsrc/chat/weechat/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/weechat/Makefile
diff -u pkgsrc/chat/weechat/Makefile:1.99 pkgsrc/chat/weechat/Makefile:1.100
--- pkgsrc/chat/weechat/Makefile:1.99   Wed Jul 31 10:27:55 2019
+++ pkgsrc/chat/weechat/Makefile        Wed Jul 31 10:33:08 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.99 2019/07/31 10:27:55 nia Exp $
+# $NetBSD: Makefile,v 1.100 2019/07/31 10:33:08 nia Exp $
 
 DISTNAME=      weechat-2.5
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    chat
 MASTER_SITES=  https://www.weechat.org/files/src/
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/chat/weechat/distinfo
diff -u pkgsrc/chat/weechat/distinfo:1.55 pkgsrc/chat/weechat/distinfo:1.56
--- pkgsrc/chat/weechat/distinfo:1.55   Mon Jun 10 15:24:45 2019
+++ pkgsrc/chat/weechat/distinfo        Wed Jul 31 10:33:08 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2019/06/10 15:24:45 nia Exp $
+$NetBSD: distinfo,v 1.56 2019/07/31 10:33:08 nia Exp $
 
 SHA1 (weechat-2.5.tar.bz2) = 86f4263645266060d1a2d80cc4ab4f3cd99b2f45
 RMD160 (weechat-2.5.tar.bz2) = d71265cdfb4df485f8fa7902a459c76168c95870
@@ -9,3 +9,4 @@ SHA1 (patch-cmake_FindNcurses.cmake) = 0
 SHA1 (patch-po_CMakeLists.txt) = 9b97a4a4da4175e31ea53352fd0b95e1c985ba1e
 SHA1 (patch-src_core_weechat.c) = 062cd7443a756edbdf60289a7847b4278d520105
 SHA1 (patch-src_plugins_charset_charset.c) = f0b6e5268908caab5efa8048c8a55b0083ec0ca4
+SHA1 (patch-src_plugins_perl_weechat-perl.c) = 49e61419ea82157fa54a7847a653625944d3b341

Added files:

Index: pkgsrc/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c
diff -u /dev/null pkgsrc/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c:1.1
--- /dev/null   Wed Jul 31 10:33:08 2019
+++ pkgsrc/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c   Wed Jul 31 10:33:08 2019
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_plugins_perl_weechat-perl.c,v 1.1 2019/07/31 10:33:08 nia Exp $
+
+Apply this workaround to NetBSD too, it seems to have the same problem
+with segfaulting on exit if the perl plugin is loaded.
+
+--- src/plugins/perl/weechat-perl.c.orig       2019-06-06 18:43:20.000000000 +0000
++++ src/plugins/perl/weechat-perl.c
+@@ -1340,7 +1340,7 @@ weechat_plugin_end (struct t_weechat_plu
+     }
+ #endif /* MULTIPLICITY */
+ 
+-#if defined(PERL_SYS_TERM) && !defined(__FreeBSD__) && !defined(WIN32) && !defined(__CYGWIN__) && !(defined(__APPLE__) && defined(__MACH__))
++#if defined(PERL_SYS_TERM) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(WIN32) && !defined(__CYGWIN__) && !(defined(__APPLE__) && defined(__MACH__))
+     /*
+      * we call this function on all OS, but NOT on FreeBSD or Cygwin,
+      * because it crashes with no reason (bug in Perl?)



Home | Main Index | Thread Index | Old Index