mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
- Fix the build with GCC 4.2
- Remove BROKEN tag Reported by: pointyhat (logs)
This commit is contained in:
parent
40bd9f0101
commit
8049a87680
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193835
@ -21,12 +21,6 @@ PROGRAMS= crimap
|
||||
EXAMPLES= chr7a.gen demo.dat
|
||||
EXIT_PATCH= e_ped.c get_log.c our_allo.c our_orde.c
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Broken with gcc 4.2
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for file in ${EXIT_PATCH}
|
||||
@${REINPLACE_CMD} -e 's|exit\ *()|exit(0)|' ${WRKSRC}/${file}
|
||||
@ -50,4 +44,4 @@ do-install:
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
31
biology/crimap/files/patch-gcc4
Normal file
31
biology/crimap/files/patch-gcc4
Normal file
@ -0,0 +1,31 @@
|
||||
--- our_allo.c.orig Tue Jun 19 04:31:56 2007
|
||||
+++ our_allo.c Tue Jun 19 04:30:44 2007
|
||||
@@ -21,10 +21,11 @@
|
||||
static HEADER base;
|
||||
static HEADER *allocp = NULL;
|
||||
|
||||
+static HEADER *morecore();
|
||||
+
|
||||
char *our_alloc(nbytes)
|
||||
ALLOC nbytes;
|
||||
{
|
||||
- HEADER *morecore();
|
||||
HEADER *p;
|
||||
HEADER *q;
|
||||
ALLOC nunits;
|
||||
diff -ur work/our_orde.c foo/our_orde.c
|
||||
--- our_orde.c.orig Tue Jun 19 04:31:56 2007
|
||||
+++ our_orde.c Tue Jun 19 04:31:30 2007
|
||||
@@ -21,10 +21,11 @@
|
||||
static HEADER orders_base;
|
||||
static HEADER *orders_allocp = NULL;
|
||||
|
||||
+static HEADER *orders_morecore();
|
||||
+
|
||||
char *our_orders_alloc(nbytes)
|
||||
ALLOC nbytes;
|
||||
{
|
||||
- HEADER *orders_morecore();
|
||||
HEADER *p, *q;
|
||||
ALLOC nunits;
|
||||
|
Loading…
Reference in New Issue
Block a user