From 7bfb5507d8871c1c3b7c34de1354247ebf0cc4ac Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 17 May 2009 21:11:33 +0000 Subject: [PATCH] sys-fs/tux3progs: update gcc 4.4 patch git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1220 6952d904-891a-0410-993b-d76249ca496b --- sys-fs/tux3progs/ChangeLog | 3 +++ sys-fs/tux3progs/Manifest | 4 ++-- sys-fs/tux3progs/files/tux3-gcc44-1.patch | 14 +++++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sys-fs/tux3progs/ChangeLog b/sys-fs/tux3progs/ChangeLog index 944a68e8..c57f40db 100644 --- a/sys-fs/tux3progs/ChangeLog +++ b/sys-fs/tux3progs/ChangeLog @@ -5,6 +5,9 @@ 17 May 2009; Mario Fetka files/tux3-gcc44-1.patch: update gcc 4.4 patch + 17 May 2009; Mario Fetka files/tux3-gcc44-1.patch: + update gcc 4.4 patch + 17 May 2009; Mario Fetka files/tux3-gcc44-1.patch, tux3progs-9999.ebuild: no -O filtering needed diff --git a/sys-fs/tux3progs/Manifest b/sys-fs/tux3progs/Manifest index 65f786c1..679e1863 100644 --- a/sys-fs/tux3progs/Manifest +++ b/sys-fs/tux3progs/Manifest @@ -1,5 +1,5 @@ AUX tux3-dist-packager-1.patch 2136 RMD160 19cdf75b888b2b4f843538742b770d7293576eb2 SHA1 4d4ccbba9aa3fd994472cfa2973f6980714a3060 SHA256 f86d2b17d7769136f212dd2479c1d978967deb88caac848a7da861beccccb8e5 -AUX tux3-gcc44-1.patch 2161 RMD160 733b7d6086a69b8afdd5d463c25cad7d8eb51255 SHA1 5dba4ee89cbea47a3ac1464ae8bf454b7e52c6bd SHA256 71ec673baf099babb7d4366ba53b39326dfaa18b27557e349a7d0fadcbff0e19 +AUX tux3-gcc44-1.patch 2548 RMD160 6d9bb291effe3ff0ab6528aa0ce82cc8117ba8e6 SHA1 01b63adf3271a6623f5c498e08d4cdc46462dd4b SHA256 6fee7f1c60568f144aa26759cb882339b1a9b5c6c7b60a143d4a60f8881c9acb EBUILD tux3progs-9999.ebuild 741 RMD160 0f6bcc7cd4cbcd33a8f87fe9b3e0c47a584af999 SHA1 e8a0be46856a423c98ed7e0e03b9ed00548d4806 SHA256 10afd6f5f20853ae0925f288f26fda80b3d2f8858726b88cc6fe9cd1335d2d6b -MISC ChangeLog 548 RMD160 3b068efb795b626aa303abde397068d5376152c7 SHA1 014b6d2e749d02cab316c2db43ef6abb231fb03c SHA256 309cdcd84e4c1c1795f733810512c5e70f32ae9f32351d12024266aae73e1c1f +MISC ChangeLog 649 RMD160 b372910ea697c8093d2bcd9030db7acf17943a01 SHA1 ace02260465436d65710aa117894277091ba4441 SHA256 e51057c2d04e4fff26e9f2feebfdfb5830f6c379e33292949a59163584d3ce9c MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/sys-fs/tux3progs/files/tux3-gcc44-1.patch b/sys-fs/tux3progs/files/tux3-gcc44-1.patch index 9d793205..0197791d 100644 --- a/sys-fs/tux3progs/files/tux3-gcc44-1.patch +++ b/sys-fs/tux3progs/files/tux3-gcc44-1.patch @@ -3,7 +3,7 @@ Date: 2009-05-17 Initial Package Version: changeset cb5655728089 Origin: hirofumi Upstream Status: accepted -Description: make it build with gcc 4.4 +Description: make it compile 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 @@ -41,6 +41,18 @@ diff -Naur tux3.orig/user/inode.c tux3/user/inode.c u64 size = 0; if (fdsize64(fd, &size)) error("fdsize64 failed for '%s' (%s)", name, strerror(errno)); +diff -Naur tux3.orig/user/tux3graph.c tux3/user/tux3graph.c +--- tux3.orig/user/tux3graph.c 2009-05-17 20:08:53.663191990 +0000 ++++ tux3/user/tux3graph.c 2009-05-17 21:05:55.030622145 +0000 +@@ -746,7 +746,7 @@ + fd = fileno(src); + lseek(fd, 0, SEEK_SET); + while ((size = read(fd, buf, sizeof(buf))) > 0) { +- fwrite(buf, size, 1, dst); ++ assert(!fwrite(buf, size, 1, dst)); + } + } + 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