added lcd-stuff-0.1.7 and 9999
[dottout.git] / app-misc / lcd-stuff / files / lcd-stuff-0.1.3-socket-h.patch
blobd717927c756dc25b6a63af43a8856db7e5007c9b
1 From: Robert Buchholz <rbu@gentoo.org>
2 To: lcdproc@lists.omnipotent.net
3 Subject: Re: [Lcdproc] [ANNOUNCE] lcd-stuff 0.1.3
4 Cc: Bernhard Walle <bernhard.walle@gmx.de>
5 Date: Wed, 8 Aug 2007 22:06:33 +0200
7 When compiling against the latest version of libmrss
8 (0.18.0), compilation breaks because mrss.h includes
9 sys/socket.h. That header uses SHUT_RDWR as a variable name
10 (which has to be undefined), but lcd-stuff's shared/sockets.h
11 defines that macro.
13 The attached patch fixes this on lcd-stuff's side.
15 Index: lcd-stuff-0.1.3/src/rss.c
16 ===================================================================
17 --- lcd-stuff-0.1.3.orig/src/rss.c
18 +++ lcd-stuff-0.1.3/src/rss.c
19 @@ -24,12 +24,12 @@
20 #include <string.h>
21 #include <errno.h>
23 +#include <mrss.h>
25 #include <shared/report.h>
26 #include <shared/sockets.h>
27 #include <shared/str.h>
29 -#include <mrss.h>
31 #include "rss.h"
32 #include "main.h"
33 #include "constants.h"