[Lcdproc] [ANNOUNCE] lcd-stuff 0.1.3

Robert Buchholz rbu@gentoo.org
Wed Aug 8 20:08:01 2007


--nextPart39560427.Q089Rai4Je
Content-Type: multipart/mixed;
  boundary="Boundary-01=_JJiuGkadlft4rkE"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_JJiuGkadlft4rkE
Content-Type: text/plain;
  charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday, 8. August 2007 14:55, Bernhard Walle wrote:
> I'm proud to announce release 0.1.3 from lcd-stuff. Changes:
>
>     * added possibility to show imperial units instead of metric
>       units on the weather screen
>     * added mplayer screen to play radio streams (including a remote
>       interface)
>     * improvements in the mail screen (fixed possible crash, don't
>       update time stamps for local mailboxes)
>
> Of course, it's available in terms of GNU General Public License (v2)
> at http://lcd-stuff.berlios.de/.

Thanks a lot for the new release.

Unfortunately, when compiling against the latest version of libmrss=20
(0.18.0), compilation breaks because mrss.h includes sys/socket.h. That=20
header uses SHUT_RDWR as a variable name (which has to be undefined),=20
but lcd-stuff's shared/sockets.h defines that macro [1].

The attached patch fixes this on lcd-stuff's side.

Regards,

Robert


[1] error as follows:
if=20
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..    -march=3D=
nocona -mtune=3Dnocona -O2 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=3Dsse -=
fweb -frename-registers -fomit-frame-pointer -fno-ident -Wall -pthread -I/u=
sr/include/glib-2.0 -I/usr/lib64/glib-2.0/include          -MT=20
rss.o -MD -MP -MF ".deps/rss.Tpo" -c -o rss.o rss.c; \
        then mv -f ".deps/rss.Tpo" ".deps/rss.Po"; else=20
rm -f ".deps/rss.Tpo"; exit 1; fi
In file included from /usr/include/sys/socket.h:9,
                 from /usr/include/curl/multi.h:64,
                 from /usr/include/curl/curl.h:1449,
                 from /usr/include/mrss.h:24,
                 from rss.c:32:
/usr/include/gentoo-multilib/amd64/sys/socket.h:55: error: expected=20
identifier before numeric constant

--Boundary-01=_JJiuGkadlft4rkE
Content-Type: text/x-diff;
  charset="iso-8859-2";
  name="lcd-stuff-0.1.3-socket-h.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="lcd-stuff-0.1.3-socket-h.patch"

Index: lcd-stuff-0.1.3/src/rss.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- lcd-stuff-0.1.3.orig/src/rss.c
+++ lcd-stuff-0.1.3/src/rss.c
@@ -24,12 +24,12 @@
 #include <string.h>
 #include <errno.h>
=20
+#include <mrss.h>
+
 #include <shared/report.h>
 #include <shared/sockets.h>
 #include <shared/str.h>
=20
=2D#include <mrss.h>
=2D
 #include "rss.h"
 #include "main.h"
 #include "constants.h"

--Boundary-01=_JJiuGkadlft4rkE--

--nextPart39560427.Q089Rai4Je
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGuiJJyZx3L/ph1soRAnEwAJ9XGP1uWoVRFA/M1ja3l+YjGH3iWwCfW1+Q
KHTOZlp5RDSzr3jQ57N2LNM=
=zcnh
-----END PGP SIGNATURE-----

--nextPart39560427.Q089Rai4Je--