summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2006-04-03 14:15:18 +0000
committerCarsten Lohrke <carlo@gentoo.org>2006-04-03 14:15:18 +0000
commita4b80ed2016bf67fcf8444743b115ecc18c0875b (patch)
treefd924b74da68252cd37c803aafa39d7ea53fb91d /kde-base/ksmserver
parentStable on x86 (diff)
downloadgentoo-2-a4b80ed2016bf67fcf8444743b115ecc18c0875b.tar.gz
gentoo-2-a4b80ed2016bf67fcf8444743b115ecc18c0875b.tar.bz2
gentoo-2-a4b80ed2016bf67fcf8444743b115ecc18c0875b.zip
Check for sys/time.h on FreeBSD.
(Portage version: 2.0.54)
Diffstat (limited to 'kde-base/ksmserver')
-rw-r--r--kde-base/ksmserver/ChangeLog6
-rw-r--r--kde-base/ksmserver/files/ksmserver-3.5.2-freebsd-time.h-test.diff13
-rw-r--r--kde-base/ksmserver/ksmserver-3.5.2.ebuild4
3 files changed, 21 insertions, 2 deletions
diff --git a/kde-base/ksmserver/ChangeLog b/kde-base/ksmserver/ChangeLog
index ed584d019421..f61101cc62c0 100644
--- a/kde-base/ksmserver/ChangeLog
+++ b/kde-base/ksmserver/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/ksmserver
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/ksmserver/ChangeLog,v 1.29 2006/04/01 19:02:27 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/ksmserver/ChangeLog,v 1.30 2006/04/03 14:15:18 carlo Exp $
+
+ 03 Apr 2006; Carsten Lohrke <carlo@gentoo.org>
+ +files/ksmserver-3.5.2-freebsd-time.h-test.diff, ksmserver-3.5.2.ebuild:
+ Check for sys/time.h on FreeBSD.
01 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> ksmserver-3.5.2.ebuild:
Add ~x86-fbsd keyword.
diff --git a/kde-base/ksmserver/files/ksmserver-3.5.2-freebsd-time.h-test.diff b/kde-base/ksmserver/files/ksmserver-3.5.2-freebsd-time.h-test.diff
new file mode 100644
index 000000000000..e3ec3a6634cd
--- /dev/null
+++ b/kde-base/ksmserver/files/ksmserver-3.5.2-freebsd-time.h-test.diff
@@ -0,0 +1,13 @@
+--- kdebase/ksmserver/legacy.cpp 2006/01/26 07:02:41 502474
++++ kdebase/ksmserver/legacy.cpp 2006/03/29 11:44:07 523859
+@@ -40,6 +40,10 @@
+
+ #include "server.h"
+
++#ifdef HAVE_SYS_TIME_H
++#include <sys/time.h>
++#endif
++
+ #include <unistd.h>
+
+ #include <qtimer.h>
diff --git a/kde-base/ksmserver/ksmserver-3.5.2.ebuild b/kde-base/ksmserver/ksmserver-3.5.2.ebuild
index 38e1d44c0f06..b6a24f8ae0b5 100644
--- a/kde-base/ksmserver/ksmserver-3.5.2.ebuild
+++ b/kde-base/ksmserver/ksmserver-3.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/ksmserver/ksmserver-3.5.2.ebuild,v 1.3 2006/04/01 19:02:27 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/ksmserver/ksmserver-3.5.2.ebuild,v 1.4 2006/04/03 14:15:18 carlo Exp $
KMNAME=kdebase
MAXKDEVER=$PV
@@ -14,3 +14,5 @@ IUSE=""
KMEXTRACTONLY="kdm/kfrontend/themer/"
KMCOMPILEONLY="kdmlib/"
KMNODOCS=true
+
+PATCHES="${FILESDIR}/ksmserver-3.5.2-freebsd-time.h-test.diff" \ No newline at end of file