summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libopendaap
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libopendaap')
-rw-r--r--media-libs/libopendaap/Manifest1
-rw-r--r--media-libs/libopendaap/files/libopendaap-0.2.3-types.h14
-rw-r--r--media-libs/libopendaap/files/libopendaap-0.3.0-types.h13
-rw-r--r--media-libs/libopendaap/files/libopendaap-0.4.0-freebsd.patch10
-rw-r--r--media-libs/libopendaap/libopendaap-0.4.0.ebuild26
-rw-r--r--media-libs/libopendaap/metadata.xml5
6 files changed, 69 insertions, 0 deletions
diff --git a/media-libs/libopendaap/Manifest b/media-libs/libopendaap/Manifest
new file mode 100644
index 000000000000..c52e12a51332
--- /dev/null
+++ b/media-libs/libopendaap/Manifest
@@ -0,0 +1 @@
+DIST libopendaap-0.4.0.tar.bz2 241953 SHA256 6defc33534b32c7f9bdf057c1593c098cf7b6272ed20100f8b8a28c2d8e42b3c
diff --git a/media-libs/libopendaap/files/libopendaap-0.2.3-types.h b/media-libs/libopendaap/files/libopendaap-0.2.3-types.h
new file mode 100644
index 000000000000..25c25957fd5b
--- /dev/null
+++ b/media-libs/libopendaap/files/libopendaap-0.2.3-types.h
@@ -0,0 +1,14 @@
+diff -Naur libopendaap-0.2.3.orig/mDNS/mDNSClientAPI.h libopendaap-0.2.3/mDNS/mDNSClientAPI.h
+--- libopendaap-0.2.3.orig/mDNS/mDNSClientAPI.h 2004-04-13 00:05:11.000000000 -0700
++++ libopendaap-0.2.3/mDNS/mDNSClientAPI.h 2004-10-05 12:58:19.996946514 -0700
+@@ -483,8 +483,8 @@
+ typedef unsigned char mDNSu8;
+ typedef signed short mDNSs16;
+ typedef unsigned short mDNSu16;
+-typedef signed long mDNSs32;
+-typedef unsigned long mDNSu32;
++typedef signed int mDNSs32;
++typedef unsigned int mDNSu32;
+
+ // To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct
+ // This way, mDNSInterfaceIDs can be assigned, and compared with each other, but not with other types
diff --git a/media-libs/libopendaap/files/libopendaap-0.3.0-types.h b/media-libs/libopendaap/files/libopendaap-0.3.0-types.h
new file mode 100644
index 000000000000..6973f136d0e0
--- /dev/null
+++ b/media-libs/libopendaap/files/libopendaap-0.3.0-types.h
@@ -0,0 +1,13 @@
+--- libopendaap-0.3.0/mDNS/mDNSClientAPI.h.orig 2005-01-23 15:39:04.834290477 -0800
++++ libopendaap-0.3.0/mDNS/mDNSClientAPI.h 2005-01-23 15:39:41.512250333 -0800
+@@ -483,8 +483,8 @@
+ typedef unsigned char mDNSu8;
+ typedef signed short mDNSs16;
+ typedef unsigned short mDNSu16;
+-typedef signed long mDNSs32;
+-typedef unsigned long mDNSu32;
++typedef signed int mDNSs32;
++typedef unsigned int mDNSu32;
+
+ // To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct
+ // This way, mDNSInterfaceIDs can be assigned, and compared with each other, but not with other types
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
new file mode 100644
index 000000000000..791160066db1
--- /dev/null
+++ b/media-libs/libopendaap/libopendaap-0.4.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+DESCRIPTION="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"
+
+LICENSE="MIT"
+SLOT="0"
+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
+ dodoc AUTHORS ChangeLog
+}
diff --git a/media-libs/libopendaap/metadata.xml b/media-libs/libopendaap/metadata.xml
new file mode 100644
index 000000000000..aa0f3664825f
--- /dev/null
+++ b/media-libs/libopendaap/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+</pkgmetadata>