Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
? cromwell.diff
? work
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/cromwell/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile	27 Dec 2006 03:44:56 -0000	1.2
+++ Makefile	27 Dec 2006 18:50:21 -0000
@@ -20,7 +20,6 @@ MAINTAINER=	rink@FreeBSD.org
 COMMENT=	Linux (and FreeBSD :-) BIOS images for the Microsoft Xbox
 
 USE_PERL5_BUILD=	yes
-USE_GCC=		3.4
 
 SUB_FILES=	pkg-message
 
Index: files/patch-Makefile
===================================================================
RCS file: files/patch-Makefile
diff -N files/patch-Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile	27 Dec 2006 18:50:21 -0000
@@ -0,0 +1,11 @@
+--- Makefile.orig	Thu Dec 28 00:39:41 2006
++++ Makefile	Thu Dec 28 00:39:49 2006
+@@ -18,7 +18,7 @@
+ 
+ # add the option for gcc 3.3 only, again, non-overridable
+ ifeq ($(GCC_3.3), 1)
+-CROM_CFLAGS += -fno-zero-initialized-in-bss
++CROM_CFLAGS += -fno-zero-initialized-in-bss -ffreestanding
+ endif
+ 
+ LD      = ld
Index: files/patch-lib-misc-BootLibrary.c
===================================================================
RCS file: files/patch-lib-misc-BootLibrary.c
diff -N files/patch-lib-misc-BootLibrary.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-lib-misc-BootLibrary.c	27 Dec 2006 18:50:21 -0000
@@ -0,0 +1,17 @@
+--- lib/misc/BootLibrary.c.orig	Thu Dec 28 00:41:52 2006
++++ lib/misc/BootLibrary.c	Thu Dec 28 00:42:44 2006
+@@ -49,6 +49,14 @@
+ 	return __res;
+ }
+ 
++int
++strcmp(const char *s1, const char *s2)
++{
++	while (*s1 == *s2++)
++		if (*s1++ == 0)
++			return (0);
++	return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
++}
+ 
+ int tolower(int ch) 
+ {

--VbJkn9YxBvnuCH5J--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>