silc-client: the irssi plugin segfaults on join, with current irssi.
I fix and make it build the standalone client.
This commit is contained in:
parent
0b4e664a24
commit
7b6a4238b1
|
@ -1,5 +1,8 @@
|
||||||
{ stdenv, fetchurl, perl, pkgconfig, glib, ncurses
|
{ stdenv, fetchurl, perl, pkgconfig, glib, ncurses
|
||||||
, enablePlugin ? true }:
|
, enablePlugin ? false }:
|
||||||
|
|
||||||
|
# Enabling the plugin and using it with a recent irssi, segafults on join:
|
||||||
|
# http://marc.info/?l=silc-devel&m=125610477802211
|
||||||
|
|
||||||
let
|
let
|
||||||
basename = "silc-client-1.1.8";
|
basename = "silc-client-1.1.8";
|
||||||
|
@ -16,6 +19,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
patches = [ ./server_setup.patch ];
|
patches = [ ./server_setup.patch ];
|
||||||
|
|
||||||
|
configureFlags = "--with-ncurses=${ncurses}";
|
||||||
|
|
||||||
preConfigure = stdenv.lib.optionalString enablePlugin ''
|
preConfigure = stdenv.lib.optionalString enablePlugin ''
|
||||||
configureFlags="$configureFlags --with-silc-plugin=$out/lib/irssi"
|
configureFlags="$configureFlags --with-silc-plugin=$out/lib/irssi"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue