summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/nvclock')
-rw-r--r--sys-power/nvclock/ChangeLog8
-rw-r--r--sys-power/nvclock/files/nvclock-0.8_p20110102-usleep.patch10
-rw-r--r--sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild8
3 files changed, 21 insertions, 5 deletions
diff --git a/sys-power/nvclock/ChangeLog b/sys-power/nvclock/ChangeLog
index 18927cceaf98..1a6cb2767bf7 100644
--- a/sys-power/nvclock/ChangeLog
+++ b/sys-power/nvclock/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/nvclock
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/ChangeLog,v 1.10 2011/04/25 04:26:56 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/ChangeLog,v 1.11 2012/05/16 19:44:01 jer Exp $
+
+ 16 May 2012; Jeroen Roovers <jer@gentoo.org> nvclock-0.8_p20110102-r1.ebuild,
+ +files/nvclock-0.8_p20110102-usleep.patch:
+ Really fix the unistd.h include.
25 Apr 2011; Jeroen Roovers <jer@gentoo.org> nvclock-0.8_p20110102-r1.ebuild:
Fix missing define.
diff --git a/sys-power/nvclock/files/nvclock-0.8_p20110102-usleep.patch b/sys-power/nvclock/files/nvclock-0.8_p20110102-usleep.patch
new file mode 100644
index 000000000000..4391ee79ff83
--- /dev/null
+++ b/sys-power/nvclock/files/nvclock-0.8_p20110102-usleep.patch
@@ -0,0 +1,10 @@
+--- a/src/backend/libc_wrapper.c
++++ b/src/backend/libc_wrapper.c
+@@ -27,6 +27,7 @@
+
+ #include <stdio.h>
+ #include "xfree.h"
++#include "config.h"
+
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
diff --git a/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild b/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
index 0799c71a6043..2f09f0e6765a 100644
--- a/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
+++ b/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild,v 1.6 2011/04/25 04:26:56 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nvclock/nvclock-0.8_p20110102-r1.ebuild,v 1.7 2012/05/16 19:44:01 jer Exp $
EAPI="2"
@@ -22,7 +22,9 @@ RDEPEND="
DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-make.patch
+ epatch \
+ "${FILESDIR}"/${P}-make.patch \
+ "${FILESDIR}"/${P}-usleep.patch
eautoreconf
}