Your message dated Wed, 2 Jan 2008 21:32:33 +0000
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #458703,
regarding xmotd segfaults on x86_64
to be marked as having been forwarded to the upstream software
author(s) luis fernandes <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Hello,
Some missing function declarations cause xmotd 1.17.3b to segfault right
on startup. The attached patch fixes this for me. Please let me know
when you plan to issue a patch release.
regards,
Marcin
PS: please keep CC on reply
--
Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
"Every program in development at MIT expands until it can read mail."
-- Unknown
--- xmotd-1.17.3b.orig/browser.c 1997-08-28 21:09:27.000000000 +0100
+++ xmotd-1.17.3b/browser.c 2008-01-02 20:46:01.000000000 +0000
@@ -32,6 +32,8 @@
#ifdef HAVE_HTML
+#include <sys/types.h>
+#include <unistd.h>
#include <stdio.h>
#include "maindefs.h"
#include "libhtmlw/HTML.h"
--- xmotd-1.17.3b.orig/logo.c 1997-07-18 02:23:55.000000000 +0100
+++ xmotd-1.17.3b/logo.c 2008-01-02 20:44:08.000000000 +0000
@@ -29,6 +29,7 @@
/* $Id: logo.c,v 1.2 1997/07/18 01:23:55 elf Exp $ */
#include <stdio.h>
+#include <stdlib.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
--- xmotd-1.17.3b.orig/main.c 2003-06-18 22:57:47.000000000 +0100
+++ xmotd-1.17.3b/main.c 2008-01-02 20:42:47.000000000 +0000
@@ -44,8 +44,10 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <malloc.h>
#include <time.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
--- xmotd-1.17.3b.orig/textmode.c 1998-11-03 22:24:03.000000000 +0000
+++ xmotd-1.17.3b/textmode.c 2008-01-02 20:46:23.000000000 +0000
@@ -30,9 +30,12 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
#include <memory.h>
#include <fcntl.h>
--- xmotd-1.17.3b.orig/usage.c 2003-02-14 00:34:16.000000000 +0000
+++ xmotd-1.17.3b/usage.c 2008-01-02 20:44:26.000000000 +0000
@@ -27,6 +27,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include "maindefs.h"
#include "patchlevel.h"
--- xmotd-1.17.3b.orig/xmotd.c 2003-06-18 22:53:39.000000000 +0100
+++ xmotd-1.17.3b/xmotd.c 2008-01-02 20:44:55.000000000 +0000
@@ -28,6 +28,7 @@
*
*/
#include <stdio.h>
+#include <stdlib.h>
#include <malloc.h>
#include <time.h>
#include <memory.h>
--- End Message ---