aboutsummaryrefslogtreecommitdiff
path: root/net/ushare
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-04-27 14:28:11 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-04-27 14:28:11 +0000
commitb9972244a7399395aa0a47c6cc0fd22c86dca825 (patch)
tree0c63ccb1e74074ace2f20ab9efb444c19256535b /net/ushare
parent1cfcfc47535b33717a36751394c12091cbac653d (diff)
Notes
Diffstat (limited to 'net/ushare')
-rw-r--r--net/ushare/Makefile4
-rw-r--r--net/ushare/files/patch-http.h24
2 files changed, 2 insertions, 26 deletions
diff --git a/net/ushare/Makefile b/net/ushare/Makefile
index fdade185ec85..8589480a4ecb 100644
--- a/net/ushare/Makefile
+++ b/net/ushare/Makefile
@@ -7,14 +7,14 @@
PORTNAME= ushare
PORTVERSION= 1.1a
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= net
MASTER_SITES= http://ushare.geexbox.org/releases/
MAINTAINER= votdev@gmx.de
COMMENT= A lightweight UPnP (TM) A/V Media Server
-LIB_DEPENDS= upnp.8:${PORTSDIR}/devel/upnp
+LIB_DEPENDS= upnp.9:${PORTSDIR}/devel/upnp
HAS_CONFIGURE= yes
USE_BZIP2= yes
diff --git a/net/ushare/files/patch-http.h b/net/ushare/files/patch-http.h
deleted file mode 100644
index 5fca23071332..000000000000
--- a/net/ushare/files/patch-http.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/http.h.orig 2007-12-09 15:03:36.000000000 +0200
-+++ src/http.h 2010-11-09 14:29:36.150630970 +0200
-@@ -25,6 +25,21 @@
- #include <upnp/upnp.h>
- #include <upnp/upnptools.h>
-
-+#ifdef __FreeBSD__
-+struct UpnpVirtualDirCallbacks {
-+int (*get_info) __P((const char *filename, struct File_Info *info)) ;
-+UpnpWebFileHandle (*open) __P((const char *filename, enum UpnpOpenFileMode mode)) ;
-+int (*read) __P((UpnpWebFileHandle fh, char *buf, size_t buflen)) ;
-+int (*write) __P((UpnpWebFileHandle fh __attribute__((unused)),
-+ char *buf __attribute__((unused)),
-+ size_t buflen __attribute__((unused)))) ;
-+int (*seek) __P((UpnpWebFileHandle fh, off_t offset, int origin)) ;
-+int (*close) __P((UpnpWebFileHandle fh)) ;
-+} ;
-+
-+extern struct UpnpVirtualDirCallbacks virtual_dir_callbacks;
-+#else
- struct UpnpVirtualDirCallbacks virtual_dir_callbacks;
-+#endif /* __FreeBSD__ */
-
- #endif /* _HTTP_H_ */