summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/mserver/ChangeLog5
-rw-r--r--net-dialup/mserver/Manifest7
-rw-r--r--net-dialup/mserver/files/mserver-0.5.5-errno.patch15
-rw-r--r--net-dialup/mserver/mserver-0.5.5-r1.ebuild11
4 files changed, 31 insertions, 7 deletions
diff --git a/net-dialup/mserver/ChangeLog b/net-dialup/mserver/ChangeLog
index de8ef18ddab7..95c35ef7c714 100644
--- a/net-dialup/mserver/ChangeLog
+++ b/net-dialup/mserver/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/mserver
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/ChangeLog,v 1.3 2003/05/23 07:20:20 killian Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/ChangeLog,v 1.4 2003/10/11 18:56:20 lanius Exp $
+
+ 11 Oct 2003; Heinrich Wendel <lanius@gentoo.org> mserver-0.5.5-r1.ebuild:
+ bug #30898
*mserver-0.5.5-r1 (23 May 2002)
diff --git a/net-dialup/mserver/Manifest b/net-dialup/mserver/Manifest
index e26ec3a3d288..fef2870e4996 100644
--- a/net-dialup/mserver/Manifest
+++ b/net-dialup/mserver/Manifest
@@ -1,4 +1,5 @@
-MD5 2e2b36d21908b3de17e6f5b1d5f985af ChangeLog 577
-MD5 0f93ae50b89efa8bd8f0b50c5ef92f09 mserver-0.5.5-r1.ebuild 1046
+MD5 d20f74aa846a33321ca59771aca569cc ChangeLog 666
+MD5 90a2521b8d0ee5837fb6e5822794bf4e mserver-0.5.5-r1.ebuild 1135
MD5 946947bd8b3bb6e5521f666607498293 files/digest-mserver-0.5.5-r1 67
-MD5 296aaf9aefbc56061cdc4e54bc293781 files/mserver-init 700
+MD5 b6fbc5549fae2a4a0d2f8176c4c691a3 files/mserver-init 701
+MD5 7ec81b751992ca8b635dbe7b983be07c files/mserver-0.5.5-errno.patch 344
diff --git a/net-dialup/mserver/files/mserver-0.5.5-errno.patch b/net-dialup/mserver/files/mserver-0.5.5-errno.patch
new file mode 100644
index 000000000000..25a77db82add
--- /dev/null
+++ b/net-dialup/mserver/files/mserver-0.5.5-errno.patch
@@ -0,0 +1,15 @@
+--- mserver-0.5.5/mserver/child.c 1999-07-06 20:03:12.000000000 -0400
++++ child.c 2003-10-08 19:30:26.000000000 -0400
+@@ -28,11 +28,10 @@
+ #include <sys/wait.h>
+ #include <netinet/in.h>
+ #include <sys/socket.h>
++#include <errno.h>
+
+ #include "mserver.h"
+
+-extern int errno;
+-
+ struct msrv_client *clients[MAXCLIENTS];
+ extern int nclients;
+
diff --git a/net-dialup/mserver/mserver-0.5.5-r1.ebuild b/net-dialup/mserver/mserver-0.5.5-r1.ebuild
index 61f8fd3cedaa..71c95d9f767d 100644
--- a/net-dialup/mserver/mserver-0.5.5-r1.ebuild
+++ b/net-dialup/mserver/mserver-0.5.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/mserver-0.5.5-r1.ebuild,v 1.4 2003/09/07 00:09:22 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/mserver-0.5.5-r1.ebuild,v 1.5 2003/10/11 18:56:20 lanius Exp $
DESCRIPTION="Daemon that provides control of dial-up links to other PCs on the LAN"
HOMEPAGE="http://cpwright.com/mserver/"
@@ -14,11 +14,16 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
+src_unpack() {
+ unpack c-${P}.tar.gz
+ epatch ${FILESDIR}/${P}-errno.patch
+}
+
src_compile() {
econf \
--sysconfdir=/etc \
- --localstatedir=/var
- emake
+ --localstatedir=/var || die
+ emake || die
}
src_install() {