aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/cromwell/Makefile10
-rw-r--r--sysutils/cromwell/distinfo3
2 files changed, 6 insertions, 7 deletions
diff --git a/sysutils/cromwell/Makefile b/sysutils/cromwell/Makefile
index fe9c608f163c..7a3167b0e63c 100644
--- a/sysutils/cromwell/Makefile
+++ b/sysutils/cromwell/Makefile
@@ -16,8 +16,10 @@ DISTNAME= cromwell-snapshot-${PORTVERSION}
# cromwell-kenv: support for passing kenv(1) options by putting
# 'append foo1=bar1,foo2=bar2' in the linuxboot.cfg entry
# cromwell-gcc4: adds missing prototypes so it will compile using gcc 4
+# cromwell-gcc4-2: fixes a problem with a pointer size in gcc 4
PATCH_SITES= http://rink.nu/downloads/xbox-patches/
PATCHFILES= cromwell-ufs.diff cromwell-kenv.diff cromwell-gcc4.diff
+PATCHFILES+= cromwell-gcc4-2.diff
PATCH_DIST_STRIP= -p1
MAINTAINER= rink@FreeBSD.org
@@ -56,10 +58,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700000
-BROKEN= Does not build with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/cromwell/distinfo b/sysutils/cromwell/distinfo
index dbeac05bf818..e2f39415ae8b 100644
--- a/sysutils/cromwell/distinfo
+++ b/sysutils/cromwell/distinfo
@@ -10,3 +10,6 @@ SIZE (cromwell-kenv.diff) = 8351
MD5 (cromwell-gcc4.diff) = f76f32e70469717ce84fecbbd795a71c
SHA256 (cromwell-gcc4.diff) = 9c6d1ad5ec200f2b305bbbe6bfc8ebff37d1947d3ddd2d8344347e63eaaf4d11
SIZE (cromwell-gcc4.diff) = 9476
+MD5 (cromwell-gcc4-2.diff) = 2cb3256bab34b5402d044c9c5970b7dd
+SHA256 (cromwell-gcc4-2.diff) = 6f6212ab6082eeeae0d22b6cef6985d0551a500d92d1eb6ccccff6c1123e7dad
+SIZE (cromwell-gcc4-2.diff) = 578