mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 15:30:39 +00:00
Patching gtmess; it did not build on arm.
svn path=/nixpkgs/trunk/; revision=30230
This commit is contained in:
parent
0812835108
commit
c95d373b68
pkgs/applications/networking/instant-messengers/gtmess
|
@ -10,6 +10,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ ncurses openssl tcl tk];
|
buildInputs = [ ncurses openssl tcl tk];
|
||||||
|
|
||||||
|
patches = [ ./va_list.patch ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Console MSN Messenger client for Linux and other unix systems";
|
description = "Console MSN Messenger client for Linux and other unix systems";
|
||||||
homepage = http://gtmess.sourceforge.net/;
|
homepage = http://gtmess.sourceforge.net/;
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
diff --git a/src/client/screen.c b/src/client/screen.c
|
||||||
|
index e8fa75f..d3842ac 100644
|
||||||
|
--- a/src/client/screen.c
|
||||||
|
+++ b/src/client/screen.c
|
||||||
|
@@ -255,7 +255,7 @@ void msg(int attr, const char *fmt, ...)
|
||||||
|
va_start(ap, fmt);
|
||||||
|
r = vmsg(attr, SML, fmt, ap);
|
||||||
|
va_end(ap);
|
||||||
|
- if (r) vmsg(C_ERR, SML, "msg(): output truncated\n", NULL);
|
||||||
|
+ if (r) msgn(C_ERR, SML, "msg(): output truncated\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
void msgn(int attr, int size, const char *fmt, ...)
|
||||||
|
@@ -266,7 +266,7 @@ void msgn(int attr, int size, const char *fmt, ...)
|
||||||
|
va_start(ap, fmt);
|
||||||
|
r = vmsg(attr, size, fmt, ap);
|
||||||
|
va_end(ap);
|
||||||
|
- if (r) vmsg(C_ERR, SML, "msgn(): output truncated\n", NULL);
|
||||||
|
+ if (r) msgn(C_ERR, SML, "msgn(): output truncated\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
int screen_shut()
|
Loading…
Reference in a new issue