ports/123201: [patch] sysutils/cromwell marked BROKEN
Rink Springer
rink at FreeBSD.org
Tue Apr 29 09:00:13 UTC 2008
>Number: 123201
>Category: ports
>Synopsis: [patch] sysutils/cromwell marked BROKEN
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 29 09:00:12 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Rink Springer
>Release: FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD gloom.rink.nu 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Apr 9 23:43:12 CEST 2008 rink at gloom.rink.nu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
sysutils/cromwell is broken on FreeBSD >= 7.0.
>How-To-Repeat:
cd /usr/ports/sysutils/cromwell && make
This fails, and the port has been marked broken.
>Fix:
Apply the following patch:
diff -rubB cromwell.old/Makefile cromwell/Makefile
--- cromwell.old/Makefile 2008-04-29 10:31:22.930838814 +0200
+++ cromwell/Makefile 2008-04-29 10:32:16.497450772 +0200
@@ -7,7 +7,7 @@
PORTNAME= cromwell
PORTVERSION= 20060308
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://rink.nu/downloads/xbox/
DISTNAME= cromwell-snapshot-${PORTVERSION}
@@ -16,8 +16,10 @@
# 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 at FreeBSD.org
@@ -56,10 +58,4 @@
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 -rubB cromwell.old/distinfo cromwell/distinfo
--- cromwell.old/distinfo 2008-04-29 10:31:22.930838814 +0200
+++ cromwell/distinfo 2008-04-29 10:32:19.023455613 +0200
@@ -10,3 +10,6 @@
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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list