pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/gedit Define ACCESSPERMS for systems which do ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/01de16f67b45
branches: trunk
changeset: 610474:01de16f67b45
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Oct 26 15:51:13 2012 +0000
description:
Define ACCESSPERMS for systems which do not have it.
Fixes package on Solaris.
diffstat:
editors/gedit/distinfo | 3 ++-
editors/gedit/patches/patch-tests_document-saver.c | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r bfb7966a7ea0 -r 01de16f67b45 editors/gedit/distinfo
--- a/editors/gedit/distinfo Fri Oct 26 13:54:18 2012 +0000
+++ b/editors/gedit/distinfo Fri Oct 26 15:51:13 2012 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.52 2010/11/03 19:55:18 drochner Exp $
+$NetBSD: distinfo,v 1.53 2012/10/26 15:51:13 jperkin Exp $
SHA1 (gedit-2.30.4.tar.bz2) = ff7f4088d0b89224b84406557a7d9970323fdcc3
RMD160 (gedit-2.30.4.tar.bz2) = b2659b8847ef02c66a70acd2f4a492555e1e4d21
Size (gedit-2.30.4.tar.bz2) = 4705692 bytes
SHA1 (patch-ab) = 06f1492437126f8ee12bda5b5dd090b713885ba2
SHA1 (patch-ac) = 997c8a7ddcfc98369afdf42dddeff5cf6e159c23
+SHA1 (patch-tests_document-saver.c) = 5317930c5da888c33f43f341e627b2e85829212b
diff -r bfb7966a7ea0 -r 01de16f67b45 editors/gedit/patches/patch-tests_document-saver.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/gedit/patches/patch-tests_document-saver.c Fri Oct 26 15:51:13 2012 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-tests_document-saver.c,v 1.1 2012/10/26 15:51:13 jperkin Exp $
+
+Define ACCESSPERMS for systems which do not have it.
+
+--- tests/document-saver.c.orig 2012-10-26 15:41:49.737048981 +0000
++++ tests/document-saver.c 2012-10-26 15:42:28.479034452 +0000
+@@ -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/gedit-document-saver-test.txt"
+ #define DEFAULT_REMOTE_URI "sftp://localhost/tmp/gedit-document-saver-test.txt"
+ #define DEFAULT_CONTENT "hello world!"
Home |
Main Index |
Thread Index |
Old Index