commit:     246d53d0ea28e680beed6dba9823a119b1ee349b
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 15 22:25:36 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 22:29:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=246d53d0

media-gfx/xsane: Make lcms2 patch POSIX sh compliant

Thanks-to: Nico R. <n-roeser <AT> gmx.net>
Closes: https://bugs.gentoo.org/723516
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-gfx/xsane/files/xsane-0.999-lcms2.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/xsane/files/xsane-0.999-lcms2.patch 
b/media-gfx/xsane/files/xsane-0.999-lcms2.patch
index c3d696c28ec..0a98bc8122b 100644
--- a/media-gfx/xsane/files/xsane-0.999-lcms2.patch
+++ b/media-gfx/xsane/files/xsane-0.999-lcms2.patch
@@ -32,10 +32,10 @@ index df7b114..3659c97 100644
 +  if test "${ac_cv_search_cmsOpenProfileFromFile}" != "no"; then
 +    AC_DEFINE(HAVE_LIBLCMS, 1, [Define if LCMS is to be used.])
 +  fi
-+  if test "${ac_cv_search_cmsOpenProfileFromFile}" == "-llcms2"; then
++  if test "${ac_cv_search_cmsOpenProfileFromFile}" = "-llcms2"; then
 +    AC_DEFINE(HAVE_LIBLCMS2, 1, [Define if you have liblcms2.])
 +  else
-+    if test "${ac_cv_search_cmsOpenProfileFromFile}" == "-llcms"; then
++    if test "${ac_cv_search_cmsOpenProfileFromFile}" = "-llcms"; then
 +      AC_DEFINE(HAVE_LIBLCMS1, 1, [Define if you have liblcms.])
 +    fi
 +  fi

Reply via email to