From: duddits Date: Sun, 1 Feb 2009 14:24:10 +0000 (+0000) Subject: - needed for new gcc 4.3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Farchfs.git;a=commitdiff_plain;h=d5d7680020af4ac5feccceb817bddf31d04222f7 - needed for new gcc 4.3 Changed files: archfs-gcc43.patch -> 1.1 --- diff --git a/archfs-gcc43.patch b/archfs-gcc43.patch new file mode 100644 index 0000000..35541b8 --- /dev/null +++ b/archfs-gcc43.patch @@ -0,0 +1,12 @@ +diff -burNp archfs-0.5.4/layout/support.c archfs-0.5.4-dud/layout/support.c +--- archfs-0.5.4/layout/support.c 2007-08-17 18:44:14.000000000 +0200 ++++ archfs-0.5.4-dud/layout/support.c 2009-02-01 15:00:28.640399603 +0100 +@@ -71,7 +71,7 @@ int unzip_revs(char *path){ + gstrdel(extension); + if (gmstrcpy(&mirror, tmp_file, "/", entry->d_name, 0) == -1) + continue; +- if ((descriptor = open(mirror, O_WRONLY | O_CREAT)) == -1) ++ if ((descriptor = open(mirror, O_WRONLY | O_CREAT, 0777)) == -1) + continue; + if (close(descriptor) == -1) + continue;