This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [gcc-3.0] Fixinclude uw7_byteorder_fix not getting applied


Bruce Korb wrote:
> 
> Matt Schalit wrote:
> >
> > I attached the real file just to be safe.  That way
> > you can look at the real file to verify it's as you
> > expect.
> >
> > Will you let me know the fix?  Thanks
> 
> Well, it looks like the problem is this:
> 
>   select = "-f $DESTDIR/sys/byteorder.h";
> 
> which means that the fix will not be applied unless the
> byteorder.h file is _already_ installed in the destination
> directory.  The correct version, I think, should be:
> 
>   select = "-f sys/byteorder.h";
> 
> which means that there exists a byteorder.h file in /usr/include/sys.
> I guess the assumption is that if there is not, then there
> will not be a conflict with the declarations.
> 
> Fixed (I think) and committed.  Please verify, since
> I do not have a box with such problems.
> 
> Regards,
>         Bruce



Bruce!

Awesome.  You're solution worked.  
I guess I'll mention that the fix was

   test = "-f sys/byteorder.h";

rather than 

>   select = "-f sys/byteorder.h";

as you sent in this email.  But no biggy.  I figured
it out ok when I applied to gcc-3.0.  

Thanks again!
Matthew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]