summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-04-03 15:44:29 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-04-03 15:44:29 +0000
commit1206132d2ed09a0e609176a886074482bc08be7c (patch)
treed28728230cd8f98a3b4808cc8dd39ba30ce3788d /net-irc/iip/files
parentPatch to fix compilation with gcc43 from Magnus Granberg. EAPI2ified. Fixes #... (diff)
downloadhistorical-1206132d2ed09a0e609176a886074482bc08be7c.tar.gz
historical-1206132d2ed09a0e609176a886074482bc08be7c.tar.bz2
historical-1206132d2ed09a0e609176a886074482bc08be7c.zip
GCC 4.3 compile fix from Magnus Granberg, fixes #260983. Adding ~amd64 keyword.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'net-irc/iip/files')
-rw-r--r--net-irc/iip/files/iip_open_mode.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-irc/iip/files/iip_open_mode.patch b/net-irc/iip/files/iip_open_mode.patch
new file mode 100644
index 000000000000..6d3aec1af5ab
--- /dev/null
+++ b/net-irc/iip/files/iip_open_mode.patch
@@ -0,0 +1,11 @@
+--- src/misc/unix.c 2002-10-29 07:56:29.000000000 +0000
++++ src/misc/unix.c 2009-03-05 13:12:54.000000000 +0000
+@@ -100,7 +100,7 @@
+ s = stringCopyMany(lockfilepath, lockfileprefix, NULL);
+ s = stringJoinMany(s, intToString((int) getpid()), NULL);
+
+- fd = open(s, O_CREAT | O_EXCL | S_IWUSR);
++ fd = open(s, O_CREAT | O_EXCL ,S_IWUSR | S_IRUSR);
+ if(fd == -1) {
+ LOGERROR(stringCopyMany("unixAddLockFile: open lock file failed (", s, ")",
+ _("Error opening lockfile."), NULL))