public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/ushare/files/
@ 2016-03-06 16:13 Markos Chandras
  0 siblings, 0 replies; only message in thread
From: Markos Chandras @ 2016-03-06 16:13 UTC (permalink / raw
  To: gentoo-commits

commit:     432aa1cabbbb9eacceddb765adf1831ad8644d0f
Author:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 16:05:56 2016 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 16:11:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432aa1ca

media-video/ushare: Fix building with gcc-5. Bug #569968

Package-Manager: portage-2.2.27

 media-video/ushare/files/08_all_gcc5.patch | 45 ++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/media-video/ushare/files/08_all_gcc5.patch b/media-video/ushare/files/08_all_gcc5.patch
new file mode 100644
index 0000000..d76f877
--- /dev/null
+++ b/media-video/ushare/files/08_all_gcc5.patch
@@ -0,0 +1,45 @@
+Various gcc-5 fixes
+
+https://gcc.gnu.org/gcc-5/porting_to.html
+
+Signed-off-by: Markos Chandras <hwoarang@gentoo.org>
+Index: ushare-1.1a/src/trace.h
+===================================================================
+--- ushare-1.1a.orig/src/trace.h
++++ ushare-1.1a/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);
++extern inline void start_log (void);
+ 
+ /* log_info
+  * Normal print, to replace printf
+Index: ushare-1.1a/src/ushare.h
+===================================================================
+--- ushare-1.1a.orig/src/ushare.h
++++ ushare-1.1a/src/ushare.h
+@@ -127,6 +127,6 @@ struct action_event_t {
+   struct service_t *service;
+ };
+ 
+-inline void display_headers (void);
++extern inline void display_headers (void);
+ 
+ #endif /* _USHARE_H_ */
+Index: ushare-1.1a/src/ushare.c
+===================================================================
+--- ushare-1.1a.orig/src/ushare.c
++++ ushare-1.1a/src/ushare.c
+@@ -49,6 +49,10 @@
+ #include <ifaddrs.h>
+ #endif
+ 
++#ifdef HAVE_LOCALE_H
++#include <locale.h>
++#endif
++
+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
+ #include <sys/param.h>
+ #endif


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-06 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-06 16:13 [gentoo-commits] repo/gentoo:master commit in: media-video/ushare/files/ Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox