View | Details | Raw Unified | Return to bug 209722
Collapse All | Expand All

(-)multimedia/vlc/files/patch-include_vlc__atomic.h (+17 lines)
Line 0 Link Here
1
--- include/vlc_atomic.h.orig	2014-08-14 07:20:03 UTC
2
+++ include/vlc_atomic.h
3
@@ -32,6 +32,14 @@
4
 /*** Native C11 atomics ***/
5
 #  include <stdatomic.h>
6
 
7
+# elif defined (__cplusplus) && defined(_LIBCPP_VERSION) && _LIBCPP_VERSION >= 3800
8
+
9
+#  include <atomic>
10
+
11
+using std::atomic_uint_least32_t;
12
+using std::atomic_uintptr_t;
13
+using std::atomic_int;
14
+
15
 # else
16
 
17
 #  define ATOMIC_FLAG_INIT false
(-)multimedia/vlc/files/patch-include_vlc__playlist.h (+19 lines)
Line 0 Link Here
1
--- include/vlc_playlist.h.orig	2014-11-16 18:57:58 UTC
2
+++ include/vlc_playlist.h
3
@@ -24,13 +24,13 @@
4
 #ifndef VLC_PLAYLIST_H_
5
 #define VLC_PLAYLIST_H_
6
 
7
+#include <vlc_input.h>
8
+#include <vlc_events.h>
9
+
10
 # ifdef __cplusplus
11
 extern "C" {
12
 # endif
13
 
14
-#include <vlc_input.h>
15
-#include <vlc_events.h>
16
-
17
 TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t)
18
 
19
 struct intf_thread_t;
(-)multimedia/vlc/files/patch-include_vlc__sout.h (+22 lines)
Line 0 Link Here
1
--- include/vlc_sout.h.orig	2014-11-16 18:57:58 UTC
2
+++ include/vlc_sout.h
3
@@ -28,6 +28,9 @@
4
 #ifndef VLC_SOUT_H_
5
 #define VLC_SOUT_H_
6
 
7
+#include <sys/types.h>
8
+#include <vlc_es.h>
9
+
10
 /**
11
  * \file
12
  * This file defines structures and functions for stream output in vlc
13
@@ -37,9 +40,6 @@
14
 extern "C" {
15
 #endif
16
 
17
-#include <sys/types.h>
18
-#include <vlc_es.h>
19
-
20
 /** Stream output instance (FIXME: should be private to src/ to avoid
21
  * invalid unsynchronized access) */
22
 struct sout_instance_t
(-)multimedia/vlc/files/patch-modules_gui_qt4_dialogs_messages.hpp (+11 lines)
Line 0 Link Here
1
--- modules/gui/qt4/dialogs/messages.hpp.orig	2014-08-14 07:20:04 UTC
2
+++ modules/gui/qt4/dialogs/messages.hpp
3
@@ -55,7 +55,7 @@ private:
4
     void sinkMessage( const MsgEvent * );
5
     bool matchFilter( const QString& );
6
 
7
-    atomic_uint verbosity;
8
+    atomic_int verbosity;
9
     static void MsgCallback( void *, int, const vlc_log_t *, const char *,
10
                              va_list );
11
 

Return to bug 209722