From d8f71a4c5695657c4deb5557b990b614a6a45488 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 4 Feb 2012 15:48:42 +0100 Subject: [PATCH] liburcu: add patch to fix build with uClibc Under uClibc, defining _GNU_SOURCE is strictly needed to access the CPU_*() macros. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- .../liburcu/liburcu-0.6.7-missing-gnu-source.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/liburcu/liburcu-0.6.7-missing-gnu-source.patch diff --git a/package/liburcu/liburcu-0.6.7-missing-gnu-source.patch b/package/liburcu/liburcu-0.6.7-missing-gnu-source.patch new file mode 100644 index 0000000000..f34120cdcd --- /dev/null +++ b/package/liburcu/liburcu-0.6.7-missing-gnu-source.patch @@ -0,0 +1,13 @@ +Define _GNU_SOURCE to access CPU_ZERO() macro in uClibc + +Signed-off-by: Thomas Petazzoni + +Index: userspace-rcu-0.6.7/tests/urcutorture.c +=================================================================== +--- userspace-rcu-0.6.7.orig/tests/urcutorture.c 2012-02-01 10:17:09.938804402 +0100 ++++ userspace-rcu-0.6.7/tests/urcutorture.c 2012-02-01 10:17:15.308713372 +0100 +@@ -1,3 +1,4 @@ ++#define _GNU_SOURCE + #include + #include + #include -- 2.30.2