mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
gedit: Define ACCESSPERMS if not defined already
Fixes build on musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
0cb5343932
commit
94f92801d6
|
|
@ -0,0 +1,31 @@
|
|||
From ee43bcc3c8d69fe56a64c3487e2d3c780ea5d25e Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Jul 2017 06:53:35 -0700
|
||||
Subject: [PATCH] tests/document-saver.c: Define ACCESSPERMS if not defined
|
||||
already
|
||||
|
||||
Helps compile with musl
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tests/document-saver.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/tests/document-saver.c b/tests/document-saver.c
|
||||
index 9f44d5a..811ade6 100644
|
||||
--- a/tests/document-saver.c
|
||||
+++ b/tests/document-saver.c
|
||||
@@ -41,6 +41,10 @@
|
||||
#define UNOWNED_GROUP_LOCAL_URI "/tmp/gedit-document-saver-unowned-group.txt"
|
||||
#define UNOWNED_GROUP_REMOTE_URI "sftp://localhost/tmp/gedit-document-saver-unowned-group.txt"
|
||||
|
||||
+#if !defined(ACCESSPERMS)
|
||||
+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */
|
||||
+#endif
|
||||
+
|
||||
static gboolean test_completed;
|
||||
static gboolean mount_completed;
|
||||
static gboolean mount_success;
|
||||
--
|
||||
2.13.2
|
||||
|
||||
|
|
@ -8,11 +8,12 @@ DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-c
|
|||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
inherit gnome gettext pythonnative
|
||||
SRC_URI+= " \
|
||||
file://0001-workaround-void-pointer-arithmetic.patch \
|
||||
file://0001-Remove-help-directory-from-build.patch \
|
||||
file://0002-suppress-string-format-literal-warning-to-fix-build-.patch \
|
||||
"
|
||||
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
|
||||
file://0001-workaround-void-pointer-arithmetic.patch \
|
||||
file://0001-Remove-help-directory-from-build.patch \
|
||||
file://0002-suppress-string-format-literal-warning-to-fix-build-.patch \
|
||||
file://0001-tests-document-saver.c-Define-ACCESSPERMS-if-not-def.patch \
|
||||
"
|
||||
SRC_URI[archive.md5sum] = "e1eecb0a92a1a363b3d375ec5ac0fb3b"
|
||||
SRC_URI[archive.sha256sum] = "a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c"
|
||||
GNOME_COMPRESS_TYPE="bz2"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user