summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjoerg <joerg>2012-12-25 21:05:49 +0000
committerjoerg <joerg>2012-12-25 21:05:49 +0000
commita119638cc09237324767c5529696157a2de0f8df (patch)
tree19edd25144b5b31c9329e49ec8f21e2ba5187ec4 /multimedia
parent2ac3ab3110112cfc7235225879fa5a3f774dfcb3 (diff)
downloadpkgsrc-a119638cc09237324767c5529696157a2de0f8df.tar.gz
Fix use of inline.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ushare/distinfo7
-rw-r--r--multimedia/ushare/patches/patch-af11
-rw-r--r--multimedia/ushare/patches/patch-src_trace.c13
-rw-r--r--multimedia/ushare/patches/patch-src_trace.h13
-rw-r--r--multimedia/ushare/patches/patch-src_ushare.h12
5 files changed, 53 insertions, 3 deletions
diff --git a/multimedia/ushare/distinfo b/multimedia/ushare/distinfo
index 641c732a38f..a5fb09a0c57 100644
--- a/multimedia/ushare/distinfo
+++ b/multimedia/ushare/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2012/04/13 23:44:38 obache Exp $
+$NetBSD: distinfo,v 1.3 2012/12/25 21:05:49 joerg Exp $
SHA1 (ushare-1.1a.tar.bz2) = 1539e83cde5d80f433d262d971f5fe78486c9375
RMD160 (ushare-1.1a.tar.bz2) = 6194ffec031d20fd897f2c7cf71c3c810238713f
@@ -8,10 +8,13 @@ SHA1 (patch-ab) = 2136d6b0e92b797072ea13d30e0fcc7131ab50a6
SHA1 (patch-ac) = 0c8cc122de8d1fbdaaace4867656819cad0b84e7
SHA1 (patch-ad) = 6c8e838add604b54132fbe924c4a8697ee2e2c09
SHA1 (patch-ae) = 180151696678bb2f3ccd2bbaaaf9ed55f1c441e9
-SHA1 (patch-af) = dc3d963a613629dc0340326b9bb58174cddb4971
+SHA1 (patch-af) = 5a24743aa8709d2a8187283dcfa61a5fad035a65
SHA1 (patch-src_cds.c) = 04b56cf45b628d9a94baec4dde73709a3378e0b1
SHA1 (patch-src_cms.c) = 8056f8d90b3b893cdcd242c5fce19e9a1825790a
SHA1 (patch-src_http.c) = ea20349013d56a41c027738f950800c1ba101fc2
SHA1 (patch-src_mime.c) = d21134337a4950faaf5e29e960b5815eafdfbe12
SHA1 (patch-src_presentation.c) = d682cb85c9f5bdd5f304ea14abfa5889f28efdd3
SHA1 (patch-src_services.c) = af0d0c5e3328d78d03663eb98194210145a63629
+SHA1 (patch-src_trace.c) = 13691242d61d02a7c58647b345f6e94367111129
+SHA1 (patch-src_trace.h) = 19bc801d0d96f2d73e7f103153572b8157eb7aeb
+SHA1 (patch-src_ushare.h) = cb63c71ee925b0e68127dd21042fe3cb748bc215
diff --git a/multimedia/ushare/patches/patch-af b/multimedia/ushare/patches/patch-af
index d8b440d4bc9..0dd589f50d1 100644
--- a/multimedia/ushare/patches/patch-af
+++ b/multimedia/ushare/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.2 2012/04/13 23:44:39 obache Exp $
+$NetBSD: patch-af,v 1.3 2012/12/25 21:05:49 joerg Exp $
* Treat NetBSD same as FreeBSD.
* Move sys/param.h and config.h header files before using conditions.
@@ -100,6 +100,15 @@ $NetBSD: patch-af,v 1.2 2012/04/13 23:44:39 obache Exp $
snprintf (buf, 64, "%s-%02x%02x%02x%02x%02x%02x", DEFAULT_UUID,
(ptr[0] & 0377), (ptr[1] & 0377), (ptr[2] & 0377),
+@@ -718,7 +733,7 @@ reload_config (int s __attribute__ ((unu
+ }
+ }
+
+-inline void
++void
+ display_headers (void)
+ {
+ printf (_("%s (version %s), a lightweight UPnP A/V and DLNA Media Server.\n"),
@@ -734,11 +749,8 @@ setup_i18n(void)
#ifdef HAVE_SETLOCALE
setlocale (LC_ALL, "");
diff --git a/multimedia/ushare/patches/patch-src_trace.c b/multimedia/ushare/patches/patch-src_trace.c
new file mode 100644
index 00000000000..46678fd894d
--- /dev/null
+++ b/multimedia/ushare/patches/patch-src_trace.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_trace.c,v 1.1 2012/12/25 21:05:49 joerg Exp $
+
+--- src/trace.c.orig 2012-12-25 19:30:21.000000000 +0000
++++ src/trace.c
+@@ -57,7 +57,7 @@ print_log (log_level level, const char *
+ va_end (va);
+ }
+
+-inline void
++void
+ start_log (void)
+ {
+ openlog (PACKAGE_NAME, LOG_PID, LOG_DAEMON);
diff --git a/multimedia/ushare/patches/patch-src_trace.h b/multimedia/ushare/patches/patch-src_trace.h
new file mode 100644
index 00000000000..c57793bd2a7
--- /dev/null
+++ b/multimedia/ushare/patches/patch-src_trace.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_trace.h,v 1.1 2012/12/25 21:05:50 joerg Exp $
+
+--- src/trace.h.orig 2012-12-25 19:30:31.000000000 +0000
++++ src/trace.h
+@@ -29,7 +29,7 @@ typedef enum {
+
+ void print_log (log_level level, const char *format, ...)
+ __attribute__ ((format (printf, 2, 3)));
+-inline void start_log (void);
++void start_log (void);
+
+ /* log_info
+ * Normal print, to replace printf
diff --git a/multimedia/ushare/patches/patch-src_ushare.h b/multimedia/ushare/patches/patch-src_ushare.h
new file mode 100644
index 00000000000..90bf1bb892a
--- /dev/null
+++ b/multimedia/ushare/patches/patch-src_ushare.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_ushare.h,v 1.1 2012/12/25 21:05:50 joerg Exp $
+
+--- src/ushare.h.orig 2012-12-25 19:29:41.000000000 +0000
++++ src/ushare.h
+@@ -127,6 +127,6 @@ struct action_event_t {
+ struct service_t *service;
+ };
+
+-inline void display_headers (void);
++void display_headers (void);
+
+ #endif /* _USHARE_H_ */