• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/multicat/0003-Fix-have-clock-nanosleep-with-uclibc.patch
Jörg KrauseJörg Krause committed 46271ffa9c420 Mar 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
uClibc may be configured without support for clock_nanosleep(). The function is
2
only available with uClibc if the C library is build with NPTL support (sets
3
__UCLIBC_HAS_THREADS_NATIVE__) and __UCLIBC_HAS_ADVANCED_REALTIME__ set.
4
​
5
Upstream status: Pending
6
https://mailman.videolan.org/pipermail/multicat-devel/2016-March/000129.html
7
​
8
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
9
​
10
diff -purN multicat-2.1.orig/util.h multicat-2.1/util.h
11
--- multicat-2.1.orig/util.h    2015-07-15 22:47:39.000000000 +0200
12
+++ multicat-2.1/util.h 2016-03-20 18:13:51.899780405 +0100
13
@@ -26,7 +26,10 @@
14
 
15
 #ifdef __APPLE__
16
 #define POLLRDHUP 0
17
-#else
18
+/* uClibc may not have clock_nanosleep() available */
19
+#elif !defined (__UCLIBC__) || \
20
+       defined (__UCLIBC__) && defined (__UCLIBC_HAS_THREADS_NATIVE__) \
21
+                            && defined (__UCLIBC_HAS_ADVANCED_REALTIME__)
22
 #define HAVE_CLOCK_NANOSLEEP
23
 #endif
24
 
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.