Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263712 - dev-libs/dbxml-2.4.16.1 fail to build (patch phase)
Summary: dev-libs/dbxml-2.4.16.1 fail to build (patch phase)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 11:11 UTC by Guido Jäkel
Modified: 2009-03-28 10:56 UTC (History)
0 users

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


Attachments
adapted ebuild (dbxml-2.4.16.1-r1.ebuild,5.00 KB, text/plain)
2009-03-25 11:15 UTC, Guido Jäkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Jäkel 2009-03-25 11:11:26 UTC
Dear Tiziano,

today i want to use this ebuild, but it failed while applying the "official" patch file, because it is delivered (meanwhile or a mistake?) with DOS-style-lineends causing patch to miss the patterns.

I don't know if there is a smart prebuild solution inside the ebuild framework for this; i inserted a simple "sed-inliner". I'll attach this ebuild.
Comment 1 Guido Jäkel 2009-03-25 11:15:23 UTC
Created attachment 186220 [details]
adapted ebuild

Convert the official dbxml patch file 2.6.4.1 from DOS to Unix style
Comment 2 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-25 11:25:18 UTC
Thanks for your report and the patch Guido but DevRel isn't the right address for it.

Unlocking and moving to the maintainer.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-25 11:41:30 UTC
+  25 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> dbxml-2.4.16.1.ebuild:
+  Fix dos line-endings, bug 263712. Thanks to Guido Jäkel
+  <G.Jaekel@D-NB.DE> for the report.
+
[...]
 	for patch in $(get_patches) ; do
+		edos2unix "${DISTDIR}/${patch}"
 		epatch "${DISTDIR}/${patch}"
 	done
[...]
Comment 4 Guido Jäkel 2009-03-25 12:57:44 UTC
> +               edos2unix "${DISTDIR}/${patch}"

Dear Peter,
thank you; that's exactly the "smart solution" ;)