summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch
new file mode 100644
index 0000000000..c4794e7d8f
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch
@@ -0,0 +1,19 @@
1Remove hardcode path refer to host to avoid host contamination.
2
3Upstream-Status: Inappropriate [embedded specific]
4
5Signed-off-by: Kai Kang <kai.kang@windriver.com>
6---
7diff --git a/devices/devs.mak b/devices/devs.mak
8index 3070d2e..df663f0 100644
9--- a/devices/devs.mak
10+++ b/devices/devs.mak
11@@ -546,7 +546,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\
12 ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT
13
14 $(DEVOBJ)X11.so : $(x11alt_) $(x11_) $(DEVS_MAK) $(MAKEDIRS)
15- $(CCLD) $(LDFLAGS) -shared -o $(DEVOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
16+ $(CCLD) $(LDFLAGS) -shared -o $(DEVOBJ)X11.so $(x11alt_) $(x11_) -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS)
17
18 ###### --------------- Memory-buffered printer devices --------------- ######
19