aboutsummaryrefslogtreecommitdiffstats
path: root/community/pluma/0001-fix-accessperms-in-tests.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-12-09 10:42:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-09 10:50:17 +0000
commit4962f5bc65c4d795432f6985359441471f82fbf4 (patch)
tree4f99f657ba9dd0adbb01b1ab8f0a65cd13baa875 /community/pluma/0001-fix-accessperms-in-tests.patch
parent706e4c05bfefb21d9cad30600e1d3e1175637aca (diff)
downloadaports-4962f5bc65c4d795432f6985359441471f82fbf4.tar.bz2
aports-4962f5bc65c4d795432f6985359441471f82fbf4.tar.xz
community/pluma: move from testing
Diffstat (limited to 'community/pluma/0001-fix-accessperms-in-tests.patch')
-rw-r--r--community/pluma/0001-fix-accessperms-in-tests.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/pluma/0001-fix-accessperms-in-tests.patch b/community/pluma/0001-fix-accessperms-in-tests.patch
new file mode 100644
index 0000000000..144994aa3f
--- /dev/null
+++ b/community/pluma/0001-fix-accessperms-in-tests.patch
@@ -0,0 +1,27 @@
+From c2503017d7f70c83a7bcf25da356db15b5015005 Mon Sep 17 00:00:00 2001
+From: Alan Lacerda <alacerda@alpinelinux.org>
+Date: Thu, 16 Jul 2015 17:45:10 +0000
+Subject: [PATCH] fix accessperms in tests
+
+---
+ tests/document-saver.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/tests/document-saver.c b/tests/document-saver.c
+index 455ef65..a36700d 100644
+--- a/tests/document-saver.c
++++ b/tests/document-saver.c
+@@ -27,6 +27,10 @@
+ #include <string.h>
+ #include <sys/stat.h>
+
++#ifndef ACCESSPERMS
++#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
++#endif
++
+ #define DEFAULT_LOCAL_URI "/tmp/pluma-document-saver-test.txt"
+ #define DEFAULT_REMOTE_URI "sftp://localhost/tmp/pluma-document-saver-test.txt"
+ #define DEFAULT_CONTENT "hello world!"
+--
+2.4.6
+