Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216216 - [PATCH] media-libs/mlt-0.2.4-r1 can compile false due to broken shell script
Summary: [PATCH] media-libs/mlt-0.2.4-r1 can compile false due to broken shell script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 18:12 UTC by Martin Väth
Modified: 2008-04-10 17:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch which removes the bashism (mlt-0.2.4-bashism.patch,349 bytes, patch)
2008-04-04 18:13 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2008-04-04 18:12:22 UTC
media-libs/mlt-0.2.4-r1 uses for compilation a shell script which is
marked #!/bin/sh but which uses bashism test "==". This fails if /bin/sh
is a symlink to /bin/dash.
Comment 1 Martin Väth 2008-04-04 18:13:24 UTC
Created attachment 148638 [details, diff]
Patch which removes the bashism

An alternative way might be of course to replace #!/bin/sh by #!/bin/bash
Comment 2 Alexis Ballier gentoo-dev 2008-04-10 17:44:51 UTC
applied, thanks. please dont forget to send it upstream too