summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-04-20 15:28:04 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-04-20 15:28:04 +0000
commitae52dab6e487dff3895b2eec0499af4692f6e3b4 (patch)
tree76772197da56ccd2a2bbab1d7b4b91f1c1a09099 /media-libs/libopendaap
parentRemove generation 1 ebuild. (diff)
downloadgentoo-2-ae52dab6e487dff3895b2eec0499af4692f6e3b4.tar.gz
gentoo-2-ae52dab6e487dff3895b2eec0499af4692f6e3b4.tar.bz2
gentoo-2-ae52dab6e487dff3895b2eec0499af4692f6e3b4.zip
Add patch to compile under g/fbsd by Timothy Redaelli <drizzt at gentoo dot org>, bug 175205
(Portage version: 2.1.2.4)
Diffstat (limited to 'media-libs/libopendaap')
-rw-r--r--media-libs/libopendaap/ChangeLog7
-rw-r--r--media-libs/libopendaap/files/libopendaap-0.4.0-freebsd.patch10
-rw-r--r--media-libs/libopendaap/libopendaap-0.4.0.ebuild15
3 files changed, 27 insertions, 5 deletions
diff --git a/media-libs/libopendaap/ChangeLog b/media-libs/libopendaap/ChangeLog
index 2dfe327c7550..21c07d1ec9f9 100644
--- a/media-libs/libopendaap/ChangeLog
+++ b/media-libs/libopendaap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libopendaap
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libopendaap/ChangeLog,v 1.21 2007/02/22 01:59:45 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libopendaap/ChangeLog,v 1.22 2007/04/20 15:28:04 armin76 Exp $
+
+ 20 Apr 2007; Raúl Porcel <armin76@gentoo.org>
+ +files/libopendaap-0.4.0-freebsd.patch, libopendaap-0.4.0.ebuild:
+ Add patch to compile under g/fbsd by Timothy Redaelli <drizzt at gentoo dot
+ org>, bug 175205
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/media-libs/libopendaap/files/libopendaap-0.4.0-freebsd.patch b/media-libs/libopendaap/files/libopendaap-0.4.0-freebsd.patch
new file mode 100644
index 000000000000..d98569f4db64
--- /dev/null
+++ b/media-libs/libopendaap/files/libopendaap-0.4.0-freebsd.patch
@@ -0,0 +1,10 @@
+--- http_client.c.orig Fri Dec 17 00:27:43 2004
++++ http_client.c Wed Feb 2 21:33:28 2005
+@@ -37,6 +37,7 @@
+ # include <sys/socket.h>
+ # include <sys/select.h>
+ # include <netdb.h>
++# include <netinet/in.h>
+ # include <fcntl.h>
+ #elif defined(SYSTEM_WIN32)
+ # include <winsock2.h>
diff --git a/media-libs/libopendaap/libopendaap-0.4.0.ebuild b/media-libs/libopendaap/libopendaap-0.4.0.ebuild
index 01f759b22b15..c50bc26849d4 100644
--- a/media-libs/libopendaap/libopendaap-0.4.0.ebuild
+++ b/media-libs/libopendaap/libopendaap-0.4.0.ebuild
@@ -1,17 +1,24 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libopendaap/libopendaap-0.4.0.ebuild,v 1.11 2006/07/08 08:19:39 corsair Exp $
-
-IUSE=""
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libopendaap/libopendaap-0.4.0.ebuild,v 1.12 2007/04/20 15:28:04 armin76 Exp $
inherit eutils
DESCRIPTION="libopendaap is a library which enables applications to discover and connect to iTunes(R) music shares"
SRC_URI="http://crazney.net/programs/itunes/files/${P}.tar.bz2"
HOMEPAGE="http://crazney.net/programs/itunes/libopendaap.html"
+
SLOT="0"
LICENSE="crazney APSL-2"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-freebsd.patch
+}
src_install() {
make DESTDIR="${D}" install || die