aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pluma/0001-fix-accessperms-in-tests.patch
diff options
context:
space:
mode:
authorAlan Lacerda <alacerda@alpinelinux.org>2015-07-16 18:02:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-17 07:12:48 +0000
commit6bc9af5bc349af6ac43d255518c91aa1f5ed4384 (patch)
tree50a0f6be45d0188fa119349930c50b25ce6104a8 /testing/pluma/0001-fix-accessperms-in-tests.patch
parent2bae0f8ee5fbe9084d7044b9c65c5f4bc868821d (diff)
downloadaports-6bc9af5bc349af6ac43d255518c91aa1f5ed4384.tar.bz2
aports-6bc9af5bc349af6ac43d255518c91aa1f5ed4384.tar.xz
testing/pluma: new aport
Diffstat (limited to 'testing/pluma/0001-fix-accessperms-in-tests.patch')
-rw-r--r--testing/pluma/0001-fix-accessperms-in-tests.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/pluma/0001-fix-accessperms-in-tests.patch b/testing/pluma/0001-fix-accessperms-in-tests.patch
new file mode 100644
index 0000000000..144994aa3f
--- /dev/null
+++ b/testing/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
+