Hi Markus & Damien,
Markus, thanks for the hint, I'll try. Damien,
yes, the problematic patch was source-hardening.patch
as Markus pointed out. And then also something about
native vs. quilt package format.
So far I struggled with recipe given by Clement, mainly
because of libgit2 - it refuses to compile cleanly in 32bit mode
under 64bit system (I had this problem 2 years ago when playing
with libgit2, apparently no progress here :-) Bit of sed would do it,
although super ugly. Then the vm generator generated sources to the
wrong directory. It either does not respect process CWD os it was
something else...
However, I already exhausted my free time. I'll try again later and
get back to you.
Best, Jan
On Thu, 2014-09-25 at 15:37 +0200, Markus Fritsche wrote:
> On 2014-09-25 13:58, Damien Cassou wrote:
>
> >> I tried that,but some patches applied to the sources above are rejected
> >> so package dpkg-buildpackage fails - at least on Debian Jessie
>
> > can you give more information?
>
> source-hardening.patch has to be adjusted
>
> --- a/src/vm/cogit.c 2014-09-24 11:26:13.117242533 +0200
> +++ b/src/vm/cogit.c 2014-09-24 11:26:55.181154041 +0200
> @@ -19339,7 +19339,7 @@ printTrampolineTable(void)
> for (i = 0; i < trampolineTableIndex; i += 2) {
> printHex(((sqInt)(trampolineAddresses[i + 1])));
> print(": ");
> - print(((char *) (trampolineAddresses[i])));
> + printf("%s", trampolineAddresses[i]);
> cr();
> }
> }
>
>
> Kind regards,
> Markus
>