pkgsrc/games/openttd/patches/patch-Makefile.setting.in
adam deb6c6f48b Changes 1.3.2:
- Fix: [Admin] End-of-rcon data could not be determined reliably for any rcon command
- Fix: [Content] When the server closed the connection, the client would for eternity try to read a packet and never timeout making it impossible to reconnect
- Fix: [Script] Changing the script difficulty level in-game would also change the settings using the default even though they were not allowed to change in-game
- Fix: [Admin] Ensure that sent and received length of json strings are the same
- Fix: [Squirrel] Stack overflow did not show an error, due to the stack to throw the error already being full
- Fix: [Script] Documentation implied that XXList::AddItem has a default for value if it isn't filled in
- Fix: Layouter caused significant slowdown with text heavy windows, cache it to make it manageable
- Fix: Make content list appear faster
- Fix: Non-ICU layouter started new lines with the space which triggered the linebreak
- Fix: If the next order cannot be resolved, reset the current order property instead of leaving it in an intermediate state
- Fix: [Squirrel] Infinite recursion loop in freeing data via a looping set of references
- Fix: One could build bridges over owned land of another company
- Fix: [Script] Texts from scripts were not validated before they were shown, causing an assertion to trigger
- Fix: Provide a warning when no vehicles are available, and tell what to do in that case
- Fix: Possible reading of uninitialised memory due to undefined execution order
- Fix: [Windows] Race condition between two drawing threads could crash OpenTTD
- Fix: ICU returns the width of the visual run as if the trailing space was added (in case a newline was added). This caused the width to be more than the requested width, but it would still be drawn correctly
- Fix: Small memory leaks
- Fix: [GS] The checks and validations for setting the extra text in the town window became too stringent
2013-08-05 19:24:35 +00:00

25 lines
909 B
Text

$NetBSD: patch-Makefile.setting.in,v 1.2 2013/08/05 19:24:35 adam Exp $
--- Makefile.setting.in.orig 2013-07-27 15:09:40.000000000 +0000
+++ Makefile.setting.in
@@ -9,14 +9,17 @@ SETTINGSGEN = !!SETTINGSGEN!!
ENDIAN_CHECK = !!ENDIAN_CHECK!!
SRC_DIR = !!SRC_DIR!!
CXX_BUILD = !!CXX_BUILD!!
-CFLAGS_BUILD = !!CFLAGS_BUILD!!
-CXXFLAGS_BUILD = !!CXXFLAGS_BUILD!!
-LDFLAGS_BUILD = !!LDFLAGS_BUILD!!
+CFLAGS_BUILD = !!CFLAGS!! !!CFLAGS_BUILD!!
+CXXFLAGS_BUILD = !!CXXFLAGS!! !!CXXFLAGS_BUILD!!
+LDFLAGS_BUILD = !!LDFLAGS!! !!LDFLAGS_BUILD!! !!LIBS!!
STAGE = !!STAGE!!
SETTING_OBJS_DIR = !!SETTING_OBJS_DIR!!
ENDIAN_TARGETS := endian_host.h endian_target.h $(ENDIAN_CHECK)
+# Make sure endian_host.h is reachable as if it was in the src/ dir
+CFLAGS_BUILD += -I $(SETTING_OBJS_DIR)
+
# Check if we want to show what we are doing
ifdef VERBOSE
Q =