mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
This port needed a lot more help than the PR indicated: * Full stage support * DESTDIR had to be patched in, there was only a placeholder * It didn't build on clang because there was no header for rand function * Almost very patch had DOS carriage returns (stripped) * Needed USES+=dos2unix so patches apply (caused revbump) * NOPORTDOCS needed to be replaced by PORT_OPTIONS - DOCS * post-extract target was muted, as is the norm * Previous install patches reworked to fit STAGE support better The PR updated: * Use of autotools * conversion of USE_GMAKE and USE_BZIP2 was done previously * GPLv2 license was added PR: 188798 Submitted by: maintainer (Aaron Baugher) Rest by: marino
20 lines
438 B
C++
20 lines
438 B
C++
--- levelmap.cpp.orig 2007-11-06 00:03:04.000000000 +0100
|
|
+++ levelmap.cpp 2007-11-06 00:07:30.000000000 +0100
|
|
@@ -199,7 +199,7 @@
|
|
};
|
|
|
|
// Possible text tokens in the map text
|
|
-char *tokenStrings[] = {
|
|
+const char *tokenStrings[] = {
|
|
"notoken",
|
|
"{",
|
|
"}",
|
|
@@ -1225,7 +1225,7 @@
|
|
#endif
|
|
for( int i = 0; i < NUM_EXTERNAL_TOKENS; i ++ )
|
|
{
|
|
- tokenMap[tokenStrings[i]] = i;
|
|
+ tokenMap[(char *)tokenStrings[i]] = i;
|
|
}
|
|
}
|
|
|