FreeBSD Bugzilla – Attachment 176260 Details for
Bug 213873
games/pioneer: Update to 20161028
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (since 422087 revision)
pioneer.diff (text/plain), 3.57 KB, created by
lightside
on 2016-10-29 05:50:43 UTC
(
hide
)
Description:
Proposed patch (since 422087 revision)
Filename:
MIME Type:
Creator:
lightside
Created:
2016-10-29 05:50:43 UTC
Size:
3.57 KB
patch
obsolete
>--- pioneer.orig/Makefile 2016-09-13 22:34:28 UTC >+++ pioneer/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD: head/games/pioneer/Makefile 422087 2016-09-13 22:34:28Z amdmi3 $ > > PORTNAME= pioneer >-PORTVERSION= 0.0.${GH_TAGNAME} >+PORTVERSION= 0.0.${BUILD_VERSION} > CATEGORIES= games > > MAINTAINER= lightside@gmx.com >@@ -36,7 +36,8 @@ > > USE_GITHUB= yes > GH_ACCOUNT= pioneerspacesim >-GH_TAGNAME= 20160610 >+GH_TAGNAME= ${BUILD_VERSION} >+BUILD_VERSION= 20161028 > > USES= autoreconf gmake pkgconfig > USE_GL= gl >@@ -44,7 +45,7 @@ > > GNU_CONFIGURE= yes > CONFIGURE_ENV= PIONEER_DATA_DIR="${DATADIR}/data" >-CONFIGURE_ARGS= --with-version="${GH_TAGNAME}" >+CONFIGURE_ARGS= --with-version="${BUILD_VERSION}" > EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude .gitignore > > PORTDATA= data >@@ -58,16 +59,19 @@ > "Game;Simulation;" false > > SUB_FILES= pkg-message >-SUB_LIST= QUICKSTART_PATH="${QUICKSTART_PATH}" > >-OPTIONS_DEFINE= DOCS MODELCOMPILER PROFILER >+OPTIONS_DEFINE= DOCS MODELCOMPILER NOGPUJOBS PROFILER > OPTIONS_DEFAULT= MODELCOMPILER >+DOCS_SUB_LIST= QUICKSTART_PATH="${DOCSDIR}" >+DOCS_SUB_LIST_OFF= \ >+ QUICKSTART_PATH="https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME}" > MODELCOMPILER_DESC= Build/install modelcompiler tool > MODELCOMPILER_PLIST_FILES= bin/${PORTNAME}-modelcompiler >+NOGPUJOBS_DESC= Disable EnableGPUJobs for config.ini by default > PROFILER_DESC= Build with internal profiler > PROFILER_CONFIGURE_ON= --enable-profiler > >-.include <bsd.port.options.mk> >+.include <bsd.port.pre.mk> > > .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000054 > USE_GCC= yes >@@ -76,29 +80,30 @@ > CPPFLAGS+= -I${LOCALBASE}/include > .endif > >-.if ${PORT_OPTIONS:MDOCS} >-QUICKSTART_PATH= ${DOCSDIR} >-.else >-QUICKSTART_PATH= \ >- https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME} >-.endif >- > post-patch: .SILENT > ${REINPLACE_CMD} -e '/^OPTIMISE=/d' \ > ${WRKSRC}/configure.ac > ${REINPLACE_CMD} -e 's/std:://g' \ > ${WRKSRC}/src/Orbit.cpp > ${REINPLACE_CMD} -e 's/std::to_string/to_string/g' \ >+ ${WRKSRC}/src/graphics/opengl/GenGasGiantColourMaterial.cpp \ > ${WRKSRC}/src/graphics/opengl/RendererGL.cpp > > post-patch-MODELCOMPILER-off: .SILENT > ${REINPLACE_CMD} -e 's/pioneer modelcompiler/pioneer/' \ > ${WRKSRC}/src/Makefile.am > >+post-patch-NOGPUJOBS-on: .SILENT >+# Revert 41272a856d9072404efbfdb10f0e3c9e4f96bb4d commit, in case of >+# GL_OUT_OF_MEMORY OpenGL error, when turning to gas giant planet >+ ${REINPLACE_CMD} -e '/EnableGPUJobs/s|1|0|' \ >+ ${WRKSRC}/src/GameConfig.cpp >+ > post-patch-PROFILER-off: .SILENT > ${REINPLACE_CMD} -e '/^SUBDIRS/s/ profiler//' \ > ${WRKSRC}/contrib/Makefile.am >- ${REINPLACE_CMD} -i '.p.bak' -e '/libjson.a/s| \\|| ; /libprofiler.a/d' \ >+ ${REINPLACE_CMD} -i '.p.bak' -e \ >+ '/libprofiler.a/d; $$!N; /libprofiler.a$$/s| \\||; P; D' \ > ${WRKSRC}/src/Makefile.am > ${REINPLACE_CMD} -i '.p.bak' -e '/contrib\/profiler/d' \ > ${WRKSRC}/configure.ac >@@ -114,4 +119,4 @@ > ${MV} ${STAGEDIR}${PREFIX}/bin/modelcompiler \ > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-modelcompiler > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >--- pioneer.orig/distinfo 2016-06-13 16:12:46 UTC >+++ pioneer/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (pioneerspacesim-pioneer-0.0.20160610-20160610_GH0.tar.gz) = 3e658c2747242d2e134ece0ffe910088cb1ecc6e6fcb1b88a3bd75646bafa1c4 >-SIZE (pioneerspacesim-pioneer-0.0.20160610-20160610_GH0.tar.gz) = 194457994 >+TIMESTAMP = 1477647657 >+SHA256 (pioneerspacesim-pioneer-0.0.20161028-20161028_GH0.tar.gz) = d8ceefc7ec22ecdbaf2408a13c80d0368675feebff558457bef2ffc7258f4b77 >+SIZE (pioneerspacesim-pioneer-0.0.20161028-20161028_GH0.tar.gz) = 194439211
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
Flags:
lightside
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 213873
:
176260
|
176350