pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pluma: add compat ACCESSPERMS define



Module Name:	pkgsrc-wip
Committed By:	Jonathan Perkin <jperkin%joyent.com@localhost>
Pushed By:	jperkin
Date:		Wed Apr 27 14:36:19 2016 +0100
Changeset:	cb4076c58c537a2d1ba18b4836a7a7938afd4d38

Modified Files:
	pluma/distinfo
Added Files:
	pluma/patches/patch-tests_document-saver.c

Log Message:
pluma: add compat ACCESSPERMS define

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cb4076c58c537a2d1ba18b4836a7a7938afd4d38

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pluma/distinfo                             |  1 +
 pluma/patches/patch-tests_document-saver.c | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diffs:
diff --git a/pluma/distinfo b/pluma/distinfo
index 473b891..276e950 100644
--- a/pluma/distinfo
+++ b/pluma/distinfo
@@ -4,3 +4,4 @@ SHA1 (pluma-1.14.0.tar.xz) = e521a50260b46af94adf43078dc430c0f590a24a
 RMD160 (pluma-1.14.0.tar.xz) = f80ccf67c6b090b2a74b40786aa0d3ae13ad1a3d
 SHA512 (pluma-1.14.0.tar.xz) = b18d1209db0b244bd875a402a5331882f55614270cd88c49d217179a4a1b0bf72cbf09b0d46eecf7b4ab6fb18a016bb3cffbc1c7874e16df6518bb97066ab8fb
 Size (pluma-1.14.0.tar.xz) = 3457640 bytes
+SHA1 (patch-tests_document-saver.c) = b83527c83e0bdd91d81e8df780c3d8e13b19b9e5
diff --git a/pluma/patches/patch-tests_document-saver.c b/pluma/patches/patch-tests_document-saver.c
new file mode 100644
index 0000000..aa98b3c
--- /dev/null
+++ b/pluma/patches/patch-tests_document-saver.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Provide compat ACCESSPERMS define.
+
+--- tests/document-saver.c.orig	2015-10-10 00:14:30.000000000 +0000
++++ tests/document-saver.c
+@@ -29,6 +29,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!"


Home | Main Index | Thread Index | Old Index