summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch
blob: a9afb9948cdff6fdebe3afa8ea3d5738ed9e4127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 2adaa7366064a8f18af864eda74e52877a89620c Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Mon, 18 Jan 2016 01:00:30 -0500
Subject: [PATCH] configure.ac: do not check local png source

In oe-core, it did not need to compile local libpng
source in ghostscript, so do not check local png
source, and directly check the existance of shared
libpng library.

Upstream-Status: Inappropriate [OE-Core specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 698abd3..e65ac8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1241,7 +1241,7 @@ else
   PNGDEVS=''
   PNGDEVS_ALL='png48 png16m pnggray pngmono pngmonod png256 png16 pngalpha'
   AC_MSG_CHECKING([for local png library source])
-  if test -f $srcdir/libpng/pngread.c; then
+  if false; then
           AC_MSG_RESULT([yes])
           SHARE_LIBPNG=0
           LIBPNGDIR=$srcdir/libpng