pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: broken patch for devel/editline
On Mon, 19 May 2014 11:42:27 +0100, Jonathan Perkin
<jperkin%joyent.com@localhost>
wrote:
> * On 2014-05-19 at 11:30 BST, diger wrote:
>
>> I try to build editline on Haiku and get an error:
>>
>> ===> Overriding tools for editline-3.1.20130712nb1
>> ===> Extracting for editline-3.1.20130712nb1
>> ===> Patching for editline-3.1.20130712nb1
>> => Applying pkgsrc patches for editline-3.1.20130712nb1
>> 1 out of 1 hunk FAILED -- saving rejects to file acinclude.m4.rej
>> Patch /boot/pkgsrc/devel/editline/patches/patch-ab failed
>> ERROR: Patching failed due to modified or broken patch file(s):
>> ERROR: /boot/pkgsrc/devel/editline/patches/patch-ab
>> *** Error code 1
>
> I've regenerated the patch, try with the latest commit?
>
> If the Haiku patch(1) is picky about these then you may want to
> comment out this line in mk/tools/tools.Haiku.mk:
>
> TOOLS_PLATFORM.patch?= /bin/patch
>
> so that nbpatch is pulled in instead, as that was able to handle the
> previous editline patch.
Yes, with nbpatch all ok.
On Haiku "patch" version is 2.5.4
I think the problem is the last line of the patch:
"\ No newline at end of file"
--
Diger
--
--
Jabber ID: admin%freenet59.ru@localhost
--
С Уважением, ген.директор ООО "Компания Корона"
Бородулин Виталий Владимирович
Тел: 83426146624
Сотовый:89630198756
Home |
Main Index |
Thread Index |
Old Index