From de70f517d9970ea898693c9c2ce415de44ccbfa6 Mon Sep 17 00:00:00 2001 From: ensc Date: Sun, 13 Apr 2008 14:18:39 +0000 Subject: [PATCH] - added patch for dynamic PAGE_SIZE support - fixed/enhanced testsuite and removed the '|| :' in %%check - improved/fixed floating point support *printf(3) --- dietlibc.spec | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/dietlibc.spec b/dietlibc.spec index ec324c1..4ca67e8 100644 --- a/dietlibc.spec +++ b/dietlibc.spec @@ -30,7 +30,7 @@ Summary: Small libc implementation Name: dietlibc Version: 0.31 -Release: %release_func 1%{?snapshot:.%snapshot} +Release: %release_func 2%{?snapshot:.%snapshot} License: GPL Group: Development/Libraries URL: http://www.fefe.de/dietlibc/ @@ -50,6 +50,11 @@ Patch31: dietlibc-0.31-defpath.patch Patch32: dietlibc-0.31-stacksmash.patch Patch33: dietlibc-0.31-stacksmash-dyn.patch Patch41: dietlibc-0.31.20080212-teststdout.patch +Patch43: dietlibc-0.31-pagesize.patch +Patch44: dietlibc-0.31-printFG.patch +Patch45: dietlibc-0.31-stat64.patch +Patch46: dietlibc-0.31-testsuite.patch +Patch47: dietlibc-0.31-lcctime.patch BuildRoot: %_tmppath/%name-%version-%release-buildroot %{?with_dynamic:Requires: dietlibc-lib = %version-%release} %{!?with_dynamic:Obsoletes: dietlibc-lib < %version-%release} @@ -99,6 +104,11 @@ This package contains the dynamic libraries for dietlibc. %patch33 -p1 -b .stacksmash-dyn %patch41 -p1 -b .teststdout +%patch43 -p1 -b .pagesize +%patch44 -p1 -b .printFG +%patch45 -p1 -b .stat64 +%patch46 -p1 -b .testsuite +%patch47 -p1 -b .lcctime %if %{without ssp} @@ -110,6 +120,14 @@ sed -i -e 's!^#define WANT_SSP$!// \0!g; %global xtra_fixcflags %nil %endif +%ifarch %ix86 +sed -i \ + -e '/#define WANT_DYN_PAGESIZE/{c\' \ + -e '#define WANT_ELFINFO' \ + -e '}' \ + dietfeatures.h +%endif + sed -i -e 's!strip !: !g' Makefile %global fixcflags -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables %xtra_fixcflags -Os -g3 @@ -147,7 +165,7 @@ make %makeflags -C test/inet all %{?_smp_mflags} DIET=$(echo `pwd`/bin-*/diet) cd test ulimit -m $[ 50*1024 ] -v $[ 100*1024 ] -d $[ 50*1024 ] -bash ./runtests-X.sh || : +bash ./runtests-X.sh %clean @@ -178,6 +196,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Apr 13 2008 Enrico Scholz - 0.31-2.20080409 +- added patch for dynamic PAGE_SIZE support +- fixed/enhanced testsuite and removed the '|| :' in %%check +- improved/fixed floating point support *printf(3) + * Thu Apr 10 2008 Enrico Scholz - 0.31-1.20080409 - updated to CVS snapshot 20080409