summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video')
-rw-r--r--media-video/kaffeine/ChangeLog6
-rw-r--r--media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch26
-rw-r--r--media-video/kaffeine/kaffeine-0.8.2-r1.ebuild7
3 files changed, 36 insertions, 3 deletions
diff --git a/media-video/kaffeine/ChangeLog b/media-video/kaffeine/ChangeLog
index edba6f7ba513..911c3dbd9e3f 100644
--- a/media-video/kaffeine/ChangeLog
+++ b/media-video/kaffeine/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/kaffeine
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kaffeine/ChangeLog,v 1.61 2006/10/01 17:49:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kaffeine/ChangeLog,v 1.62 2006/11/07 22:42:24 flameeyes Exp $
+
+ 07 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/kaffeine-0.8.2-fbsd.patch, kaffeine-0.8.2-r1.ebuild:
+ Add patch to build on Gentoo/FreeBSD and add ~x86-fbsd keyword.
01 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
kaffeine-0.8.2-r1.ebuild:
diff --git a/media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch b/media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch
new file mode 100644
index 000000000000..fb8b15444fa7
--- /dev/null
+++ b/media-video/kaffeine/files/kaffeine-0.8.2-fbsd.patch
@@ -0,0 +1,26 @@
+Index: kaffeine/src/input/disc/paranoia.cpp
+===================================================================
+--- kaffeine/src/input/disc/paranoia.cpp (revision 603099)
++++ kaffeine/src/input/disc/paranoia.cpp (working copy)
+@@ -16,7 +16,12 @@
+
++#include "config.h"
+ #include <unistd.h>
+ #include <math.h>
++#ifdef HAVE_ENDIAN_H
+ #include <endian.h>
++#else
++#include <sys/endian.h>
++#endif
+
+ #include <qfile.h>
+ #include <qslider.h>
+Index: kaffeine/configure.in.in
+===================================================================
+--- kaffeine/configure.in.in (revision 603099)
++++ kaffeine/configure.in.in (working copy)
+@@ -161,3 +161,4 @@
+
++AC_CHECK_HEADERS([endian.h sys/endian.h])
+ AC_CHECK_HEADER(cdda_interface.h, have_cdparanoia="yes", have_cdparanoia="no")
+
diff --git a/media-video/kaffeine/kaffeine-0.8.2-r1.ebuild b/media-video/kaffeine/kaffeine-0.8.2-r1.ebuild
index a867b739d5d9..b935d2fc4e94 100644
--- a/media-video/kaffeine/kaffeine-0.8.2-r1.ebuild
+++ b/media-video/kaffeine/kaffeine-0.8.2-r1.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/media-video/kaffeine/kaffeine-0.8.2-r1.ebuild,v 1.2 2006/10/01 17:49:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kaffeine/kaffeine-0.8.2-r1.ebuild,v 1.3 2006/11/07 22:42:24 flameeyes Exp $
inherit eutils kde
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/kaffeine/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="dvb gstreamer xinerama vorbis encode kdehiddenvisibility"
RDEPEND="|| ( x11-base/xorg-server
@@ -43,6 +43,9 @@ src_unpack() {
# Workaround incomplete autotools support from upstream
mv "${P}" "${PN}"
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-fbsd.patch"
}
src_compile() {