parent
13a369476b
commit
2e8ae96930
@ -1,22 +0,0 @@ |
||||
diff --git a/modules/vwmterm2/signals.c b/modules/vwmterm2/signals.c
|
||||
index 239e7f2..07d78fd 100644
|
||||
--- a/modules/vwmterm2/signals.c
|
||||
+++ b/modules/vwmterm2/signals.c
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <vwm.h>
|
||||
+#include <signal.h>
|
||||
|
||||
struct sigaction* vwmterm_sigset(int signum,sighandler_t handler)
|
||||
{
|
||||
diff --git a/vwm_private.h b/vwm_private.h
|
||||
index 2d48ebf..46457bd 100644
|
||||
--- a/vwm_private.h
|
||||
+++ b/vwm_private.h
|
||||
@@ -2,6 +2,7 @@
|
||||
#define _H_VWM_PRIVATE_
|
||||
|
||||
#include <glib.h>
|
||||
+#include <signal.h>
|
||||
|
||||
#ifdef _VIPER_WIDE
|
||||
#include <ncursesw/curses.h>
|
@ -0,0 +1,26 @@ |
||||
{stdenv, fetchurl, pkgconfig, glib, ncurses}: |
||||
stdenv.mkDerivation rec { |
||||
name = "libvterm-0.99.7"; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://sourceforge/libvterm/${name}.tar.gz"; |
||||
sha256 = "10gaqygmmwp0cwk3j8qflri5caf8vl3f7pwfl2svw5whv8wkn0k2"; |
||||
}; |
||||
|
||||
patchPhase = '' |
||||
sed -i -e s@/usr@$out@ -e /ldconfig/d Makefile |
||||
''; |
||||
|
||||
preInstall = '' |
||||
ensureDir $out/include |
||||
ensureDir $out/lib |
||||
''; |
||||
|
||||
buildInputs = [pkgconfig glib ncurses]; |
||||
|
||||
meta = { |
||||
homepage = http://libvterm.sourceforge.net/; |
||||
description = "Terminal emulator library to mimic both vt100 and rxvt"; |
||||
license="GPLv2+"; |
||||
}; |
||||
} |
Loading…
Reference in new issue