--- /dev/null
+--- dietlibc-0.32/include/linux/loop.h~ 2003-08-19 18:58:18.000000000 +0200
++++ dietlibc-0.32/include/linux/loop.h 2011-05-30 16:50:15.748100072 +0200
+@@ -40,6 +40,7 @@
+ #define LO_CRYPT_IDEA 6
+ #define LO_CRYPT_DUMMY 9
+ #define LO_CRYPT_SKIPJACK 10
++#define LO_CRYPT_CRYPTOAPI 18
+ #define MAX_LO_CRYPT 20
+
+ /* IOCTL commands --- we will commandeer 0x4C ('L') */
+@@ -47,6 +48,12 @@
+ #define LOOP_CLR_FD 0x4C01
+ #define LOOP_SET_STATUS 0x4C02
+ #define LOOP_GET_STATUS 0x4C03
++#define LOOP_SET_STATUS 0x4C02
++#define LOOP_GET_STATUS 0x4C03
++#define LOOP_SET_STATUS64 0x4C04
++#define LOOP_GET_STATUS64 0x4C05
++#define LOOP_CHANGE_FD 0x4C06
++#define LOOP_SET_CAPACITY 0x4C07
+
+ __END_DECLS
+
Summary(pt_BR.UTF-8): libc pequena otimizada para tamanho
Name: dietlibc
Version: 0.32
-Release: 11
+Release: 12
Epoch: 2
License: GPL v2
Group: Development/Libraries
Patch17: %{name}-devmacros.patch
Patch18: %{name}-bloat.patch
Patch19: %{name}-notify.patch
+Patch20: %{name}-loop.patch
URL: http://www.fefe.de/dietlibc/
BuildRequires: rpmbuild(macros) >= 1.566
BuildRequires: sed >= 4.0
%patch17 -p1
%patch18 -p0
%patch19 -p1
+%patch20 -p1
%if "%{cc_version}" < "3.4"
%{__sed} -i -e '/CFLAGS/ s/-Wextra//' Makefile