[packages/uClibc] - rel 22; build fix
arekm
arekm at pld-linux.org
Wed Jul 26 11:07:13 CEST 2017
commit 3ad59da65999bf979ec9c2f069fb68d41270958f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jul 26 11:07:07 2017 +0200
- rel 22; build fix
uClibc-features.patch | 12 ++++++++++++
uClibc.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/uClibc.spec b/uClibc.spec
index 33a9722..2e6dff7 100644
--- a/uClibc.spec
+++ b/uClibc.spec
@@ -12,7 +12,7 @@ Summary: C library optimized for size
Summary(pl.UTF-8): Biblioteka C zoptymalizowana na rozmiar
Name: uClibc
Version: 0.9.33.2
-Release: 21
+Release: 22
Epoch: 4
License: LGPL v2.1
Group: Libraries
@@ -24,6 +24,7 @@ Patch2: %{name}-targetcpu.patch
Patch3: %{name}-debug.patch
Patch4: %{name}-stdio-unhide.patch
Patch5: %{name}-kernel-types.patch
+Patch6: %{name}-features.patch
URL: http://uclibc.org/
BuildRequires: binutils >= 2.16
BuildRequires: cpp
@@ -95,6 +96,7 @@ Biblioteki statyczne uClibc.
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
# ARCH is already determined by uname -m
%ifarch %{ix86}
diff --git a/uClibc-features.patch b/uClibc-features.patch
new file mode 100644
index 0000000..aa43116
--- /dev/null
+++ b/uClibc-features.patch
@@ -0,0 +1,12 @@
+diff -urN uClibc-0.9.33.2.org/include/features.h uClibc-0.9.33.2/include/features.h
+--- uClibc-0.9.33.2.org/include/features.h 2012-05-15 09:20:09.000000000 +0200
++++ uClibc-0.9.33.2/include/features.h 2017-07-26 11:04:32.749757294 +0200
+@@ -139,6 +139,8 @@
+ # define __GNUC_PREREQ(maj, min) 0
+ #endif
+
++/* Whether to use feature set F. */
++#define __GLIBC_USE(F) __GLIBC_USE_ ## F
+
+ /* If _BSD_SOURCE was defined by the user, favor BSD over POSIX. */
+ #if defined _BSD_SOURCE && \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/uClibc.git/commitdiff/3ad59da65999bf979ec9c2f069fb68d41270958f
More information about the pld-cvs-commit
mailing list