DragonFly BSD
DragonFly bugs List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cant buildworlnd on FreeBSD 4.9-RELEASE


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 5 Feb 2004 19:03:33 +0100

On Thu, Feb 05, 2004 at 09:43:55AM -0800, Matthew Dillon wrote:
>     Ouch.  don't commit that hack :-)... it's better to fix the source
>     code in the cross build / bootstrap tools to support both FreeBSD 
>     and DFly.

I didn't really thought about commited it ;-) It doesn't catch that
instance anyway. Is it ok to hardwire the relative path to our
sys/param.h into crtbrand.c? E.g. the attached patch?

Joerg

> 					-Matt
> 					Matthew Dillon 
> 					<dillon@xxxxxxxxxxxxx>
Index: crtbrand.c
===================================================================
RCS file: /cvs/src/lib/csu/common/crtbrand.c,v
retrieving revision 1.3
diff -u -r1.3 crtbrand.c
--- crtbrand.c	3 Feb 2004 07:34:06 -0000	1.3
+++ crtbrand.c	5 Feb 2004 18:03:59 -0000
@@ -26,7 +26,7 @@
  * $DragonFly: src/lib/csu/common/crtbrand.c,v 1.3 2004/02/03 07:34:06 dillon Exp $
  */
 
-#include <sys/param.h>
+#include "../../../sys/sys/param.h"
 
 #define ABI_VENDOR	"FreeBSD"
 #define ABI_SECTION	".note.ABI-tag"


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