FreeBSD Bugzilla – Attachment 174203 Details for
Bug 212247
[maintainer] [patch] games/zdoom: Add patch to properly detect port's DATADIR
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn(1) diff of games/zdoom
zdoom-2.8.1_1.diff (text/plain), 1.77 KB, created by
Kyle Evans
on 2016-08-29 20:24:58 UTC
(
hide
)
Description:
svn(1) diff of games/zdoom
Filename:
MIME Type:
Creator:
Kyle Evans
Created:
2016-08-29 20:24:58 UTC
Size:
1.77 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 421096) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= zdoom > PORTVERSION= 2.8.1 >+PORTREVISION= 1 > CATEGORIES= games > > MAINTAINER= bsdports@kyle-evans.net >Index: files/patch-src_gameconfigfile.cpp >=================================================================== >--- files/patch-src_gameconfigfile.cpp (revision 0) >+++ files/patch-src_gameconfigfile.cpp (working copy) >@@ -0,0 +1,20 @@ >+--- src/gameconfigfile.cpp.orig 2016-08-29 19:15:32 UTC >++++ src/gameconfigfile.cpp >+@@ -137,7 +137,9 @@ FGameConfigFile::FGameConfigFile () >+ // Debian likes them in /usr/share/games/doom >+ // I assume other distributions don't do anything radically different >+ SetValueForKey ("Path", "/usr/local/share/doom", true); >++ SetValueForKey ("Path", "/usr/local/share/" GAMENAMELOWERCASE, true); >+ SetValueForKey ("Path", "/usr/local/share/games/doom", true); >++ SetValueForKey ("Path", "/usr/local/share/games/" GAMENAMELOWERCASE, true); >+ SetValueForKey ("Path", "/usr/share/doom", true); >+ SetValueForKey ("Path", "/usr/share/games/doom", true); >+ #endif >+@@ -157,6 +159,7 @@ FGameConfigFile::FGameConfigFile () >+ #else >+ SetValueForKey ("Path", "~/" GAME_DIR, true); >+ SetValueForKey ("Path", SHARE_DIR, true); >++ SetValueForKey ("Path", SHARE_DIR GAMENAMELOWERCASE, true); >+ #endif >+ SetValueForKey ("Path", "$DOOMWADDIR", true); >+ } > >Property changes on: files/patch-src_gameconfigfile.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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:
kevans
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 212247
:
174203
|
174223