public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:musl commit in: x11-apps/sessreg/, x11-apps/sessreg/files/
@ 2014-06-18 14:06 Anthony G. Basile
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile @ 2014-06-18 14:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e73419cfe1ae734801be4e6359a4566d6d8c4b1c
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 14:06:12 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 14:06:12 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=e73419cf

x11-apps/sessreg: define missing _PATH_WTMPX

Package-Manager: portage-2.2.8-r1
RepoMan-Options: --force
Manifest-Sign-Key: 0xF52D4BBA

---
 .../files/sessreg-1.0.8-missing_path_wtmpx.patch      | 12 ++++++++++++
 x11-apps/sessreg/metadata.xml                         |  5 +++++
 x11-apps/sessreg/sessreg-1.0.8-r99.ebuild             | 19 +++++++++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/x11-apps/sessreg/files/sessreg-1.0.8-missing_path_wtmpx.patch b/x11-apps/sessreg/files/sessreg-1.0.8-missing_path_wtmpx.patch
new file mode 100644
index 0000000..dac2124
--- /dev/null
+++ b/x11-apps/sessreg/files/sessreg-1.0.8-missing_path_wtmpx.patch
@@ -0,0 +1,12 @@
+diff -Naur sessreg-1.0.8.orig/sessreg.h sessreg-1.0.8/sessreg.h
+--- sessreg-1.0.8.orig/sessreg.h	2013-02-10 21:43:50.000000000 -0500
++++ sessreg-1.0.8/sessreg.h	2014-06-18 10:02:17.769459663 -0400
+@@ -106,3 +106,8 @@
+ #ifndef UTMPX_FILE
+ # define UTMPX_FILE	_PATH_UTMPX
+ #endif
++
++#ifndef _PATH_WTMPX
++# define _PATH_WTMPX	"/var/log/wtmp"
++#endif
++

diff --git a/x11-apps/sessreg/metadata.xml b/x11-apps/sessreg/metadata.xml
new file mode 100644
index 0000000..01c4c00
--- /dev/null
+++ b/x11-apps/sessreg/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>

diff --git a/x11-apps/sessreg/sessreg-1.0.8-r99.ebuild b/x11-apps/sessreg/sessreg-1.0.8-r99.ebuild
new file mode 100644
index 0000000..f855578
--- /dev/null
+++ b/x11-apps/sessreg/sessreg-1.0.8-r99.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/sessreg/sessreg-1.0.8.ebuild,v 1.10 2013/10/08 05:02:56 ago Exp $
+
+EAPI=5
+inherit eutils xorg-2
+
+DESCRIPTION="manage utmp/wtmp entries for non-init clients"
+
+KEYWORDS="amd64 arm ~mips x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+	x11-proto/xproto"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-missing_path_wtmpx.patch
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-18 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18 14:06 [gentoo-commits] proj/hardened-dev:musl commit in: x11-apps/sessreg/, x11-apps/sessreg/files/ Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox