summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2007-08-08 20:43:02 +0000
committerRobert Buchholz <rbu@gentoo.org>2007-08-08 20:43:02 +0000
commit02d1839d7c6cdb9cc3b7b6a32ac05cac8796443e (patch)
tree69fd8e703ed9ee892a82de17390133bac4f50960 /app-misc/lcd-stuff/files
parentUnmask hal use-flag for xfce-base/xfce4-extras, as thunar-volman has been sta... (diff)
downloadhistorical-02d1839d7c6cdb9cc3b7b6a32ac05cac8796443e.tar.gz
historical-02d1839d7c6cdb9cc3b7b6a32ac05cac8796443e.tar.bz2
historical-02d1839d7c6cdb9cc3b7b6a32ac05cac8796443e.zip
Version bump and compilation fix
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'app-misc/lcd-stuff/files')
-rw-r--r--app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.23
-rw-r--r--app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.33
-rw-r--r--app-misc/lcd-stuff/files/lcd-stuff-0.1.2.initd24
-rw-r--r--app-misc/lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch33
4 files changed, 36 insertions, 27 deletions
diff --git a/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.2 b/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.2
deleted file mode 100644
index 372e7687a209..000000000000
--- a/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 9444884954c9dd64f573da7b152f2d7f lcd-stuff-0.1.2.tar.bz2 117031
-RMD160 91b464463f5adfe9d8609facb3d1190625011107 lcd-stuff-0.1.2.tar.bz2 117031
-SHA256 793c1de326f0f0124bb586f2e183435aef9d6cf808fa11f9c84bcd3c67df5aae lcd-stuff-0.1.2.tar.bz2 117031
diff --git a/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.3 b/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.3
new file mode 100644
index 000000000000..29b61e732bbd
--- /dev/null
+++ b/app-misc/lcd-stuff/files/digest-lcd-stuff-0.1.3
@@ -0,0 +1,3 @@
+MD5 47786274712cadf15652932112696019 lcd-stuff-0.1.3.tar.bz2 122465
+RMD160 4671fadd4b377f4d7b5ebfb9980458cffd1c523c lcd-stuff-0.1.3.tar.bz2 122465
+SHA256 159908c9b967dbd3f52560d40ed4b4032a7034b2275f00c5e2f28111db5ca7b7 lcd-stuff-0.1.3.tar.bz2 122465
diff --git a/app-misc/lcd-stuff/files/lcd-stuff-0.1.2.initd b/app-misc/lcd-stuff/files/lcd-stuff-0.1.2.initd
deleted file mode 100644
index eef3ff3f43e7..000000000000
--- a/app-misc/lcd-stuff/files/lcd-stuff-0.1.2.initd
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd-stuff/files/lcd-stuff-0.1.2.initd,v 1.1 2007/05/12 11:24:49 rbu Exp $
-
-PIDFILE=/var/run/${SVCNAME}.pid
-
-depend() {
- use LCDd
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
-
- start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \
- /usr/bin/lcd-stuff -- -f 0 -s 1 -r "${REPORTLEVEL}" -a "${ADDRESS}" -p "${TCPPORT}" -c "${CONFIGFILE}"
- eend $?
-}
-
-stop() {
- ebegin "Stoping ${SVCNAME}"
- start-stop-daemon --stop --pidfile ${PIDFILE} --name "lcd-stuff"
- eend $?
-}
diff --git a/app-misc/lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch b/app-misc/lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch
new file mode 100644
index 000000000000..d717927c756d
--- /dev/null
+++ b/app-misc/lcd-stuff/files/lcd-stuff-0.1.3-socket-h.patch
@@ -0,0 +1,33 @@
+From: Robert Buchholz <rbu@gentoo.org>
+To: lcdproc@lists.omnipotent.net
+Subject: Re: [Lcdproc] [ANNOUNCE] lcd-stuff 0.1.3
+Cc: Bernhard Walle <bernhard.walle@gmx.de>
+Date: Wed, 8 Aug 2007 22:06:33 +0200
+
+When compiling against the latest version of libmrss
+(0.18.0), compilation breaks because mrss.h includes
+sys/socket.h. That header uses SHUT_RDWR as a variable name
+(which has to be undefined), but lcd-stuff's shared/sockets.h
+defines that macro.
+
+The attached patch fixes this on lcd-stuff's side.
+
+Index: lcd-stuff-0.1.3/src/rss.c
+===================================================================
+--- 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>
+
++#include <mrss.h>
++
+ #include <shared/report.h>
+ #include <shared/sockets.h>
+ #include <shared/str.h>
+
+-#include <mrss.h>
+-
+ #include "rss.h"
+ #include "main.h"
+ #include "constants.h"