pkgsrc/games/openttd/patches/patch-aa
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
1,010 B
Text

$NetBSD: patch-aa,v 1.11 2013/08/05 19:24:35 adam Exp $
Compile 'strip' test with CFLAGS, so -isysroot can be passed on OSX.
Correct library detection on NetBSD.
--- config.lib.orig 2012-04-15 11:55:05.000000000 +0000
+++ config.lib
@@ -2001,7 +2001,7 @@ check_strip() {
elif [ "$os" = "OSX" ]; then
# Most targets have -V in strip, to see if they exists... OSX doesn't.. so execute something
echo "int main(int argc, char *argv[]) { }" > strip.test.c
- $cxx_host strip.test.c -o strip.test
+ $cc_host $CFLAGS strip.test.c -o strip.test
check_compiler "host strip" "strip" "$host" "$strip" "$STRIP" "strip" "strip" "3" "strip.test"
rm -f strip.test.c strip.test
else
@@ -2533,7 +2533,7 @@ detect_library() {
if [ -z "$res" ]; then
log 2 " trying /opt/local/include/$4$5... no"
fi
- if [ -z "$res" ] && [ "$os" = "NETBSD" ]; then
+ if [ -z "$res" ]; then
eval "$2=`ls -1 /usr/pkg/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
eval "res=\$$2"
if [ -z "$res" ]; then