sys-fs/tux3progs: update gcc 4.4 patch

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1219 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-05-17 21:03:23 +00:00
parent e635495a78
commit ab6b0f3f60
3 changed files with 30 additions and 3 deletions

View File

@ -2,6 +2,9 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
17 May 2009; Mario Fetka <mario.fetka@gmail.com> files/tux3-gcc44-1.patch:
update gcc 4.4 patch
17 May 2009; Mario Fetka <mario.fetka@gmail.com> files/tux3-gcc44-1.patch,
tux3progs-9999.ebuild:
no -O filtering needed

View File

@ -1,5 +1,5 @@
AUX tux3-dist-packager-1.patch 2136 RMD160 19cdf75b888b2b4f843538742b770d7293576eb2 SHA1 4d4ccbba9aa3fd994472cfa2973f6980714a3060 SHA256 f86d2b17d7769136f212dd2479c1d978967deb88caac848a7da861beccccb8e5
AUX tux3-gcc44-1.patch 1201 RMD160 e7b710748f6558fecc672a4133d669f6fbbea2e9 SHA1 1fd39646cffc51aad1d4ecd9934d1622e8f3c79c SHA256 eb300f290a0ca639eeda5ae0b235a241f9e37622a27305b9b1eee987f4b651cf
AUX tux3-gcc44-1.patch 2161 RMD160 733b7d6086a69b8afdd5d463c25cad7d8eb51255 SHA1 5dba4ee89cbea47a3ac1464ae8bf454b7e52c6bd SHA256 71ec673baf099babb7d4366ba53b39326dfaa18b27557e349a7d0fadcbff0e19
EBUILD tux3progs-9999.ebuild 741 RMD160 0f6bcc7cd4cbcd33a8f87fe9b3e0c47a584af999 SHA1 e8a0be46856a423c98ed7e0e03b9ed00548d4806 SHA256 10afd6f5f20853ae0925f288f26fda80b3d2f8858726b88cc6fe9cd1335d2d6b
MISC ChangeLog 447 RMD160 eb8a5bd373d4d3a2d7f6603d1870034c91363935 SHA1 a5e3ad352e73acadee66efbd7a6ab1dfc667856f SHA256 a9db611e170f11729f410cd382c5f168fbe729683d4adf47cb5a91fb1d0678d4
MISC ChangeLog 548 RMD160 3b068efb795b626aa303abde397068d5376152c7 SHA1 014b6d2e749d02cab316c2db43ef6abb231fb03c SHA256 309cdcd84e4c1c1795f733810512c5e70f32ae9f32351d12024266aae73e1c1f
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -3,7 +3,7 @@ Date: 2009-05-17
Initial Package Version: changeset cb5655728089
Origin: hirofumi
Upstream Status: accepted
Description: fix gcc 4.4 build
Description: make it build with gcc 4.4
diff -Naur tux3.orig/user/buffer.c tux3/user/buffer.c
--- tux3.orig/user/buffer.c 2009-05-17 20:13:43.440868934 +0000
@ -17,6 +17,30 @@ diff -Naur tux3.orig/user/buffer.c tux3/user/buffer.c
buffers_allocation_failure:
warn("Unable to pre-allocate buffers. Using on demand allocation for buffers");
return err;
diff -Naur tux3.orig/user/filemap.c tux3/user/filemap.c
--- tux3.orig/user/filemap.c 2009-05-17 20:08:53.666087715 +0000
+++ tux3/user/filemap.c 2009-05-17 21:00:44.090339498 +0000
@@ -174,7 +174,7 @@
error("usage: %s <volname>", argv[0]);
char *name = argv[1];
int fd = open(name, O_CREAT|O_TRUNC|O_RDWR, S_IRWXU);
- ftruncate(fd, 1 << 24);
+ assert(!ftruncate(fd, 1 << 24));
u64 size = 0;
if (fdsize64(fd, &size))
error("fdsize64 failed for '%s' (%s)", name, strerror(errno));
diff -Naur tux3.orig/user/inode.c tux3/user/inode.c
--- tux3.orig/user/inode.c 2009-05-17 20:08:53.666087715 +0000
+++ tux3/user/inode.c 2009-05-17 21:00:56.732117020 +0000
@@ -298,7 +298,7 @@
int err = 0;
char *name = argv[1];
int fd = open(name, O_CREAT|O_TRUNC|O_RDWR, S_IRWXU);
- ftruncate(fd, 1 << 24);
+ assert(!ftruncate(fd, 1 << 24));
u64 size = 0;
if (fdsize64(fd, &size))
error("fdsize64 failed for '%s' (%s)", name, strerror(errno));
diff -Naur tux3.orig/user/xattr.c tux3/user/xattr.c
--- tux3.orig/user/xattr.c 2009-05-17 20:08:53.673031004 +0000
+++ tux3/user/xattr.c 2009-05-17 20:54:32.426118888 +0000