diff --git a/editors/gedit/distinfo b/editors/gedit/distinfo index 3d453e427adb..406d72a4c411 100644 --- a/editors/gedit/distinfo +++ b/editors/gedit/distinfo @@ -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 --git a/editors/gedit/patches/patch-tests_document-saver.c b/editors/gedit/patches/patch-tests_document-saver.c new file mode 100644 index 000000000000..e26a760ff89d --- /dev/null +++ b/editors/gedit/patches/patch-tests_document-saver.c @@ -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 + #include + ++#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!"