On 02/12/2015 03:30 PM, Jim Paris wrote: > Package: libnewlib-dev > Version: 2.1.0+git20141201.db59ff3-1 > Severity: normal > Tags: patch > > Dear Maintainer, > > Code built against newlib-nano needs to use newlib-nano's version of > newlib.h, because things like the size and layout of struct _reent > are different. > > There are two patches attached: > > - The first copies newlib.h from the -nano build to > /usr/include/newlib/nano/newlib.h in the installed package, so that > it's available for use.
Applied :) > - The second adjusts the nano.specs file to add the appropriate > include path, so that "#include <newlib.h>" pulls in the > correct file for both cases (with/without "-specs=nano.specs"). > This is so that the user does not need to manually specify > the include path in their build. > > I'm not very familiar with specs files, so there may be a better > way to handle that second case that avoids having to hardcode the > path. > > The first patch is more important and only affects the debian/ dir, > the other might be better coordinated with upstream? Applied for now and of course if you want/can report this to upstream would be great. If you don't have much time or interest on this I will. I want to remark that I really appreciate your help these patches are awesome and if you want to help with this package it would be really great! Cheers, -- TiN -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org