cvs commit: ports/sysutils/cromwell Makefile

Max Khon fjoe at samodelkin.net
Wed Dec 27 11:18:21 PST 2006


Hi!

On Wed, Dec 27, 2006 at 03:44:56AM +0000, Shaun Amott wrote:

> shaun       2006-12-27 03:44:56 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     sysutils/cromwell    Makefile 
>   Log:
>   Depend on gcc 3.4, since it fails with 4.x and is unlikely to be fixed.
>   
>   PR:             ports/107104
>   Submitted by:   rink (maintainer)
>   
>   Revision  Changes    Path
>   1.2       +1 -0      ports/sysutils/cromwell/Makefile

Please try attached patch.

/fjoe
-------------- next part --------------
? 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 at 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) 
+ {


More information about the cvs-ports mailing list