# Generate klcc
-diff -urN klibc-1.1.16.org/klcc/klcc.in klibc-1.1.16/klcc/klcc.in
---- klibc-1.1.16.org/klcc/klcc.in 2006-01-06 07:11:43.000000000 +0100
-+++ klibc-1.1.16/klcc/klcc.in 2006-01-06 19:22:31.481785250 +0100
+--- klibc-2.0/klcc/klcc.in.orig 2012-05-29 23:41:34.000000000 +0200
++++ klibc-2.0/klcc/klcc.in 2012-06-15 21:25:24.514959356 +0200
@@ -3,22 +3,22 @@
use IPC::Open3;
# Standard includes
--@includes = ("-I${prefix}/${KCROSS}include/arch/${ARCH}",
+-@includes = ("-I${prefix}/${KCROSS}include/arch/${ARCHDIR}",
- "-I${prefix}/${KCROSS}include/bits${BITSIZE}",
- "-I${prefix}/${KCROSS}include");
+@includes = ("-idirafter", "${includedir}/arch/${ARCH}",
$debugging = 0; # -g or -p option present?
$strip = 0; # -s option present?
undef $output; # -o option present?
-@@ -175,6 +175,7 @@
+@@ -186,6 +186,7 @@
} elsif ( $a eq '-shared' ) {
$shared = 1;
} elsif ( $a eq '-static' ) {
Summary: Minimalistic libc subset for use with initramfs
Summary(pl.UTF-8): Zminimalizowany podzbiór biblioteki C do używania z initramfs
Name: klibc
-Version: 1.5.24
+Version: 2.0
Release: 1
License: BSD/GPL
Group: Libraries
-Source0: http://www.kernel.org/pub/linux/libs/klibc/Current/%{name}-%{version}.tar.bz2
-# Source0-md5: 4df9b0d3d7f9f366c4b5c171cac3c6c3
+Source0: http://www.kernel.org/pub/linux/libs/klibc/2.0/%{name}-%{version}.tar.bz2
+# Source0-md5: 483ba389d84a56c6c2765f7060c0156a
Patch0: %{name}-klcc.patch
Patch1: aligned_u64.patch
URL: http://www.zytor.com/mailman/listinfo/klibc/