From cd05f535e9c53f9e64da1392a7e090184d16fdc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Fri, 20 Apr 2007 15:28:04 +0000 Subject: [PATCH] Add patch to compile under g/fbsd by Timothy Redaelli , bug 175205 Package-Manager: portage-2.1.2.4 --- media-libs/libopendaap/ChangeLog | 7 ++++++- media-libs/libopendaap/Manifest | 20 +++++++++++-------- .../files/libopendaap-0.4.0-freebsd.patch | 10 ++++++++++ .../libopendaap/libopendaap-0.4.0.ebuild | 15 ++++++++++---- 4 files changed, 39 insertions(+), 13 deletions(-) create mode 100644 media-libs/libopendaap/files/libopendaap-0.4.0-freebsd.patch 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 + +files/libopendaap-0.4.0-freebsd.patch, libopendaap-0.4.0.ebuild: + Add patch to compile under g/fbsd by Timothy Redaelli , bug 175205 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/media-libs/libopendaap/Manifest b/media-libs/libopendaap/Manifest index 686d87e25fe7..ed0ed1915543 100644 --- a/media-libs/libopendaap/Manifest +++ b/media-libs/libopendaap/Manifest @@ -6,6 +6,10 @@ AUX libopendaap-0.3.0-types.h 610 RMD160 b81782131cf643f34e729aab275be23fba7b1ae MD5 5d449c7e532679f6cb0aca9271b5c4c0 files/libopendaap-0.3.0-types.h 610 RMD160 b81782131cf643f34e729aab275be23fba7b1aeb files/libopendaap-0.3.0-types.h 610 SHA256 60293bfa981ec124bdd6655bcecf250e4e2316aa7440cab2eed1463e5b47ff8f files/libopendaap-0.3.0-types.h 610 +AUX libopendaap-0.4.0-freebsd.patch 282 RMD160 8d68f44af0f5d9609e6bb8dccb68a1163971a12f SHA1 7f768d147b2b75e0bb04e7c17347e518db419234 SHA256 7b08d2737f9f165c0556216c253ffd2173361af4c052de5e04def705baf98428 +MD5 097b8c84a94fa8942ec675f400748457 files/libopendaap-0.4.0-freebsd.patch 282 +RMD160 8d68f44af0f5d9609e6bb8dccb68a1163971a12f files/libopendaap-0.4.0-freebsd.patch 282 +SHA256 7b08d2737f9f165c0556216c253ffd2173361af4c052de5e04def705baf98428 files/libopendaap-0.4.0-freebsd.patch 282 DIST libopendaap-0.2.3.tar.bz2 360110 RMD160 c7031463d6dd661a122b2b8510ca595fd8d3aaf7 SHA1 09e358800ffc3440b23ad12ce6d1bf22edba6e0f SHA256 facdffd3ca53354841e1fee8eb7496559a0b49ec4b0b98f95d28bcdeb3633a42 DIST libopendaap-0.3.0.tar.bz2 365682 RMD160 2218783e40e7f48a7b89b2e27145e4964f7dd687 SHA1 21817a7886ffc8c4d88c621231569562c61356db SHA256 e56129ce7a3e28cf7aeed58d06cb839eadf0bd0df88923cd854cf23d3c3956c8 DIST libopendaap-0.4.0.tar.bz2 241953 RMD160 ed8732c6c487ef4902ff2d68552a66418cf2760d SHA1 5fe4382af7ecc97a6cb510ebec87b40d6cf6ef38 SHA256 6defc33534b32c7f9bdf057c1593c098cf7b6272ed20100f8b8a28c2d8e42b3c @@ -17,14 +21,14 @@ EBUILD libopendaap-0.3.0.ebuild 751 RMD160 bee46c64aa3c71a6b55a80846f8c71411a41a MD5 9e3954a4aa6939352f2fafb0c8429c8e libopendaap-0.3.0.ebuild 751 RMD160 bee46c64aa3c71a6b55a80846f8c71411a41a291 libopendaap-0.3.0.ebuild 751 SHA256 0126319a98b834220e438aa4b11a883c2845de7cd421ae2058e3d2078eb4ffbf libopendaap-0.3.0.ebuild 751 -EBUILD libopendaap-0.4.0.ebuild 685 RMD160 4591353585e1494af2b6f7dcc400be5602953a47 SHA1 647a71fac704c8b8cd0c0bdf72f8b1bf8b96735b SHA256 27d42de616336f15de68adb675a6ea94c16c305a1bd22f6cbda737e8ee827f30 -MD5 36e66d9e23d1707c6013a4cc872c7d4e libopendaap-0.4.0.ebuild 685 -RMD160 4591353585e1494af2b6f7dcc400be5602953a47 libopendaap-0.4.0.ebuild 685 -SHA256 27d42de616336f15de68adb675a6ea94c16c305a1bd22f6cbda737e8ee827f30 libopendaap-0.4.0.ebuild 685 -MISC ChangeLog 2813 RMD160 09969f20f466743116f0d2a7fbe6ef74ea6e8f70 SHA1 e7361101b6d05178f59ff5e72ab1c0afd26c1164 SHA256 f5abd64d967399df00a01e8227754c838f9dbb9da9c7e047fc5e8bb4fe23019c -MD5 75990d30428209889fba6a1d47d78652 ChangeLog 2813 -RMD160 09969f20f466743116f0d2a7fbe6ef74ea6e8f70 ChangeLog 2813 -SHA256 f5abd64d967399df00a01e8227754c838f9dbb9da9c7e047fc5e8bb4fe23019c ChangeLog 2813 +EBUILD libopendaap-0.4.0.ebuild 769 RMD160 d3f070c36bd8a68ee4fb4754c6d6148e6d99a494 SHA1 99cdef691660fd381763897d99abaccef0717d62 SHA256 e5f9644e837db2b9f20aae7dd44ee84a831239776ed8fb5b5976034f47659963 +MD5 56f07bd41a0419b2c51b196bf94ec226 libopendaap-0.4.0.ebuild 769 +RMD160 d3f070c36bd8a68ee4fb4754c6d6148e6d99a494 libopendaap-0.4.0.ebuild 769 +SHA256 e5f9644e837db2b9f20aae7dd44ee84a831239776ed8fb5b5976034f47659963 libopendaap-0.4.0.ebuild 769 +MISC ChangeLog 3030 RMD160 b571e8a8e23522016bff5884dfa8ec1aaf5a8133 SHA1 2935935a551abe8ab3e50070564b6d7f9cbf8bec SHA256 8f874f1da59a792628294d42971399fa1ecb593deca8f5c7a6929e5c6815b3e1 +MD5 7f0aa303cb2679baf8a9e8efa0980df3 ChangeLog 3030 +RMD160 b571e8a8e23522016bff5884dfa8ec1aaf5a8133 ChangeLog 3030 +SHA256 8f874f1da59a792628294d42971399fa1ecb593deca8f5c7a6929e5c6815b3e1 ChangeLog 3030 MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160 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 + # include + # include ++# include + # include + #elif defined(SYSTEM_WIN32) + # include 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 -- 2.26.2