aboutsummaryrefslogtreecommitdiffstats
path: root/main/raspberrypi/fix-inlines.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-08-27 11:03:15 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-08-27 11:20:35 +0000
commitedefd680f694895f1c9cc335381db3c243a59990 (patch)
tree32c3ffa676fcc3d61e931389352648fc32d76ab1 /main/raspberrypi/fix-inlines.patch
parent7ead7994c5b4e9e1cd5bbca252b1645a52a83998 (diff)
downloadaports-edefd680f694895f1c9cc335381db3c243a59990.tar.bz2
aports-edefd680f694895f1c9cc335381db3c243a59990.tar.xz
main/raspberrypi: update snapshot, fix build
- linux-headers is -dev dependency - patch errors detected by gcc5.1 - workaround gcc5.1 warning (that gets treated as error)
Diffstat (limited to 'main/raspberrypi/fix-inlines.patch')
-rw-r--r--main/raspberrypi/fix-inlines.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/raspberrypi/fix-inlines.patch b/main/raspberrypi/fix-inlines.patch
new file mode 100644
index 0000000000..57f35183d7
--- /dev/null
+++ b/main/raspberrypi/fix-inlines.patch
@@ -0,0 +1,26 @@
+--- userland-fb11b39d97371c076eef7c85bbcab5733883a41e.orig/interface/vcos/vcos_types.h
++++ userland-fb11b39d97371c076eef7c85bbcab5733883a41e/interface/vcos/vcos_types.h
+@@ -121,10 +121,10 @@
+ #if defined(NDEBUG)
+
+ #ifdef __GNUC__
+-# define VCOS_INLINE_DECL extern __inline__
++# define VCOS_INLINE_DECL extern
+ # define VCOS_INLINE_IMPL static __inline__
+ #else
+-# define VCOS_INLINE_DECL static _VCOS_INLINE /* declare a func */
++# define VCOS_INLINE_DECL extern
+ # define VCOS_INLINE_IMPL static _VCOS_INLINE /* implement a func inline */
+ #endif
+
+--- userland-fb11b39d97371c076eef7c85bbcab5733883a41e.orig/interface/vcos/pthreads/vcos_platform_types.h
++++ userland-fb11b39d97371c076eef7c85bbcab5733883a41e/interface/vcos/pthreads/vcos_platform_types.h
+@@ -61,7 +61,7 @@
+ #define VCOS_ASSERT_MSG(...) ((VCOS_ASSERT_LOGGING && !VCOS_ASSERT_LOGGING_DISABLE) ? vcos_pthreads_logging_assert(__FILE__, __func__, __LINE__, __VA_ARGS__) : (void)0)
+
+ #define VCOS_INLINE_BODIES
+-#define VCOS_INLINE_DECL extern __inline__
++#define VCOS_INLINE_DECL extern
+ #define VCOS_INLINE_IMPL static __inline__
+
+ #ifdef __cplusplus