FreeBSD Bugzilla – Attachment 139141 Details for
Bug 185332
games/species: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.60 KB, created by
tkato432
on 2013-12-30 21:10:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-12-30 21:10:07 UTC
Size:
2.60 KB
patch
obsolete
>diff -urN /usr/ports/games/species/Makefile games/species/Makefile >--- /usr/ports/games/species/Makefile 2013-11-20 21:29:50.000000000 +0900 >+++ games/species/Makefile 2013-12-31 00:00:00.000000000 +0900 >@@ -3,14 +3,16 @@ > > PORTNAME= species > PORTVERSION= 1.2d >+PORTREVISION= 1 > CATEGORIES= games >-MASTER_SITES= ${MASTER_SITE_LOCAL} >-MASTER_SITE_SUBDIR= alepulver >+MASTER_SITES= LOCAL/alepulver > DISTNAME= redcoder > > MAINTAINER= ports@FreeBSD.org > COMMENT= Corewars evolver - generates warriors using genetic algorithms > >+LICENSE= GPLv1 # (or later) >+ > USE_BZIP2= yes > USES= gmake dos2unix > WRKSRC= ${WRKDIR}/${PORTNAME} >@@ -25,11 +27,17 @@ > > .include <bsd.port.options.mk> > >+.if empty(PORT_OPTIONS:MVISITOOL) >+MAKE_ENV+= WX_CONFIG="${TRUE}" >+.endif >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin > @${MKDIR} ${STAGEDIR}${DATADIR} > cd ${WRKSRC} && ${INSTALL_DATA} koen.* species.ini *.rc ${STAGEDIR}${DATADIR} >- cd ${WRKSRC} && ${CP} -r bench evolver_hill wilfiz ${STAGEDIR}${DATADIR} >+.for i in bench evolver_hill wilfiz >+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${DATADIR}) >+.endfor > .if ${PORT_OPTIONS:MVISITOOL} > ${INSTALL_PROGRAM} ${WRKSRC}/visitool ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-visitool > .endif >diff -urN /usr/ports/games/species/files/patch-Makefile games/species/files/patch-Makefile >--- /usr/ports/games/species/files/patch-Makefile 2013-11-06 22:00:44.000000000 +0900 >+++ games/species/files/patch-Makefile 2013-12-31 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ > --- ./Makefile.orig Sun Feb 22 03:54:24 2004 > +++ ./Makefile Wed Jan 16 18:29:09 2008 >-@@ -1,8 +1,8 @@ >+@@ -1,22 +1,22 @@ > # makefile for species > > -CC = gcc >@@ -10,9 +10,11 @@ > +CPP = $(CXX) > +LD = $(CXX) > >- OPT = -O4 >+-OPT = -O4 >++#OPT = -O4 > DBG = >-@@ -11,12 +11,12 @@ >+ # Recommended extra options for gcc: >+ #OPT += -fomit-frame-pointer -fforce-addr -finline-functions -funroll-loops > #OPT += -mcpu=i686 -march=i686 > #DBG += -W -Wall -pedantic -ansi > >diff -urN /usr/ports/games/species/files/patch-main.cpp games/species/files/patch-main.cpp >--- /usr/ports/games/species/files/patch-main.cpp 2013-11-11 13:55:17.000000000 +0900 >+++ games/species/files/patch-main.cpp 2013-12-31 00:00:00.000000000 +0900 >@@ -1,11 +1,11 @@ >---- ./main.cpp.orig 2013-11-10 23:14:27.000000000 -0200 >-+++ ./main.cpp 2013-11-10 23:14:37.000000000 -0200 >+--- main.cpp.orig >++++ main.cpp > @@ -29,7 +29,7 @@ > > /***** main program entry point ********************/ > > -int main(int /*argc*/,char /***args*/) { >-+int main(int /*argc*/,char ** /*args*/) { >++int main(int /*argc*/,char **/*args*/) { > CKingdom kingdom; > > #ifndef _WIN32
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 185332
: 139141