summaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch')
-rw-r--r--recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch18
1 files changed, 11 insertions, 7 deletions
diff --git a/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch b/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
index 4096cd5..a4b01c1 100644
--- a/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
+++ b/recipes-extended/glusterfs/files/dependence-on-correct-header-file-path.patch
@@ -1,6 +1,6 @@
1From e585cea1d27be3769c33cf1c0a38bf0de41e2bf9 Mon Sep 17 00:00:00 2001 1From 204149d9b46ccec3a354ad4cfcc230c1fab93982 Mon Sep 17 00:00:00 2001
2From: Xulin Sun <xulin.sun@windriver.com> 2From: "Hongzhi.Song" <hongzhi.song@windriver.com>
3Date: Tue, 22 Mar 2016 16:05:32 +0800 3Date: Tue, 12 Mar 2019 22:04:12 -0700
4Subject: [PATCH] dependence on correct header file path 4Subject: [PATCH] dependence on correct header file path
5 5
6To avoid the below building error, use the correct header file path. 6To avoid the below building error, use the correct header file path.
@@ -10,21 +10,25 @@ No such file or directory
10Upstream-Status: Inappropriate [embedded specific] 10Upstream-Status: Inappropriate [embedded specific]
11 11
12Signed-off-by: Xulin Sun <xulin.sun@windriver.com> 12Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
13 13[Hongzhi:adjust the patch for v5.4]
14Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
14--- 15---
15 xlators/features/glupy/src/glupy.c | 2 +- 16 xlators/features/glupy/src/glupy.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
17 18
18diff --git a/xlators/features/glupy/src/glupy.c b/xlators/features/glupy/src/glupy.c 19diff --git a/xlators/features/glupy/src/glupy.c b/xlators/features/glupy/src/glupy.c
19index bca4764..7c2b271 100644 20index d1a111e..58cdaf9 100644
20--- a/xlators/features/glupy/src/glupy.c 21--- a/xlators/features/glupy/src/glupy.c
21+++ b/xlators/features/glupy/src/glupy.c 22+++ b/xlators/features/glupy/src/glupy.c
22@@ -10,7 +10,7 @@ 23@@ -11,7 +11,7 @@
23
24 #include <ctype.h> 24 #include <ctype.h>
25 #include <dlfcn.h>
25 #include <sys/uio.h> 26 #include <sys/uio.h>
26-#include <Python.h> 27-#include <Python.h>
27+#include <python2.7/Python.h> 28+#include <python2.7/Python.h>
28 29
29 #include "glusterfs.h" 30 #include "glusterfs.h"
30 #include "xlator.h" 31 #include "xlator.h"
32--
332.17.1
34