summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dietlibc.spec4
-rw-r--r--faccessat.patch6
2 files changed, 9 insertions, 1 deletions
diff --git a/dietlibc.spec b/dietlibc.spec
index aed3890..d8507db 100644
--- a/dietlibc.spec
+++ b/dietlibc.spec
@@ -12,7 +12,7 @@ Summary(pl.UTF-8): Biblioteka standardowa C zoptymalizowana na rozmiar
Summary(pt_BR.UTF-8): libc pequena otimizada para tamanho
Name: dietlibc
Version: 0.32
-Release: 13
+Release: 14
Epoch: 2
License: GPL v2
Group: Development/Libraries
@@ -41,6 +41,7 @@ Patch19: %{name}-notify.patch
Patch20: %{name}-loop.patch
# http://svn.exactcode.de/t2/trunk/package/base/dietlibc/fdopendir.patch, needed by util-linux
Patch21: fdopendir.patch
+Patch22: faccessat.patch
URL: http://www.fefe.de/dietlibc/
BuildRequires: rpmbuild(macros) >= 1.566
BuildRequires: sed >= 4.0
@@ -130,6 +131,7 @@ statyczne.
%patch19 -p1
%patch20 -p1
%patch21 -p1
+%patch22 -p1
%if "%{cc_version}" < "3.4"
%{__sed} -i -e '/CFLAGS/ s/-Wextra//' Makefile
diff --git a/faccessat.patch b/faccessat.patch
new file mode 100644
index 0000000..5f172dc
--- /dev/null
+++ b/faccessat.patch
@@ -0,0 +1,6 @@
+--- /dev/null 2010-10-27 14:43:31.488782000 +0200
++++ dietlibc/syscalls.s/faccessat.S 2011-01-05 15:37:28.000000000 +0100
+@@ -0,0 +1,3 @@
++#include "syscalls.h"
++
++syscall(faccessat,faccessat)