From d5d7680020af4ac5feccceb817bddf31d04222f7 Mon Sep 17 00:00:00 2001 From: duddits Date: Sun, 1 Feb 2009 14:24:10 +0000 Subject: [PATCH] - needed for new gcc 4.3 Changed files: archfs-gcc43.patch -> 1.1 --- archfs-gcc43.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 archfs-gcc43.patch 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; -- 2.44.0