Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2006 00:51:27 +0600
From:      Max Khon <fjoe@samodelkin.net>
To:        Shaun Amott <shaun@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, rink@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/sysutils/cromwell Makefile
Message-ID:  <20061227185127.GA18237@samodelkin.net>
In-Reply-To: <200612270344.kBR3ivSP086277@repoman.freebsd.org>
References:  <200612270344.kBR3ivSP086277@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cromwell.diff"

? 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?20061227185127.GA18237>