--- /usr/portage/media-gfx/iscan/iscan-2.28.1.3.ebuild 2012-06-04 16:11:50.000000000 -0500 +++ /usr/portage/media-gfx/iscan/iscan-2.28.1.3.ebuild 2012-07-05 11:19:10.991535364 -0500 @@ -82,12 +82,16 @@ epatch "${FILESDIR}"/iscan-2.25.0-drop-ltdl.patch epatch "${FILESDIR}"/iscan-2.25.0-fix-g++-test.patch + epatch "${FILESDIR}"/iscan-2.28.1.3-libpng15.patch eautoreconf } src_configure() { append-flags -D_GNU_SOURCE # needed for 'strndup' + # Fix selector box bug 388073 + replace-flags "-O[0-9s]" "-O1" + local myconf="--enable-dependency-reduction" if use X; then