summaryrefslogtreecommitdiff
path: root/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_pthreads_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-10-14 20:53:26 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-10-14 20:53:26 +0200
commitc55896a6b60303160aa01b8f0502d63375727e86 (patch)
treecc84ca58848cecf729434e0e61991bc6a1452bdd /package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_pthreads_c
parentff4464fa8aef54dbfb124ec22cf4138ebb7219d1 (diff)
fix musl cross-compile
Diffstat (limited to 'package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_pthreads_c')
-rw-r--r--package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_pthreads_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_pthreads_c b/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_pthreads_c
new file mode 100644
index 000000000..583fe04f3
--- /dev/null
+++ b/package/bcm2835-vc/patches/patch-interface_vcos_pthreads_vcos_pthreads_c
@@ -0,0 +1,11 @@
+--- bcm2835-vc-0.3.orig/interface/vcos/pthreads/vcos_pthreads.c 2013-09-27 14:22:08.000000000 +0200
++++ bcm2835-vc-0.3/interface/vcos/pthreads/vcos_pthreads.c 2013-10-14 19:44:50.000000000 +0200
+@@ -580,7 +580,7 @@ const char ** vcos_get_argv(void)
+ */
+ uint32_t _vcos_get_ticks_per_second(void)
+ {
+- return HZ;
++ return 100;
+ }
+
+ VCOS_STATUS_T vcos_once(VCOS_ONCE_T *once_control,