cant buildworlnd on FreeBSD 4.9-RELEASE

Joerg Sonnenberger joerg at britannica.bec.de
Thu Feb 5 10:04:39 PST 2004


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 at 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"




More information about the Bugs mailing list