- Update OpenTTD to version 1.10.0
- Adjust existing patches and PORTDOCS - Stick to SDL 1.2 for the time being PR: 245253 (independent)
This commit is contained in:
parent
d130ef3cdf
commit
728311e9d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530264
5 changed files with 20 additions and 17 deletions
|
@ -2,8 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= openttd
|
PORTNAME= openttd
|
||||||
DISTVERSION= 1.9.3
|
DISTVERSION= 1.10.0
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
MASTER_SITES= https://proxy.binaries.openttd.org/openttd-releases/${DISTVERSION}/
|
MASTER_SITES= https://proxy.binaries.openttd.org/openttd-releases/${DISTVERSION}/
|
||||||
DISTNAME= ${PORTNAME}-${DISTVERSION}-source
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-source
|
||||||
|
@ -19,8 +18,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
|
||||||
USES= cpe gmake pkgconfig tar:xz
|
USES= cpe gmake pkgconfig tar:xz
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= STRIP="${STRIP_CMD} ${STRIP}"
|
CONFIGURE_ENV= STRIP="${STRIP_CMD} ${STRIP}"
|
||||||
CONFIGURE_ARGS= --prefix-dir="${PREFIX}" --data-dir="${DATADIR_REL}" \
|
CONFIGURE_ARGS= --prefix-dir="${PREFIX}" --data-dir="${DATADIR_REL}"
|
||||||
--without-libtimidity
|
|
||||||
MAKE_ARGS= VERBOSE=1
|
MAKE_ARGS= VERBOSE=1
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||||
|
@ -28,10 +26,12 @@ CXXFLAGS= # Set to empty as OpenTTD treats it as an addition to CFLAGS
|
||||||
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
PORTDOCS= HOWTO_compile_lang_files.txt README.md admin_network.txt \
|
PORTDOCS= README.md admin_network.md compiling_lang_files.md \
|
||||||
|
debugging_desyncs.md desync.md directory_structure.md \
|
||||||
changelog.txt elrail.svg elrail_tile.png elrail_track.png \
|
changelog.txt elrail.svg elrail_tile.png elrail_track.png \
|
||||||
known-bugs.txt landscape.html landscape_externals.html \
|
known-bugs.txt landscape.html landscape_externals.html \
|
||||||
landscape_grid.html multiplayer.txt obg_format.txt \
|
landscape_grid.html logging_and_performance_metrics.md \
|
||||||
|
multiplayer.md obg_format.txt \
|
||||||
obm_format.txt obs_format.txt ottd-colourtext-palette.png \
|
obm_format.txt obs_format.txt ottd-colourtext-palette.png \
|
||||||
tileh.png
|
tileh.png
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ CONFIGURE_ARGS+= --enable-dedicated
|
||||||
CFLAGS+= -I${LOCALBASE}/include
|
CFLAGS+= -I${LOCALBASE}/include
|
||||||
USE_RC_SUBR= ${PORTNAME}
|
USE_RC_SUBR= ${PORTNAME}
|
||||||
.else
|
.else
|
||||||
|
CONFIGURE_ARGS+= --with-sdl=sdl1
|
||||||
USES+= compiler:c++11-lib gnome sdl
|
USES+= compiler:c++11-lib gnome sdl
|
||||||
USE_CXXSTD= gnu++11
|
USE_CXXSTD= gnu++11
|
||||||
CXXFLAGS+= -DU_USING_ICU_NAMESPACE=1
|
CXXFLAGS+= -DU_USING_ICU_NAMESPACE=1
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1568662216
|
TIMESTAMP = 1585730612
|
||||||
SHA256 (openttd-1.9.3-source.tar.xz) = 1988e17f5b6f4b8f423c849ef1c579c21f678722ae4440f87b27a5fea6385846
|
SHA256 (openttd-1.10.0-source.tar.xz) = 1ba21aac9a1de98b23f80fee952b4b9c5e2d3cc4ac187f5203730826b3f0e253
|
||||||
SIZE (openttd-1.9.3-source.tar.xz) = 6659508
|
SIZE (openttd-1.10.0-source.tar.xz) = 6801228
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
+++ src/network/network_server.cpp 2014-11-09 21:37:49.000000000 +0200
|
+++ src/network/network_server.cpp 2014-11-09 21:37:49.000000000 +0200
|
||||||
@@ -32,7 +32,7 @@
|
@@ -32,7 +32,7 @@
|
||||||
#include "../core/pool_func.hpp"
|
#include "../core/pool_func.hpp"
|
||||||
#include "../core/random_func.hpp"
|
#include <mutex>
|
||||||
#include "../rev.h"
|
#include <condition_variable>
|
||||||
-
|
-
|
||||||
+#include "../fileio_func.h"
|
+#include "../fileio_func.h"
|
||||||
#include "../safeguards.h"
|
#include "../safeguards.h"
|
||||||
|
@ -117,9 +117,9 @@
|
||||||
uint16 last_port; ///< port of the last joined server
|
uint16 last_port; ///< port of the last joined server
|
||||||
bool no_http_content_downloads; ///< do not do content downloads over HTTP
|
bool no_http_content_downloads; ///< do not do content downloads over HTTP
|
||||||
+ bool save_password; ///< If password file is used
|
+ bool save_password; ///< If password file is used
|
||||||
#else /* ENABLE_NETWORK */
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Settings related to the creation of games. */
|
||||||
--- src/table/settings.ini 2014-10-21 21:36:21.000000000 +0300
|
--- src/table/settings.ini 2014-10-21 21:36:21.000000000 +0300
|
||||||
+++ src/table/settings.ini 2014-11-09 21:37:49.000000000 +0200
|
+++ src/table/settings.ini 2014-11-09 21:37:49.000000000 +0200
|
||||||
@@ -3915,6 +3915,12 @@
|
@@ -3915,6 +3915,12 @@
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- if [ -n "$lzma_config" ]; then
|
- if [ -n "$lzma_config" ]; then
|
||||||
- CFLAGS="$CFLAGS -DWITH_LZMA"
|
- CFLAGS="$CFLAGS -DWITH_LIBLZMA"
|
||||||
- CFLAGS="$CFLAGS `$lzma_config --cflags | tr '\n\r' ' '`"
|
- CFLAGS="$CFLAGS `$lzma_config --cflags | tr '\n\r' ' '`"
|
||||||
-
|
-
|
||||||
- if [ "$enable_static" != "0" ]; then
|
- if [ "$enable_static" != "0" ]; then
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
- LIBS="$LIBS `$lzma_config --libs | tr '\n\r' ' '`"
|
- LIBS="$LIBS `$lzma_config --libs | tr '\n\r' ' '`"
|
||||||
+ LIBS="$LIBS -llzma"
|
+ LIBS="$LIBS -llzma"
|
||||||
fi
|
fi
|
||||||
+ CFLAGS="$CFLAGS -DWITH_LZMA"
|
+ CFLAGS="$CFLAGS -DWITH_LIBLZMA"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$with_lzo2" != "0" ]; then
|
if [ "$with_lzo2" != "0" ]; then
|
||||||
|
@ -56,8 +56,8 @@
|
||||||
+ detect_library "$with_lzma" "lzma" "liblzma.a" "" "lzma.h"
|
+ detect_library "$with_lzma" "lzma" "liblzma.a" "" "lzma.h"
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
detect_libtimidity() {
|
detect_fluidsynth() {
|
||||||
detect_pkg_config "$with_libtimidity" "libtimidity" "libtimidity_config" "0.1" "1"
|
detect_library "$with_fluidsynth" "fluidsynth" "" "" "fluidsynth.h"
|
||||||
}
|
}
|
||||||
@@ -2756,10 +2757,6 @@ detect_pkg_config() {
|
@@ -2756,10 +2757,6 @@ detect_pkg_config() {
|
||||||
log 1 "checking $2... found"
|
log 1 "checking $2... found"
|
||||||
|
|
|
@ -11,6 +11,7 @@ man/man6/openttd.6.gz
|
||||||
%%DATADIR%%/ai/compat_1.7.nut
|
%%DATADIR%%/ai/compat_1.7.nut
|
||||||
%%DATADIR%%/ai/compat_1.8.nut
|
%%DATADIR%%/ai/compat_1.8.nut
|
||||||
%%DATADIR%%/ai/compat_1.9.nut
|
%%DATADIR%%/ai/compat_1.9.nut
|
||||||
|
%%DATADIR%%/ai/compat_1.10.nut
|
||||||
%%DATADIR%%/baseset/no_music.obm
|
%%DATADIR%%/baseset/no_music.obm
|
||||||
%%DATADIR%%/baseset/no_sound.obs
|
%%DATADIR%%/baseset/no_sound.obs
|
||||||
%%DATADIR%%/baseset/openttd.grf
|
%%DATADIR%%/baseset/openttd.grf
|
||||||
|
@ -32,6 +33,7 @@ man/man6/openttd.6.gz
|
||||||
%%DATADIR%%/game/compat_1.7.nut
|
%%DATADIR%%/game/compat_1.7.nut
|
||||||
%%DATADIR%%/game/compat_1.8.nut
|
%%DATADIR%%/game/compat_1.8.nut
|
||||||
%%DATADIR%%/game/compat_1.9.nut
|
%%DATADIR%%/game/compat_1.9.nut
|
||||||
|
%%DATADIR%%/game/compat_1.10.nut
|
||||||
%%DATADIR%%/lang/afrikaans.lng
|
%%DATADIR%%/lang/afrikaans.lng
|
||||||
%%DATADIR%%/lang/arabic_egypt.lng
|
%%DATADIR%%/lang/arabic_egypt.lng
|
||||||
%%DATADIR%%/lang/basque.lng
|
%%DATADIR%%/lang/basque.lng
|
||||||
|
|
Loading…
Reference in a new issue