diff options
author | Guy Martin <gmsoft@gentoo.org> | 2003-12-20 01:14:43 +0000 |
---|---|---|
committer | Guy Martin <gmsoft@gentoo.org> | 2003-12-20 01:14:43 +0000 |
commit | b07ead1ff7a9bfa39c1dda3f99f00b7574a061cb (patch) | |
tree | 2985d89c357c511516394973d02a35fa2aebc5b0 /dev-libs/dietlibc | |
parent | Added hppa patch. Fix #32701. (diff) | |
download | gentoo-2-b07ead1ff7a9bfa39c1dda3f99f00b7574a061cb.tar.gz gentoo-2-b07ead1ff7a9bfa39c1dda3f99f00b7574a061cb.tar.bz2 gentoo-2-b07ead1ff7a9bfa39c1dda3f99f00b7574a061cb.zip |
Added hppa patch. Fix #32701.
Diffstat (limited to 'dev-libs/dietlibc')
-rw-r--r-- | dev-libs/dietlibc/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/dietlibc/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/dietlibc/dietlibc-0.23.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/dietlibc/files/dietlibc-0.23-hppa.patch | 152 |
4 files changed, 161 insertions, 5 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog index 424cc1615471..c18d35d2bb26 100644 --- a/dev-libs/dietlibc/ChangeLog +++ b/dev-libs/dietlibc/ChangeLog @@ -1,6 +1,6 @@ # ChangeLog for dev-libs/dietlibc # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.23 2003/12/14 04:11:32 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.24 2003/12/20 01:14:28 gmsoft Exp $ 14 Dec 2003; Alexander Gabert <pappy@gentoo.org> dietlibc-0.24.ebuild: added filter-flags logic for propolice @@ -31,6 +31,10 @@ *dietlibc-0.23 (12 Sep 2003) + 20 Dec 2003; Guy Martin <gmsoft@gentoo.org> dietlibc-0.23.ebuild, + files/dietlibc-0.23-hppa.patch: + Added hppa patch. Fix #32701. + 12 Sep 2003; <solar@gentoo.org> dietlibc-0.23.ebuild, files/0.23-dirent-prototype.patch: version bump, this release fixes a ton of outstanding bugs upstream. seems the diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest index 2b5fb813edf9..69aee6a7301b 100644 --- a/dev-libs/dietlibc/Manifest +++ b/dev-libs/dietlibc/Manifest @@ -1,6 +1,6 @@ -MD5 69edc202221cc72f2821b00e7c75a3b8 ChangeLog 3359 +MD5 68e66546dc8742d3b743981379b7ba5e ChangeLog 3360 MD5 523becdc42d4ad3862dd6e733ab8d703 dietlibc-0.22-r2.ebuild 1663 -MD5 14b45492aaa67661cf289df4679686da dietlibc-0.23.ebuild 1678 +MD5 f21eba3304ab262185b47e351ca913a1 dietlibc-0.23.ebuild 1679 MD5 4bb4ab29d26a6bbdfd08e214e226c13b dietlibc-0.24.ebuild 1791 MD5 6d7429e88eda74e2e5a1d89dcda32c33 metadata.xml 400 MD5 e33c0d8f3c56f85d1caa98118824fceb files/0.22-dirent-prototype.patch 563 diff --git a/dev-libs/dietlibc/dietlibc-0.23.ebuild b/dev-libs/dietlibc/dietlibc-0.23.ebuild index 552b110f5459..7a7380be8299 100644 --- a/dev-libs/dietlibc/dietlibc-0.23.ebuild +++ b/dev-libs/dietlibc/dietlibc-0.23.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.23.ebuild,v 1.5 2003/12/06 15:55:40 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.23.ebuild,v 1.6 2003/12/20 01:14:28 gmsoft Exp $ inherit eutils flag-o-matic filter-flags "-fstack-protector" @@ -17,7 +17,7 @@ src_unpack() { unpack ${A} ; cd ${S} epatch ${FILESDIR}/${PV}-dirent-prototype.patch - + [ "${ARCH}" = "hppa" ] && epatch "${FILESDIR}/${P}-hppa.patch" mv Makefile Makefile.orig sed -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS}:" \ -e "s:^prefix.*:prefix=/usr/diet:" \ diff --git a/dev-libs/dietlibc/files/dietlibc-0.23-hppa.patch b/dev-libs/dietlibc/files/dietlibc-0.23-hppa.patch new file mode 100644 index 000000000000..763b6f6bd67d --- /dev/null +++ b/dev-libs/dietlibc/files/dietlibc-0.23-hppa.patch @@ -0,0 +1,152 @@ +Only in dietlibc-0.23-test: bin-parisc +diff -aur dietlibc-0.23/contrib/elftrunc.c dietlibc-0.23-test/contrib/elftrunc.c +--- dietlibc-0.23/contrib/elftrunc.c 2001-10-09 18:02:10.000000000 +0000 ++++ dietlibc-0.23-test/contrib/elftrunc.c 2003-11-11 21:49:40.000000000 +0000 +@@ -54,7 +54,6 @@ + len -= n; + + eh32.e_shoff=0; +- eh32.e_shentsize=0; + eh32.e_shnum=0; + eh32.e_shstrndx=0; + +@@ -109,7 +108,6 @@ + len -= n; + + eh64.e_shoff=0; +- eh64.e_shentsize=0; + eh64.e_shnum=0; + eh64.e_shstrndx=0; + +@@ -121,8 +119,8 @@ + { + if ((n=read(in,buf,sizeof(buf)))>0) + { +- write(out,buf,(size_t)((len<(size_t)n)?len:n)); +- len-=(len<(size_t)n)?len:n; ++ write(out,buf,(size_t)((len<(size_t)n)?len:(size_t)n)); ++ len-=(len<(size_t)n)?len:(size_t)n; + } else die(2,"read error"); + } + +diff -aur dietlibc-0.23/parisc/setjmp.S dietlibc-0.23-test/parisc/setjmp.S +--- dietlibc-0.23/parisc/setjmp.S 2002-01-11 18:06:53.000000000 +0000 ++++ dietlibc-0.23-test/parisc/setjmp.S 2003-11-11 21:22:06.000000000 +0000 +@@ -52,7 +52,7 @@ + stw %sp, 0x4c(%sr0, %r26) + stw %rp, 0x50(%sr0, %r26) + /* Floating point stack in %r19 */ +- ldo 58(%r26), %r19 ++ ldo 0x58(%r26), %r19 + /* Save Floating point registers */ + fstd,ma %fr12, 8(%sr0, %r19) + fstd,ma %fr13, 8(%sr0, %r19) +diff -aur dietlibc-0.23/parisc/strchr.S dietlibc-0.23-test/parisc/strchr.S +--- dietlibc-0.23/parisc/strchr.S 2003-09-04 01:50:50.000000000 +0000 ++++ dietlibc-0.23-test/parisc/strchr.S 2003-11-11 21:24:59.000000000 +0000 +@@ -23,7 +23,7 @@ + b,n .Lfoobar + uxor,sbz %r0, %r20, %r0 + b,n .Lmdoit +- bv,n %r0(%rp) ++ bv %r0(%rp) + or %r0, %r0, %r28 + .Lfoobar: + addi -4, %r26, %r26 +diff -aur dietlibc-0.23/parisc/strlen.S dietlibc-0.23-test/parisc/strlen.S +--- dietlibc-0.23/parisc/strlen.S 2003-09-04 01:50:50.000000000 +0000 ++++ dietlibc-0.23-test/parisc/strlen.S 2003-11-11 21:25:23.000000000 +0000 +@@ -10,40 +10,41 @@ + than the HP-UX libc implementation, which is also uxor-based. + */ + +-.LEVEL 1.1 ++.LEVEL 1.1 + + .text + .globl strlen + + strlen: +- .PROC +- .CALLINFO +- .ENTRY +- xor %r28, %r28, %r28 +- ldi 3, %r19 +- and,<> %r26, %r19, %r20 +- b,n .Lstrlen17 +- sub %r19, %r20, %r20 +- addi 1, %r20, %r20 ++ .PROC ++ .CALLINFO ++ .ENTRY ++ xor %r28, %r28, %r28 ++ ldi 3, %r19 ++ and,<> %r26, %r19, %r20 ++ b,n .Lstrlen17 ++ sub %r19, %r20, %r20 ++ addi 1, %r20, %r20 + .Lstrlen23: +- ldb,ma 1(%r26), %r19 +- cmpb,= %r0, %r19, .Lstrlen42 +- addi 1, %r28, %r28 +- addi,= -1, %r20, %r20 +- b,n .Lstrlen23 ++ ldb,ma 1(%r26), %r19 ++ cmpb,=,n %r0, %r19, .Lstrlen42 ++ addi 1, %r28, %r28 ++ addi,= -1, %r20, %r20 ++ b,n .Lstrlen23 + .Lstrlen17: +- ldw,ma 4(%r26), %r19 +- uxor,sbz %r19, %r0, %r0 +- b .Lstrlen17 +- addi 4, %r28, %r28 +- addi -4, %r28, %r28 ++ ldw,ma 4(%r26), %r19 ++ uxor,sbz %r19, %r0, %r0 ++ b .Lstrlen17 ++ addi 4, %r28, %r28 ++ addi -5, %r28, %r28 + .Lstrlen72: +- depw %r19, 23, 24, %r19 +- extrs,= %r19, 7, 8, %r20 +- cmpb,<> %r0, %r20, .Lstrlen72 +- addi 1, %r28, %r28 ++ extrs %r19, 7, 8, %r20 ++ addi 1, %r28, %r28 ++ cmpb,<> %r0, %r20, .Lstrlen72 ++ depw %r19, 23, 24, %r19 + .Lstrlen42: +- bv,n %r0(%rp) +- .EXIT +- .PROCEND +- .EXPORT strlen ++ bv,n %r0(%rp) ++ .EXIT ++ .PROCEND ++ .EXPORT strlen ++ +diff -aur dietlibc-0.23/parisc/strstr.S dietlibc-0.23-test/parisc/strstr.S +--- dietlibc-0.23/parisc/strstr.S 2003-09-04 01:50:50.000000000 +0000 ++++ dietlibc-0.23-test/parisc/strstr.S 2003-11-11 21:50:34.000000000 +0000 +@@ -10,7 +10,7 @@ + ldb,ma 1(%r26), %r19 + ldi 2, %ret0 + .L1: +- cmpb,=,n %r0, %r19, .Lret ++ cmpb,=,n %r0, %r19, .Lret2 + cmpb,<> %r20, %r19, .L1 + ldb,ma 1(%r26), %r19 + copy %r19, %r24 +@@ -25,8 +25,10 @@ + cmpb,<>,n %r21, %r0, .Lloop + nop + .Lret: ++ addi 0, %r26, %ret0 ++.Lret2: + bv %r0(%rp) +- addi -2, %r26, %ret0 ++ addi -2, %ret0, %ret0 + .EXIT + .PROCEND + .EXPORT strstr |