1.9.1: - Fix 6564: Enforce types of arguments for station name strings - Fix 7433: Don't use AirportSpec substitute if it's not enabled - Fix 7447, 7466, 7476: Missing NewGRF strings due to Action 4 feature check skipping pseudo-feature 48 - Fix 6222: Advanced sprite layout sometimes showed incorrect railtype ground tile. - Fix 7439: CompanyRemoveReason overwritten by ClientID - Fix: [Windows] Incorrect error handling could lead to cascading error windows - Fix 7478: Don't remove NewGRF objects on company take-over. 1.9.0: - Fix 7411: Use industry production callback (if used) on initial industry cargo generation 1.9.0-RC2: - Fix 7400: WaterClass for tree tiles was not converted for old saves preventing industry creation - Fix: Filtered file list did not scroll properly - Fix 7391: Don't invalidate go to depot orders of non-aircraft when invalidating hangar orders that happen to share IDs - Fix 7386: Measurement tooltip for tunnels, aqueducts & docks did not display or flickered - Fix: Wrong company performance rating when money exceeds INT_MAX - Fix: Permit loading of industry production callback with invalid cargo type - Fix: Spelling for a few real town names - Fix: Runway too short for large aircraft message should not depend on plane crashes setting - Fix 7334: Ship lost after crossing bridge due to path cache not being consumed while on final bridge end 1.9.0-RC1: - Add: Various AI/GS functions for vehicle groups - Change: Synchronise introduction date and reliability randomness across vehicles with the same base introduction date - Change: Allow towns to build bridges over rails and one-way roads - Fix: Detection of coast tiles with trees on them - Fix: Emergency netsave saved the title game instead of the broken game in question - Fix: Company livery window showed incorrect groups when opened in multiplayer - Fix: Unable to select last group in open livery window - Fix: Goto hangar orders were not invalidated when rebuilding airports 1.9.0-beta3: - Feature: Option to adjust font size separately from GUI size - Feature: Increase maximum number of orders from 64000 to ~16.7m - Add: Show performance of AI and GS in framerate window - Add: News menu entry and shortcut for deleting all messages - Change: [OSX] Improved scrolling behaviour when using touchpads - Change: Add scrollbar to cargo legend in cargo payment rates window - Change: Owner of vehicle with exclusive transport rights may now load cargo from neutral stations - Change: Improved UI behaviour when dragging sound volume sliders with the mouse - Change: Use selected vehicle group as parent when creating a new group - Change: Use SlErrorCorrupt() on pool index error when loading a savegame, instead of terminating - Change: Skip reliability decay if servicing is disabled - Fix: Remove desert around lakes upon generation - Fix: Re-sorting file list did not update filtered rows - Fix 7159: Waiting time at red one-way signals was too short - Fix 7189: Fluidsynth volume gain too high - Fix 7004: Cargo flow legend was not properly refreshed after zooming - Fix: Possibility to modify wrong AI/GS settings when switching AI/GS scripts around - Fix: Use more descriptive "spectator" strings for story book and goal dropdown menus - Fix 6599: Disable build and rename button in build vehicle window when no vehicle is selected - Fix: Do not mangle tagged revision strings for network revision strings - Fix 7151: AI start date deviation was still applied when not set to a random AI - Fix 7197: Invalidate depot buttons when necessary - Doc: [AI] UnshareOrders empties the orders list of the vehicle 1.9.0-beta2: - Fix: Non-Windows builds did not get correct git hash 1.9.0-beta1: Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbers have been replaced with Pull Requests and Issue numbers - Feature: Group liveries, and livery window usability enhancements - Feature: Overhaul of music system, support MPSMIDI music files (TTD DOS/TTO) - Feature: [Win32] Rewritten DMusic and WinMM music drivers - Feature: [Win32] New XAudio2 sound driver - Feature: [Linux] New Fluidsynth music driver - Feature: Framerate display window - Feature: [NewGRF] Ability for industries & houses to produce and/or accept up to 16 different cargoes - Feature 6610: Allow towns to build houses on road turns - Feature: Replace independent map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling - Feature 6459: API for querying network clients from GS - Feature: New Russian Ruble & Mexican Peso as currencies - Feature 4186: Append '(City)' after city names in the town directory - Feature 986: Automatic save when losing connection to a network game - Add: [NewGRF] Flag to hide rail types from construction - Add: [NewGRF] Airport animation trigger for plane landing - Add 4115: Default starting company colour setting - Add: Mixer feature for streaming sampled music - Add 6460: [AI] start_date parameter for Random AIs on new game - Add: BACKSPACE can be mapped as a hotkey - Add: 32bpp SSE2 blitter palette animator - Change: Make ships turn slowly when changing direction and stop when going up or down a lock - Change: Improve ship pathfinder performance - Change: Decouple GUI timing from game ticks - Change: Desert tiles are now half-desert if a neighboured tile is non-desert or sea/coast - Change: Gradually slow down aircraft speed on breakdown - Change: [NewGRF] Increase rail type & cargo type limits to 64 - Change: [NewGRF] Increase size of persistent storage to 256 - Change: [NewGRF] Use last OpenTTD SVN revision in NewGRF version number - Change: Clone tool in depot window now behaves like clone button in vehicle window - Change 6397: Keep town growth rate in sync with house count - Change: Scale default FreeType font size selection by UI zoom level - Change: [OSX] Reversed pinch to zoom behaviour - Change: Switch town growth rate and counter to actual game ticks - Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>' - Change: Rewrite several bits of documentation in markdown - Fix: Reinitialise graph GUI on game restart - Fix: Potential crash during shutdown after unpacking downloaded content - Fix 6584: Text layout in engine preview dialogue - Fix 6636: Airplanes could be sent to helicopter station depots - Fix: Deadlock when launched with -n switch - Fix: Various corrections to town names in non-English languages - Fix: Only consider airport tiles when placing (for non-rectangular airports) - Fix: Spelling fixes on some Latin American town names - Fix 7001: Pathfinders should see standard road stations as tiles where to reverse - Fix 6676: Prevent helicopters from stopping in midair during some kinds of landing - Fix: Remove need to use Ctrl+Click when building stations next to competitors - Fix: [NewGRF] Make VA2 operator 11 (ror) behave well-defined when rotating by 0 bits - Fix 4109: Add more water checks to the Oil Rig layout - Fix 6938: Incorrect value for "Cost to Clear" was displayed for Company Headquarters in tile inspector - Fix 6920: Make 9.8m/s^2 a common constant for TE-calculation - Fix 6892: [Script] CONFIG_RANDOM did not use the full parameter range - Fix 6622: News message when GS constructs a town had empty company name - Fix: [NewGRF] Action7 variable 0x85 had no bounds checks - Fix 6875: Depot building cost did not include foundation build cost - Fix: Some pixels in ship autoreplace icon (sprite 106) were transparent - Fix: Poor contrast in cargo dest flow legend window cargo labels - Fix 6553: Make viewport button text unambiguous - Fix: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom - Fix 6969: Account for BOM when reading script files - Fix 6898: Ability to use seeds above INT_MAX - Fix 6659: Bus stations could be demolished when not in demolish mode - Fix: One-way roads could be over-built by road stops regardless of road owner - Fix: Use name of cargo instead of Passengers/Mail in town statistics - Fix: Prevent ships moving into docks after finishing (un)loading - Fix: Tractive effort was slightly too high as per NewGRF spec - Fix 6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings - Fix: Four group action icons were misplaced and cropped - Remove: PSP, WinCE support
36 lines
1.3 KiB
Text
36 lines
1.3 KiB
Text
$NetBSD: patch-config.lib,v 1.2 2019/04/25 15:55:07 adam Exp $
|
|
|
|
Compile 'strip' test with CFLAGS, so -isysroot can be passed on OSX.
|
|
Correct library detection on NetBSD.
|
|
On Darwin, be able to locate iconv.h inside the SDK.
|
|
|
|
--- config.lib.orig 2019-04-08 19:42:35.000000000 +0000
|
|
+++ config.lib
|
|
@@ -2140,7 +2140,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
|
|
@@ -2676,7 +2676,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
|
|
@@ -2926,6 +2926,9 @@ detect_iconv() {
|
|
break
|
|
fi
|
|
done
|
|
+ if [ -z "$iconv" ] && [ "$os" = "OSX" ]; then
|
|
+ iconv=`xcrun --show-sdk-path`/usr/include/iconv.h
|
|
+ fi
|
|
else
|
|
# Make sure it exists
|
|
iconv=`ls $with_iconv/include/iconv.h 2>/dev/null`
|