[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#798782: gcc-5: add gnat sjlj back



On Wed, Sep 16, 2015 at 12:27 AM, YunQiang Su <wzssyqa@gmail.com> wrote:
> On Wed, Sep 16, 2015 at 12:18 AM, Matthias Klose <doko@debian.org> wrote:
>> On 09/13/2015 03:23 PM, YunQiang Su wrote:
>>> Some more fix to debian/rules.d/binary-ada.mk.
>>>
>>
>>
>> -       $(cross_shlibdeps) dh_shlibdeps -p$(p_gnsjlj)
>> -       $(cross_gencontrol) dh_gencontrol -p$(p_gnsjlj) \
>>
>> removing the cross_* macros looks wrong, because in your gcc-5-cross patch, you
>> re-add this:
>
> No, it is not wrong.
> With cross_* macros gnat-5-sjlj-<triplet> will have a architecture
> <target> instead
> of <host>
>
> So, don't remove it.

I mean don't remove this from my patch. ;)

>
>>
>> +           sed -i -e "/^Depends:/s/\(libgnat-[0-9]*\) (>=
>> $(DEB_VER_GCC)$(CROSS_EXT))/\1 (>= $(DEB_VER_GCC))/g" \
>> +             tmp/DEBIAN/control ; \
>>
>
> They are 2 different stories.
> This is for
> gnat-5-<triplet>, which will depends on libgnat-5:<host>.
> If I don't sed it, it will become:
>     gnat-5-<triplet>:host depends on libgnat-5:<host> (>= 5.2.1-17cross1)
>
> While in our archive, the version of libgnat-5:<host> is 5.2.1-17.
>
>> I'm restoring the original behaviour
>>
>
>
>
>
> --
> YunQiang Su



-- 
YunQiang Su


Reply to: