From c55896a6b60303160aa01b8f0502d63375727e86 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 14 Oct 2013 20:53:26 +0200 Subject: fix musl cross-compile --- .../patches/patch-interface_vcos_pthreads_vcos_platform_h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h (limited to 'package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h') diff --git a/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h b/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h new file mode 100644 index 000000000..95b5d480b --- /dev/null +++ b/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_platform_h @@ -0,0 +1,12 @@ +--- bcm2835-vc-0.3.orig/interface/vcos/pthreads/vcos_platform.h 2013-09-27 14:22:08.000000000 +0200 ++++ bcm2835-vc-0.3/interface/vcos/pthreads/vcos_platform.h 2013-10-13 20:20:55.000000000 +0200 +@@ -120,9 +120,6 @@ typedef struct + + #define VCOS_ONCE_INIT PTHREAD_ONCE_INIT + +-#if defined(__arm__) && !defined(_HAVE_TIMER_T) && !defined(ANDROID) +-typedef __timer_t timer_t; +-#endif + typedef struct VCOS_TIMER_T + { + pthread_t thread; /**< id of the timer thread */ -- cgit v1.2.3