Not needed since the issues have been fixed differently upstream

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 ...LINE_DECL-to-not-use-extern-inlines-in-de.patch | 45 ------------
 ...rm_types-Dont-use-extern-inline-with-clan.patch | 84 ----------------------
 recipes-graphics/userland/userland_git.bb          |  2 -
 3 files changed, 131 deletions(-)
 delete mode 100644 
recipes-graphics/userland/userland/0001-Fix-VCOS_INLINE_DECL-to-not-use-extern-inlines-in-de.patch
 delete mode 100644 
recipes-graphics/userland/userland/0004-vcos_platform_types-Dont-use-extern-inline-with-clan.patch

diff --git 
a/recipes-graphics/userland/userland/0001-Fix-VCOS_INLINE_DECL-to-not-use-extern-inlines-in-de.patch
 
b/recipes-graphics/userland/userland/0001-Fix-VCOS_INLINE_DECL-to-not-use-extern-inlines-in-de.patch
deleted file mode 100644
index ebeefd3..0000000
--- 
a/recipes-graphics/userland/userland/0001-Fix-VCOS_INLINE_DECL-to-not-use-extern-inlines-in-de.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 58e03d60603baabf63137cdc81ed774cc94d26d6 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.k...@gmail.com>
-Date: Sat, 6 Feb 2016 11:00:25 -0800
-Subject: [PATCH 01/13] Fix VCOS_INLINE_DECL to not use extern inlines in
- declarations
-
-Signed-off-by: Khem Raj <raj.k...@gmail.com>
----
- interface/vcos/pthreads/vcos_platform_types.h | 2 +-
- interface/vcos/vcos_types.h                   | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/interface/vcos/pthreads/vcos_platform_types.h 
b/interface/vcos/pthreads/vcos_platform_types.h
-index 17b422d..64fb381 100644
---- a/interface/vcos/pthreads/vcos_platform_types.h
-+++ b/interface/vcos/pthreads/vcos_platform_types.h
-@@ -61,7 +61,7 @@ vcos_pthreads_logging_assert(const char *file, const char 
*func, unsigned int li
- #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
-diff --git a/interface/vcos/vcos_types.h b/interface/vcos/vcos_types.h
-index 6feb4d2..e64fd99 100644
---- a/interface/vcos/vcos_types.h
-+++ b/interface/vcos/vcos_types.h
-@@ -121,10 +121,10 @@ typedef enum
- #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
- 
--- 
-2.7.1
-
diff --git 
a/recipes-graphics/userland/userland/0004-vcos_platform_types-Dont-use-extern-inline-with-clan.patch
 
b/recipes-graphics/userland/userland/0004-vcos_platform_types-Dont-use-extern-inline-with-clan.patch
deleted file mode 100644
index 4d508d2..0000000
--- 
a/recipes-graphics/userland/userland/0004-vcos_platform_types-Dont-use-extern-inline-with-clan.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-From 7c07db6c640ec4dfc6baec23f86c7b312028c9c6 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.k...@gmail.com>
-Date: Sun, 23 Aug 2015 13:41:33 -0700
-Subject: [PATCH 04/13] vcos_platform_types: Dont use extern inline with clang
-
-Its very gcc specific implementation here in this code, we cant use
-it with clang as such, so we will use static inline instead which is
-common across gcc and clang starting c99 std onwards
-
-Signed-off-by: Khem Raj <raj.k...@gmail.com>
----
- interface/vcos/pthreads/vcos_platform_types.h | 4 ----
- interface/vcos/vcos_timer.h                   | 5 -----
- interface/vcos/vcos_types.h                   | 2 +-
- 3 files changed, 1 insertion(+), 10 deletions(-)
-
-diff --git a/interface/vcos/pthreads/vcos_platform_types.h 
b/interface/vcos/pthreads/vcos_platform_types.h
-index 64fb381..6ebcaad 100644
---- a/interface/vcos/pthreads/vcos_platform_types.h
-+++ b/interface/vcos/pthreads/vcos_platform_types.h
-@@ -60,10 +60,6 @@ vcos_pthreads_logging_assert(const char *file, const char 
*func, unsigned int li
- 
- #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
--#define VCOS_INLINE_IMPL static __inline__
--
- #ifdef __cplusplus
- }
- #endif
-diff --git a/interface/vcos/vcos_timer.h b/interface/vcos/vcos_timer.h
-index bdfa657..1de2d46 100644
---- a/interface/vcos/vcos_timer.h
-+++ b/interface/vcos/vcos_timer.h
-@@ -76,7 +76,6 @@ VCOSPRE_ VCOS_STATUS_T VCOSPOST_ vcos_timer_init(void);
-   * @param context   context passed to expiration routine
-   *
-   */
--VCOS_INLINE_DECL
- VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
-                                 const char *name,
-                                 void (*expiration_routine)(void *context),
-@@ -91,24 +90,20 @@ VCOS_STATUS_T vcos_timer_create(VCOS_TIMER_T *timer,
-   * @param timer     timer handle
-   * @param delay     Delay to wait for, in ms
-   */
--VCOS_INLINE_DECL
- void vcos_timer_set(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
- 
- /** Stop an already running timer.
-   *
-   * @param timer     timer handle
-   */
--VCOS_INLINE_DECL
- void vcos_timer_cancel(VCOS_TIMER_T *timer);
- 
- /** Stop a timer and restart it.
-   * @param timer     timer handle
-   * @param delay     delay in ms
-   */
--VCOS_INLINE_DECL
- void vcos_timer_reset(VCOS_TIMER_T *timer, VCOS_UNSIGNED delay);
- 
--VCOS_INLINE_DECL
- void vcos_timer_delete(VCOS_TIMER_T *timer);
- 
- #ifdef __cplusplus
-diff --git a/interface/vcos/vcos_types.h b/interface/vcos/vcos_types.h
-index e64fd99..7d86742 100644
---- a/interface/vcos/vcos_types.h
-+++ b/interface/vcos/vcos_types.h
-@@ -120,7 +120,7 @@ typedef enum
- 
- #if defined(NDEBUG)
- 
--#ifdef __GNUC__
-+#if defined(__GNUC__) && !defined(__clang__)
- # define VCOS_INLINE_DECL extern
- # define VCOS_INLINE_IMPL static __inline__
- #else
--- 
-2.7.1
-
diff --git a/recipes-graphics/userland/userland_git.bb 
b/recipes-graphics/userland/userland_git.bb
index 4eb67fe..accc707 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -20,10 +20,8 @@ SRCREV = "748b2ba6112435063352d72f48d1d6dcc124bd6f"
 
 SRC_URI = "\
     git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
-    file://0001-Fix-VCOS_INLINE_DECL-to-not-use-extern-inlines-in-de.patch \
     file://0002-set-VMCS_INSTALL_PREFIX-to-usr.patch \
     file://0003-cmake-generate-and-install-pkgconfig-files.patch \
-    file://0004-vcos_platform_types-Dont-use-extern-inline-with-clan.patch \
     file://0005-Allow-applications-to-set-next-resource-handle.patch \
     file://0006-wayland-Add-support-for-the-Wayland-winsys.patch \
     file://0007-wayland-Add-Wayland-example.patch \
-- 
1.9.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to