summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Romans <killsoft@gentoo.org>2004-12-09 02:53:46 +0000
committerRob Romans <killsoft@gentoo.org>2004-12-09 02:53:46 +0000
commit572042f018b38eef0f440ca0bfb3c1aaf80c6e30 (patch)
treeac61cef6c5f561bdc9310e46cbf4c4f39d8b0ce5 /media-radio
parentInitial import into the tree. This closes bug #56378. Thanks to initial ebu... (diff)
downloadhistorical-572042f018b38eef0f440ca0bfb3c1aaf80c6e30.tar.gz
historical-572042f018b38eef0f440ca0bfb3c1aaf80c6e30.tar.bz2
historical-572042f018b38eef0f440ca0bfb3c1aaf80c6e30.zip
fix compile problem on newer systems, back to unstable.
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/ktrack/Manifest3
-rw-r--r--media-radio/ktrack/files/ktrack-time_include_fix.diff10
-rw-r--r--media-radio/ktrack/ktrack-0.3.0_rc1.ebuild10
3 files changed, 20 insertions, 3 deletions
diff --git a/media-radio/ktrack/Manifest b/media-radio/ktrack/Manifest
index b0f552593968..4184efe6b5e1 100644
--- a/media-radio/ktrack/Manifest
+++ b/media-radio/ktrack/Manifest
@@ -1,4 +1,5 @@
MD5 35bac091f4d6aa314d4c95bbacbdecd6 ChangeLog 556
-MD5 74292e156a75b90a45ba0f5507d7ea09 ktrack-0.3.0_rc1.ebuild 547
+MD5 6e9f11facd839a71e0ac93294d127a55 ktrack-0.3.0_rc1.ebuild 662
MD5 28d0c3bb6c80425620241cff231da8d3 metadata.xml 224
+MD5 e53455b9e5cb455a5391588ac18978f9 files/ktrack-time_include_fix.diff 277
MD5 409250505400437d9d102ff24c417b22 files/digest-ktrack-0.3.0_rc1 69
diff --git a/media-radio/ktrack/files/ktrack-time_include_fix.diff b/media-radio/ktrack/files/ktrack-time_include_fix.diff
new file mode 100644
index 000000000000..fe2eea23717b
--- /dev/null
+++ b/media-radio/ktrack/files/ktrack-time_include_fix.diff
@@ -0,0 +1,10 @@
+--- ktrack/globals.h.orig 2004-12-08 20:31:15.145126088 -0600
++++ ktrack/globals.h 2004-12-08 20:32:49.632761784 -0600
+@@ -30,6 +30,7 @@
+ #include <qstring.h>
+ #include <stdio.h>
+ #include <time.h>
++#include <sys/time.h>
+ #include <hamlib/rig.h>
+ #include <hamlib/rotator.h>
+
diff --git a/media-radio/ktrack/ktrack-0.3.0_rc1.ebuild b/media-radio/ktrack/ktrack-0.3.0_rc1.ebuild
index ac01b55e0e35..56be111fbb07 100644
--- a/media-radio/ktrack/ktrack-0.3.0_rc1.ebuild
+++ b/media-radio/ktrack/ktrack-0.3.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/ktrack/ktrack-0.3.0_rc1.ebuild,v 1.3 2004/08/04 23:13:26 killsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/ktrack/ktrack-0.3.0_rc1.ebuild,v 1.4 2004/12/09 02:53:46 killsoft Exp $
inherit kde
@@ -12,7 +12,7 @@ HOMEPAGE="http://ktrack.sourceforge.net/"
SRC_URI="mirror://sourceforge/ktrack/${MY_P}.tar.bz2"
SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="~x86 ~ppc"
LICENSE="GPL-2"
IUSE=""
@@ -20,3 +20,9 @@ RDEPEND="x11-misc/xplanet
media-libs/hamlib"
need-kde 3
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-time_include_fix.diff || \
+ die "epatch failed"
+}