summaryrefslogtreecommitdiff
path: root/multimedia/ushare/patches/patch-ac
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-05-23 08:18:04 +0000
committerobache <obache@pkgsrc.org>2010-05-23 08:18:04 +0000
commit89b878dbaf4a4e486ea8ca1805d0ffce9074be0c (patch)
tree68868df6e3be8f7838235b99525744bf80a24732 /multimedia/ushare/patches/patch-ac
parent10fdacfa7909e59ae0aaf06599c8c2f2eee0f2e3 (diff)
downloadpkgsrc-89b878dbaf4a4e486ea8ca1805d0ffce9074be0c.tar.gz
Import ushare-1.1a as multimedia/ushare.
uShare is a UPnP (TM) A/V Media Server. It implements the server component that provides UPnP media devices with information on available multimedia files. uShare uses the built-in http server of libupnp to stream the files to clients. GeeXboX uShare is able to provide access to both images, videos, music or playlists files (see below for a complete file format support list). It does not act as an UPnP Media Adaptor and thus, can't transcode streams to fit the client requirements. uShare is written in C for the GeeXboX project. It is designed to provide access to multimedia contents to GeeXboX but can of course be used by any other UPnP client device. It should compile and run on any modern POSIX compatible system such as Linux. uShare is free software - it is licensed under the terms of the GNU General Public License (GPL).
Diffstat (limited to 'multimedia/ushare/patches/patch-ac')
-rw-r--r--multimedia/ushare/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/ushare/patches/patch-ac b/multimedia/ushare/patches/patch-ac
new file mode 100644
index 00000000000..9f8db81a42d
--- /dev/null
+++ b/multimedia/ushare/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2010/05/23 08:18:04 obache Exp $
+
+Treat NetBSD same as FreeBSD.
+
+--- src/cfgparser.h.orig 2007-12-09 13:03:36.000000000 +0000
++++ src/cfgparser.h
+@@ -37,7 +37,7 @@
+ #define USHARE_CONFIG_FILE "ushare.conf"
+ #define DEFAULT_USHARE_NAME "uShare"
+
+-#if (defined(BSD) || defined(__FreeBSD__))
++#if (defined(BSD) || defined(__FreeBSD__) || defined(__NetBSD__))
+ #define DEFAULT_USHARE_IFACE "lnc0"
+ #else /* Linux */
+ #define DEFAULT_USHARE_IFACE "eth0"