summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-04-03 15:52:44 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-04-03 15:52:44 +0000
commit428e7366c1bd7f01d5e89eedb7577443ab468e89 (patch)
tree43355a3024af7fe7ca725d5dfe0937e2c42ad2f4 /mail-filter/p3scan/files
parentMarked ppc/ppc64 stable for bug #262744. (diff)
downloadhistorical-428e7366c1bd7f01d5e89eedb7577443ab468e89.tar.gz
historical-428e7366c1bd7f01d5e89eedb7577443ab468e89.tar.bz2
historical-428e7366c1bd7f01d5e89eedb7577443ab468e89.zip
Fixing gcc4.3 compile failure, patch from Magnus Granberg. Fixes #261100. EAPI2ified and ~amd64ed.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'mail-filter/p3scan/files')
-rw-r--r--mail-filter/p3scan/files/p3scan-ocreat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail-filter/p3scan/files/p3scan-ocreat.patch b/mail-filter/p3scan/files/p3scan-ocreat.patch
new file mode 100644
index 000000000000..c99bc88a0a5f
--- /dev/null
+++ b/mail-filter/p3scan/files/p3scan-ocreat.patch
@@ -0,0 +1,11 @@
+--- p3scan.c 2005-12-12 15:00:00.000000000 +0000
++++ p3scan.c 2009-03-06 02:34:13.000000000 +0000
+@@ -366,7 +366,7 @@
+ XXXXXX[4] = letters[v % 62];
+ v /= 62;
+ XXXXXX[5] = letters[v % 62];
+- fd=open(template, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR | O_SYNC, 0600);
++ fd=open(template, O_RDWR | O_CREAT | O_EXCL | O_SYNC, 0600);
+ if (fd >= 0){
+ errno = save_errno;
+ return fd;