Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 723516

Summary: media-gfx/xsane-0.999-r2: lcms2 compatibility patch not compatible with POSIX sh
Product: Gentoo Linux Reporter: Nico R. <n-roeser>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, printing
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    

Description Nico R. 2020-05-17 21:13:12 UTC
If you have /bin/bash -> dash, media-gfx/xsane-0.999-r2 cannot be built. Reason is that lcms2 is now the only media-libs/lcms version in the tree, and the test for it fails.

The patch ($FILESDIR/xsane-0.999-lcms2.patch) looks good, but needs a tiny adjustment: s/==/=/ in the test expressions in configure.in.

With this change, media-gfx/xsane-0.999-r2 installs fine for me.
Comment 1 Larry the Git Cow gentoo-dev 2020-10-15 22:29:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=246d53d0ea28e680beed6dba9823a119b1ee349b

commit 246d53d0ea28e680beed6dba9823a119b1ee349b
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-10-15 22:25:36 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-10-15 22:29:23 +0000

    media-gfx/xsane: Make lcms2 patch POSIX sh compliant
    
    Thanks-to: Nico R. <n-roeser@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@gentoo.org>

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