Package: screen
Severity: important
Version: 4.0.2-4.1
Tags: patch

Hi,

the current version fails to run on kfreebsd-amd64.
The problems are due to missing prototypes for strdup() and so on.
On 64bit platform they are serious. 
Sufficient for us is to #include <string.h>,
which is also available on all POSIX conforming systems.
http://www.opengroup.org/onlinepubs/009695399/basedefs/string.h.html
One line patch is bellow.

It would also be nice if you can ask upstream 
to include this change.

Thanks in advance

                        Petr


--- osdef.h.in~ 2006-03-15 16:53:47.000000000 +0100
+++ osdef.h.in  2006-03-15 16:53:47.000000000 +0100
@@ -107,6 +107,7 @@
 extern char *tgoto __P((char *, int, int));
 
 #ifdef POSIX
+#include <string.h>
 extern int   setsid __P((void));
 extern int   setpgid __P((int, int));
 extern int   tcsetpgrp __P((int, int));





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to