1From 47f175618a0b0817714ea557c9e93f22f327421e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 31 Jul 2018 16:39:52 +0800
4Subject: [PATCH 1/4] tigervnc: remove includedir
5
6Upstream-Status: Pending
7
8Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
9
10It fixes host contamination
11
12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13---
14 unix/xserver/hw/vnc/Makefile.am | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
16
17diff --git a/unix/xserver/hw/vnc/Makefile.am b/unix/xserver/hw/vnc/Makefile.am
18index 470424b..ee18bf9 100644
19--- a/unix/xserver/hw/vnc/Makefile.am
20+++ b/unix/xserver/hw/vnc/Makefile.am
21@@ -23,7 +23,7 @@ libvnccommon_la_SOURCES = $(HDRS) \
22
23 libvnccommon_la_CPPFLAGS = -DVENDOR_RELEASE="$(VENDOR_RELEASE)" -I$(TIGERVNC_SRCDIR)/unix/common \
24 	-DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(TIGERVNC_SRCDIR)/common -UHAVE_CONFIG_H \
25-	-I$(TIGERVNC_SRCDIR)/unix/vncconfig $(XVNC_CPPFLAGS) ${XSERVERLIBS_CFLAGS} -I$(includedir) \
26+	-I$(TIGERVNC_SRCDIR)/unix/vncconfig $(XVNC_CPPFLAGS) ${XSERVERLIBS_CFLAGS} \
27 	-I$(top_srcdir)/include
28
29 bin_PROGRAMS = Xvnc
30@@ -43,7 +43,7 @@ Xvnc_CPPFLAGS = $(XVNC_CPPFLAGS) -DTIGERVNC -DNO_MODULE_EXTS \
31 	-UHAVE_CONFIG_H \
32 	-DXFree86Server -DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
33 	-DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(TIGERVNC_SRCDIR)/common -I$(TIGERVNC_SRCDIR)/unix/common \
34-	-I$(top_srcdir)/include ${XSERVERLIBS_CFLAGS} -I$(includedir)
35+	-I$(top_srcdir)/include ${XSERVERLIBS_CFLAGS}
36
37 Xvnc_LDADD = $(XVNC_LIBS) libvnccommon.la $(COMMON_LIBS) \
38 	$(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XVNC_SYS_LIBS) -lX11
39@@ -64,7 +64,7 @@ libvnc_la_CPPFLAGS = $(XVNC_CPPFLAGS) -I$(TIGERVNC_SRCDIR)/common -UHAVE_CONFIG_
40 	-I$(top_srcdir)/hw/xfree86/os-support \
41 	-I$(top_srcdir)/hw/xfree86/os-support/bus \
42 	-I$(top_srcdir)/include \
43-	${XSERVERLIBS_CFLAGS} -I$(includedir)
44+	${XSERVERLIBS_CFLAGS}
45
46 libvnc_la_LDFLAGS = -module -avoid-version -Wl,-z,now
47
48--
492.7.4
50
51