summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2007-06-18 01:06:26 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2007-06-18 01:06:26 +0000
commit5b1806326a79f7c3edf6586b84a8323aae8a9e4a (patch)
tree94b922477b888fb595b0306dde21218d2d1233d8 /x11-apps/sessreg
parentStable on amd64 wrt bug 182364 (diff)
downloadgentoo-2-5b1806326a79f7c3edf6586b84a8323aae8a9e4a.tar.gz
gentoo-2-5b1806326a79f7c3edf6586b84a8323aae8a9e4a.tar.bz2
gentoo-2-5b1806326a79f7c3edf6586b84a8323aae8a9e4a.zip
Bug #157916 - Fix building on FreeBSD.
(Portage version: 2.1.3_rc3)
Diffstat (limited to 'x11-apps/sessreg')
-rw-r--r--x11-apps/sessreg/ChangeLog6
-rw-r--r--x11-apps/sessreg/files/sessreg-1.0.2-fbsd.patch20
-rw-r--r--x11-apps/sessreg/sessreg-1.0.2.ebuild4
3 files changed, 28 insertions, 2 deletions
diff --git a/x11-apps/sessreg/ChangeLog b/x11-apps/sessreg/ChangeLog
index 64760a3cbda6..8b856c463c5f 100644
--- a/x11-apps/sessreg/ChangeLog
+++ b/x11-apps/sessreg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-apps/sessreg
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/sessreg/ChangeLog,v 1.33 2007/05/20 22:03:09 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/sessreg/ChangeLog,v 1.34 2007/06/18 01:06:26 joshuabaergen Exp $
+
+ 18 Jun 2007; Joshua Baergen <joshuabaergen@gentoo.org>
+ +files/sessreg-1.0.2-fbsd.patch, sessreg-1.0.2.ebuild:
+ Bug #157916 - Fix building on FreeBSD.
20 May 2007; Jeroen Roovers <jer@gentoo.org> sessreg-1.0.2.ebuild:
Stable for HPPA (bug #175465).
diff --git a/x11-apps/sessreg/files/sessreg-1.0.2-fbsd.patch b/x11-apps/sessreg/files/sessreg-1.0.2-fbsd.patch
new file mode 100644
index 000000000000..1f7b73d9a5de
--- /dev/null
+++ b/x11-apps/sessreg/files/sessreg-1.0.2-fbsd.patch
@@ -0,0 +1,20 @@
+commit 136525f01e4ce8e60e8c78b44654d8f6861233d2
+Author: Alan Coopersmith <alan.coopersmith@sun.com>
+Date: Mon Jun 11 16:38:00 2007 -0700
+
+ X.Org Bug #9887: sessreg should include sys/types.h on FreeBSD
+
+ X.Org Bugzilla #9887: <https://bugs.freedesktop.org/show_bug.cgi?id=9887>
+
+diff --git a/sessreg.h b/sessreg.h
+index 84f8bab..9765e17 100644
+--- a/sessreg.h
++++ b/sessreg.h
+@@ -55,6 +55,7 @@
+
+ #include "config.h"
+
++#include <sys/types.h>
+ #include <time.h>
+ #include <utmp.h>
+
diff --git a/x11-apps/sessreg/sessreg-1.0.2.ebuild b/x11-apps/sessreg/sessreg-1.0.2.ebuild
index abb28cbb2371..4260642e4f71 100644
--- a/x11-apps/sessreg/sessreg-1.0.2.ebuild
+++ b/x11-apps/sessreg/sessreg-1.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/sessreg/sessreg-1.0.2.ebuild,v 1.9 2007/05/20 22:03:09 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/sessreg/sessreg-1.0.2.ebuild,v 1.10 2007/06/18 01:06:26 joshuabaergen Exp $
# Must be before x-modular eclass is inherited
#SNAPSHOT="yes"
@@ -15,3 +15,5 @@ RDEPEND=""
DEPEND="${RDEPEND}
x11-libs/libX11
x11-proto/xproto"
+
+PATCHES="${FILESDIR}/${P}-fbsd.patch"