Date: Wed, 21 Feb 2018 20:53:44 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r462543 - in branches/2018Q1/www/chromium: . files Message-ID: <201802212053.w1LKrigK001634@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Wed Feb 21 20:53:44 2018 New Revision: 462543 URL: https://svnweb.freebsd.org/changeset/ports/462543 Log: MFH: r462416 www/chromium: update to 63.0.3239.132 Submitted by: cpm Obtained from: https://github.com/cpu82/freebsd-chromium Security: https://vuxml.freebsd.org/freebsd/e264e74e-ffe0-11e7-8b91-e8e0b747a45a.html Security: https://vuxml.freebsd.org/freebsd/1d951e85-ffdb-11e7-8b91-e8e0b747a45a.html Security: https://vuxml.freebsd.org/freebsd/82894193-ffd4-11e7-8b91-e8e0b747a45a.html Security: https://vuxml.freebsd.org/freebsd/f8e72cd4-c66a-11e7-bb17-e8e0b747a45a.html Security: https://vuxml.freebsd.org/freebsd/3cd46257-bbc5-11e7-a3bc-e8e0b747a45a.html Security: https://vuxml.freebsd.org/freebsd/a692bffe-b6ad-11e7-a1c2-e8e0b747a45a.html Approved by: ports-secteam (zi) Added: branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket.cc - copied unchanged from r462416, head/www/chromium/files/patch-base_posix_unix__domain__socket.cc branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc - copied unchanged from r462416, head/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc branches/2018Q1/www/chromium/files/patch-base_process_process__metrics.cc - copied unchanged from r462416, head/www/chromium/files/patch-base_process_process__metrics.cc branches/2018Q1/www/chromium/files/patch-build_gn_run_binary.py - copied unchanged from r462416, head/www/chromium/files/patch-build_gn_run_binary.py branches/2018Q1/www/chromium/files/patch-build_linux_unbundle_freetype.gn - copied unchanged from r462416, head/www/chromium/files/patch-build_linux_unbundle_freetype.gn branches/2018Q1/www/chromium/files/patch-build_linux_unbundle_harfbuzz-ng.gn - copied unchanged from r462416, head/www/chromium/files/patch-build_linux_unbundle_harfbuzz-ng.gn branches/2018Q1/www/chromium/files/patch-build_linux_unbundle_replace_gn_files.py - copied unchanged from r462416, head/www/chromium/files/patch-build_linux_unbundle_replace_gn_files.py branches/2018Q1/www/chromium/files/patch-cc_BUILD.gn - copied unchanged from r462416, head/www/chromium/files/patch-cc_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_browser_extensions_api_image_writer_private_removable_storage_provider.cc - copied unchanged from r462416, head/www/chromium/files/patch-chrome_browser_extensions_api_image_writer_private_removable_storage_provider.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_libgtkui_nav_button_provider_gtk3.h - copied unchanged from r462416, head/www/chromium/files/patch-chrome_browser_ui_libgtkui_nav_button_provider_gtk3.h branches/2018Q1/www/chromium/files/patch-components_feature_engagement_public_event_constants.cc - copied unchanged from r462416, head/www/chromium/files/patch-components_feature_engagement_public_event_constants.cc branches/2018Q1/www/chromium/files/patch-components_feature_engagement_public_event_constants.h - copied unchanged from r462416, head/www/chromium/files/patch-components_feature_engagement_public_event_constants.h branches/2018Q1/www/chromium/files/patch-components_network_session_configurator_browser_network_session_configurator.cc - copied unchanged from r462416, head/www/chromium/files/patch-components_network_session_configurator_browser_network_session_configurator.cc branches/2018Q1/www/chromium/files/patch-components_password__manager_core_browser_password_manager.cc - copied unchanged from r462416, head/www/chromium/files/patch-components_password__manager_core_browser_password_manager.cc branches/2018Q1/www/chromium/files/patch-components_password__manager_core_browser_password_store.cc - copied unchanged from r462416, head/www/chromium/files/patch-components_password__manager_core_browser_password_store.cc branches/2018Q1/www/chromium/files/patch-content_common_user_agent.cc - copied unchanged from r462416, head/www/chromium/files/patch-content_common_user_agent.cc branches/2018Q1/www/chromium/files/patch-content_ppapi_plugin_ppapi_plugin_main.cc - copied unchanged from r462416, head/www/chromium/files/patch-content_ppapi_plugin_ppapi_plugin_main.cc branches/2018Q1/www/chromium/files/patch-content_test_content_test_suite.cc - copied unchanged from r462416, head/www/chromium/files/patch-content_test_content_test_suite.cc branches/2018Q1/www/chromium/files/patch-content_utility_utility_main.cc - copied unchanged from r462416, head/www/chromium/files/patch-content_utility_utility_main.cc branches/2018Q1/www/chromium/files/patch-extensions_browser_api_messaging_message_service.cc - copied unchanged from r462416, head/www/chromium/files/patch-extensions_browser_api_messaging_message_service.cc branches/2018Q1/www/chromium/files/patch-extensions_browser_api_networking__private_networking__private_delegate_factory.cc - copied unchanged from r462416, head/www/chromium/files/patch-extensions_browser_api_networking__private_networking__private_delegate_factory.cc branches/2018Q1/www/chromium/files/patch-extensions_common_api__permission_features.json - copied unchanged from r462416, head/www/chromium/files/patch-extensions_common_api__permission_features.json branches/2018Q1/www/chromium/files/patch-extensions_common_feature_switch.cc - copied unchanged from r462416, head/www/chromium/files/patch-extensions_common_feature_switch.cc branches/2018Q1/www/chromium/files/patch-extensions_common_features_feature.cc - copied unchanged from r462416, head/www/chromium/files/patch-extensions_common_features_feature.cc branches/2018Q1/www/chromium/files/patch-media_audio_alsa_audio_manager_alsa.cc - copied unchanged from r462416, head/www/chromium/files/patch-media_audio_alsa_audio_manager_alsa.cc branches/2018Q1/www/chromium/files/patch-net_base_address__tracker__linux.cc - copied unchanged from r462416, head/www/chromium/files/patch-net_base_address__tracker__linux.cc branches/2018Q1/www/chromium/files/patch-third__party_WebKit_Source_platform_BUILD.gn - copied unchanged from r462416, head/www/chromium/files/patch-third__party_WebKit_Source_platform_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_breakpad_breakpad_src_common_simple_string_dictionary.h - copied unchanged from r462416, head/www/chromium/files/patch-third__party_breakpad_breakpad_src_common_simple_string_dictionary.h branches/2018Q1/www/chromium/files/patch-third__party_libXNVCtrl_NVCtrl.c - copied unchanged from r462416, head/www/chromium/files/patch-third__party_libXNVCtrl_NVCtrl.c branches/2018Q1/www/chromium/files/patch-third__party_skia_src_images_SkJpegEncoder.cpp - copied unchanged from r462416, head/www/chromium/files/patch-third__party_skia_src_images_SkJpegEncoder.cpp branches/2018Q1/www/chromium/files/patch-third__party_skia_src_sksl_SkSLString.h - copied unchanged from r462416, head/www/chromium/files/patch-third__party_skia_src_sksl_SkSLString.h branches/2018Q1/www/chromium/files/patch-third__party_swiftshader_third_party_llvm-subzero_lib_Support_Unix_Process.inc - copied unchanged from r462416, head/www/chromium/files/patch-third__party_swiftshader_third_party_llvm-subzero_lib_Support_Unix_Process.inc branches/2018Q1/www/chromium/files/patch-third__party_webrtc_p2p_base_port.cc - copied unchanged from r462416, head/www/chromium/files/patch-third__party_webrtc_p2p_base_port.cc branches/2018Q1/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_timestamp_extrapolator.cc - copied unchanged from r462416, head/www/chromium/files/patch-third__party_webrtc_system__wrappers_source_timestamp_extrapolator.cc branches/2018Q1/www/chromium/files/patch-third__party_webrtc_webrtc.gni - copied unchanged from r462416, head/www/chromium/files/patch-third__party_webrtc_webrtc.gni branches/2018Q1/www/chromium/files/patch-tools_json_schema_compiler_feature_compiler.py - copied unchanged from r462416, head/www/chromium/files/patch-tools_json_schema_compiler_feature_compiler.py branches/2018Q1/www/chromium/files/patch-tools_json_schema_compiler_model.py - copied unchanged from r462416, head/www/chromium/files/patch-tools_json_schema_compiler_model.py branches/2018Q1/www/chromium/files/patch-ui_gfx_codec_jpeg_codec.cc - copied unchanged from r462416, head/www/chromium/files/patch-ui_gfx_codec_jpeg_codec.cc branches/2018Q1/www/chromium/files/patch-ui_gl_gl_bindings_api_autogen_glx.h - copied unchanged from r462416, head/www/chromium/files/patch-ui_gl_gl_bindings_api_autogen_glx.h branches/2018Q1/www/chromium/files/patch-ui_gl_gl_bindings_autogen_glx.cc - copied unchanged from r462416, head/www/chromium/files/patch-ui_gl_gl_bindings_autogen_glx.cc branches/2018Q1/www/chromium/files/patch-ui_gl_gl_bindings_autogen_glx.h - copied unchanged from r462416, head/www/chromium/files/patch-ui_gl_gl_bindings_autogen_glx.h branches/2018Q1/www/chromium/files/patch-ui_gl_gl_implementation.cc - copied unchanged from r462416, head/www/chromium/files/patch-ui_gl_gl_implementation.cc Deleted: branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket__linux.cc branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket__linux__unittest.cc branches/2018Q1/www/chromium/files/patch-base_test_BUILD.gn branches/2018Q1/www/chromium/files/patch-breakpad_BUILD.gn branches/2018Q1/www/chromium/files/patch-breakpad_src_common_simple__string__dictionary.h branches/2018Q1/www/chromium/files/patch-build_config_clang_BUILD.gn branches/2018Q1/www/chromium/files/patch-build_config_crypto.gni branches/2018Q1/www/chromium/files/patch-build_config_linux_gtk2_BUILD.gn branches/2018Q1/www/chromium/files/patch-build_config_linux_gtk3_BUILD.gn branches/2018Q1/www/chromium/files/patch-build_config_linux_gtk_BUILD.gn branches/2018Q1/www/chromium/files/patch-build_config_sanitizers_BUILD.gn branches/2018Q1/www/chromium/files/patch-build_config_sanitizers_sanitizers.gni branches/2018Q1/www/chromium/files/patch-build_config_ui.gni branches/2018Q1/www/chromium/files/patch-build_secondary_third__party_nss_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_app_mash_embedded_services.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_browser_extensions_api_image__writer__private_image__writer__private__api.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_extensions_api_messaging_message__service.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_net_async__dns__field__trial.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_prefs_browser_prefs.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_profiles_chrome_browser_main_extra_parts_profiles.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_profiles_profile__impl__io__data.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_resources_safe__browsing_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_libgtkui_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_webui_options_browser__options__handler.h branches/2018Q1/www/chromium/files/patch-chrome_test_BUILD.gn branches/2018Q1/www/chromium/files/patch-chromecast_BUILD.gn branches/2018Q1/www/chromium/files/patch-chromecast_browser_BUILD.gn branches/2018Q1/www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc branches/2018Q1/www/chromium/files/patch-chromecast_browser_metrics_BUILD.gn branches/2018Q1/www/chromium/files/patch-chromecast_crash_BUILD.gn branches/2018Q1/www/chromium/files/patch-components_BUILD.gn branches/2018Q1/www/chromium/files/patch-components_password__manager_core_browser_BUILD.gn branches/2018Q1/www/chromium/files/patch-components_plugins_renderer_BUILD.gn branches/2018Q1/www/chromium/files/patch-components_tracing_child_child__trace__message__filter.cc branches/2018Q1/www/chromium/files/patch-content_app_BUILD.gn branches/2018Q1/www/chromium/files/patch-content_browser_accessibility_browser_accessibility_auralinux.cc branches/2018Q1/www/chromium/files/patch-content_browser_memory_memory__coordinator__impl.cc branches/2018Q1/www/chromium/files/patch-content_browser_memory_swap_metrics_observer_linux.cc branches/2018Q1/www/chromium/files/patch-content_browser_tracing_tracing__controller__impl.cc branches/2018Q1/www/chromium/files/patch-content_common_sandbox__linux_sandbox__debug__handling__linux.cc branches/2018Q1/www/chromium/files/patch-content_gpu_BUILD.gn branches/2018Q1/www/chromium/files/patch-content_gpu_in__process__gpu__thread.cc branches/2018Q1/www/chromium/files/patch-content_shell_BUILD.gn branches/2018Q1/www/chromium/files/patch-content_test_BUILD.gn branches/2018Q1/www/chromium/files/patch-content_test_suite.cc branches/2018Q1/www/chromium/files/patch-device_BUILD.gn branches/2018Q1/www/chromium/files/patch-device_gamepad_BUILD.gn branches/2018Q1/www/chromium/files/patch-device_geolocation_BUILD.gn branches/2018Q1/www/chromium/files/patch-device_hid_hid__device__info__freebsd.cc branches/2018Q1/www/chromium/files/patch-device_hid_hid__device__info__freebsd.h branches/2018Q1/www/chromium/files/patch-extensions_browser_api_serial_serial__api.cc branches/2018Q1/www/chromium/files/patch-gpu_BUILD.gn branches/2018Q1/www/chromium/files/patch-gpu_gles2__conform__support_BUILD.gn branches/2018Q1/www/chromium/files/patch-gpu_gles2__conform__support_native_BUILD.gn branches/2018Q1/www/chromium/files/patch-gpu_ipc_client_BUILD.gn branches/2018Q1/www/chromium/files/patch-gpu_ipc_service_BUILD.gn branches/2018Q1/www/chromium/files/patch-gpu_tools_compositor__model__bench_BUILD.gn branches/2018Q1/www/chromium/files/patch-gpu_vulkan_BUILD.gn branches/2018Q1/www/chromium/files/patch-media__audio__alsa__audio_manager_alsa.cc branches/2018Q1/www/chromium/files/patch-media_base_BUILD.gn branches/2018Q1/www/chromium/files/patch-media_cast_BUILD.gn branches/2018Q1/www/chromium/files/patch-media_cdm_ppapi_ppapi__cdm__adapter.gni branches/2018Q1/www/chromium/files/patch-mojo_BUILD.gn branches/2018Q1/www/chromium/files/patch-mojo_edk_test_BUILD.gn branches/2018Q1/www/chromium/files/patch-native__client__sdk_src_BUILD.gn branches/2018Q1/www/chromium/files/patch-net_base_mime__util__unittest.cc branches/2018Q1/www/chromium/files/patch-ppapi_tests_extensions_BUILD.gn branches/2018Q1/www/chromium/files/patch-printing_BUILD.gn branches/2018Q1/www/chromium/files/patch-sdch_BUILD.gn branches/2018Q1/www/chromium/files/patch-services_device_battery_BUILD.gn branches/2018Q1/www/chromium/files/patch-services_ui_gpu_gpu__main.cc branches/2018Q1/www/chromium/files/patch-services_ui_gpu_gpu__service.cc branches/2018Q1/www/chromium/files/patch-skia_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_WebKit_Source_core_layout_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_angle_src_tests_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_expat_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_ffmpeg_chromium_scripts_generate_gn.py branches/2018Q1/www/chromium/files/patch-third__party_ffmpeg_ffmpeg__generated.gni branches/2018Q1/www/chromium/files/patch-third__party_fontconfig_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_fontconfig_fontconfig.gni branches/2018Q1/www/chromium/files/patch-third__party_glslang_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_libxslt_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_minigbm_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_opus_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_pdfium_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_pdfium_skia_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_webrtc_modules_video__coding_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_widevine_cdm_BUILD.gn branches/2018Q1/www/chromium/files/patch-tools_battor__agent_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_aura_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_base_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_base_ime_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_base_ui__features.gni branches/2018Q1/www/chromium/files/patch-ui_compositor_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_message__center_message__center__style.h branches/2018Q1/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.cc branches/2018Q1/www/chromium/files/patch-ui_message__center_views_message__center__button__bar.h branches/2018Q1/www/chromium/files/patch-ui_resources_ui__resources.grd branches/2018Q1/www/chromium/files/patch-ui_views_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_views_controls_webview_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_views_mus_BUILD.gn Modified: branches/2018Q1/www/chromium/Makefile branches/2018Q1/www/chromium/distinfo branches/2018Q1/www/chromium/files/audio_manager_openbsd.cc branches/2018Q1/www/chromium/files/audio_manager_openbsd.h branches/2018Q1/www/chromium/files/extra-patch-clang branches/2018Q1/www/chromium/files/extra-patch-libc++-new branches/2018Q1/www/chromium/files/extra-patch-libc++-old branches/2018Q1/www/chromium/files/patch-BUILD.gn branches/2018Q1/www/chromium/files/patch-base_BUILD.gn branches/2018Q1/www/chromium/files/patch-base_process_memory.cc branches/2018Q1/www/chromium/files/patch-base_process_process__handle__freebsd.cc branches/2018Q1/www/chromium/files/patch-base_process_process__iterator__freebsd.cc branches/2018Q1/www/chromium/files/patch-base_process_process__metrics.h branches/2018Q1/www/chromium/files/patch-base_process_process__metrics__freebsd.cc branches/2018Q1/www/chromium/files/patch-base_process_process__posix.cc branches/2018Q1/www/chromium/files/patch-base_sys__info__freebsd.cc branches/2018Q1/www/chromium/files/patch-base_sys__info__posix.cc branches/2018Q1/www/chromium/files/patch-base_test_launcher_test__launcher.cc branches/2018Q1/www/chromium/files/patch-base_third__party_libevent_BUILD.gn branches/2018Q1/www/chromium/files/patch-base_trace__event_process__memory__dump.cc branches/2018Q1/www/chromium/files/patch-build_config_BUILDCONFIG.gn branches/2018Q1/www/chromium/files/patch-build_config_compiler_BUILD.gn branches/2018Q1/www/chromium/files/patch-build_config_features.gni branches/2018Q1/www/chromium/files/patch-chrome_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_app_chrome__main__delegate.cc branches/2018Q1/www/chromium/files/patch-chrome_app_generated__resources.grd branches/2018Q1/www/chromium/files/patch-chrome_app_settings__strings.grdp branches/2018Q1/www/chromium/files/patch-chrome_browser_about__flags.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_browser__process__impl.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_browser__resources.grd branches/2018Q1/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.h branches/2018Q1/www/chromium/files/patch-chrome_browser_download_chrome__download__manager__delegate.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_download_download__prefs.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_browser_flag__descriptions.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_interstitials_chrome__controller__client.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_password__manager_chrome__password__manager__client.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_resources_settings_appearance__page_appearance__page.html branches/2018Q1/www/chromium/files/patch-chrome_browser_sync_chrome__sync__client.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc branches/2018Q1/www/chromium/files/patch-chrome_browser_ui_webui_settings_appearance__handler.cc branches/2018Q1/www/chromium/files/patch-chrome_common_BUILD.gn branches/2018Q1/www/chromium/files/patch-chrome_common_chrome__switches.cc branches/2018Q1/www/chromium/files/patch-chrome_common_chrome__switches.h branches/2018Q1/www/chromium/files/patch-chrome_common_url__constants.h branches/2018Q1/www/chromium/files/patch-components_autofill_strings.grdp branches/2018Q1/www/chromium/files/patch-components_crash_content_app_BUILD.gn branches/2018Q1/www/chromium/files/patch-components_crash_content_browser_BUILD.gn branches/2018Q1/www/chromium/files/patch-components_metrics_BUILD.gn branches/2018Q1/www/chromium/files/patch-components_new_or_sad_tab_strings.grdp branches/2018Q1/www/chromium/files/patch-components_os__crypt_os__crypt__unittest.cc branches/2018Q1/www/chromium/files/patch-components_policy_tools_generate__policy__source.py branches/2018Q1/www/chromium/files/patch-components_storage__monitor_BUILD.gn branches/2018Q1/www/chromium/files/patch-content_app_content__main__runner.cc branches/2018Q1/www/chromium/files/patch-content_browser_BUILD.gn branches/2018Q1/www/chromium/files/patch-content_browser_browser__main__loop.cc branches/2018Q1/www/chromium/files/patch-content_browser_gpu_gpu__internals__ui.cc branches/2018Q1/www/chromium/files/patch-content_browser_memory_memory__monitor.cc branches/2018Q1/www/chromium/files/patch-content_browser_renderer__host_render__process__host__impl.cc branches/2018Q1/www/chromium/files/patch-content_browser_utility__process__host__impl.cc branches/2018Q1/www/chromium/files/patch-content_common_BUILD.gn branches/2018Q1/www/chromium/files/patch-content_common_content__switches__internal.cc branches/2018Q1/www/chromium/files/patch-content_gpu_gpu__main.cc branches/2018Q1/www/chromium/files/patch-content_renderer_render__thread__impl.cc branches/2018Q1/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.cc branches/2018Q1/www/chromium/files/patch-content_renderer_renderer__blink__platform__impl.h branches/2018Q1/www/chromium/files/patch-content_renderer_renderer_main.cc branches/2018Q1/www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc branches/2018Q1/www/chromium/files/patch-device_geolocation_location__arbitrator.cc branches/2018Q1/www/chromium/files/patch-device_hid_BUILD.gn branches/2018Q1/www/chromium/files/patch-device_hid_hid__connection__freebsd.cc branches/2018Q1/www/chromium/files/patch-device_hid_hid__connection__freebsd.h branches/2018Q1/www/chromium/files/patch-device_hid_hid__service__freebsd.cc branches/2018Q1/www/chromium/files/patch-device_hid_hid__service__freebsd.h branches/2018Q1/www/chromium/files/patch-device_serial_BUILD.gn branches/2018Q1/www/chromium/files/patch-gpu_config_gpu__control__list.cc branches/2018Q1/www/chromium/files/patch-gpu_ipc_service_gpu__init.cc branches/2018Q1/www/chromium/files/patch-headless_lib_headless__macros.h branches/2018Q1/www/chromium/files/patch-media_audio_BUILD.gn branches/2018Q1/www/chromium/files/patch-media_audio_audio__manager.cc branches/2018Q1/www/chromium/files/patch-media_audio_audio__manager.h branches/2018Q1/www/chromium/files/patch-media_base_audio__latency.cc branches/2018Q1/www/chromium/files/patch-media_capture_video_video__capture__device__factory.cc branches/2018Q1/www/chromium/files/patch-net_BUILD.gn branches/2018Q1/www/chromium/files/patch-net_base_address__tracker__linux.h branches/2018Q1/www/chromium/files/patch-net_http_http__auth__gssapi__posix.cc branches/2018Q1/www/chromium/files/patch-net_proxy_proxy__service.cc branches/2018Q1/www/chromium/files/patch-net_socket_udp__socket__posix.cc branches/2018Q1/www/chromium/files/patch-remoting_host_remoting_me2me_host.cc branches/2018Q1/www/chromium/files/patch-sandbox_features.gni branches/2018Q1/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.cpp branches/2018Q1/www/chromium/files/patch-third__party_WebKit_Source_platform_wtf_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_angle_src_gpu_info_util_SystemInfo_x11.cpp branches/2018Q1/www/chromium/files/patch-third__party_pdfium_core_fxcrt_fx__system.h branches/2018Q1/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_JS__Value.cpp branches/2018Q1/www/chromium/files/patch-third__party_pdfium_fpdfsdk_javascript_PublicMethods.cpp branches/2018Q1/www/chromium/files/patch-third__party_pdfium_xfa_fgas_font_cfgas_fontmgr.cpp branches/2018Q1/www/chromium/files/patch-third__party_sqlite_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_usrsctp_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_webrtc_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_webrtc_modules_audio__device_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_webrtc_rtc_base_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_webrtc_rtc_base_platform_thread.cc branches/2018Q1/www/chromium/files/patch-third__party_webrtc_system__wrappers_BUILD.gn branches/2018Q1/www/chromium/files/patch-third__party_yasm_BUILD.gn branches/2018Q1/www/chromium/files/patch-tools_perf_chrome__telemetry__build_BUILD.gn branches/2018Q1/www/chromium/files/patch-tools_variations_fieldtrial__to__struct.py branches/2018Q1/www/chromium/files/patch-ui_base_resource_resource__bundle.cc branches/2018Q1/www/chromium/files/patch-ui_gfx_font__list.cc branches/2018Q1/www/chromium/files/patch-ui_gfx_font__render__params.h branches/2018Q1/www/chromium/files/patch-ui_gfx_mojo_buffer_types_struct_traits.cc branches/2018Q1/www/chromium/files/patch-ui_gl_BUILD.gn branches/2018Q1/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.cc branches/2018Q1/www/chromium/files/patch-ui_gl_sync__control__vsync__provider.h branches/2018Q1/www/chromium/files/sndio_input.cc branches/2018Q1/www/chromium/pkg-message branches/2018Q1/www/chromium/pkg-plist Directory Properties: branches/2018Q1/ (props changed) Modified: branches/2018Q1/www/chromium/Makefile ============================================================================== --- branches/2018Q1/www/chromium/Makefile Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/Makefile Wed Feb 21 20:53:44 2018 (r462543) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= chromium -PORTVERSION= 61.0.3163.100 -PORTREVISION= 5 +PORTVERSION= 63.0.3239.132 CATEGORIES?= www MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -35,6 +34,7 @@ BUILD_DEPENDS+= gperf:devel/gperf \ LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher \ libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ + libopus.so:audio/opus \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ @@ -49,7 +49,9 @@ LIB_DEPENDS= libspeechd.so:accessibility/speech-dispat libpng.so:graphics/png \ libwebp.so:graphics/webp \ libavcodec.so:multimedia/ffmpeg \ + libopenh264.so:multimedia/openh264 \ libcups.so:print/cups \ + libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ @@ -60,7 +62,7 @@ LIB_DEPENDS= libspeechd.so:accessibility/speech-dispat libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils \ - droid-fonts-ttf>0:x11-fonts/droid-fonts-ttf + noto>0:x11-fonts/noto BROKEN_FreeBSD_11_aarch64= components/safe_browsing_db/v4_rice.cc:120:18: use of overloaded operator '&' is ambiguous BROKEN_FreeBSD_12_aarch64= third_party/skia/src/core/SkCpu.cpp:84:27: use of undeclared identifier 'getauxval' @@ -79,6 +81,7 @@ MAKE_ARGS= -C out/${BUILDTYPE} .if !defined(GN_ONLY) CPE_VENDOR= google CPE_PRODUCT= chrome +USE_GL= gl USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= scrnsaverproto x11 xcb xcomposite xcursor xext xdamage xfixes xi \ @@ -104,22 +107,29 @@ GN_ARGS+= clang_use_chrome_plugins=false \ enable_nacl=false \ enable_one_click_signin=true \ enable_remoting=false \ - enable_webrtc=false \ + enable_webrtc=true \ fieldtrial_testing_like_official_build=true \ is_clang=true \ + is_official_build=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator="none" \ use_allocator_shim=false \ use_aura=true \ + use_bundled_fontconfig=false \ use_cups=true \ + use_custom_libcxx=false \ use_gtk3=true \ use_lld=true \ use_sysroot=false \ + use_system_freetype=true \ + use_system_harfbuzz=true \ use_system_libjpeg=true \ - use_system_sqlite=false # chrome has additional patches + use_system_sqlite=false \ + extra_cxxflags="-I${LOCALBASE}/include" \ + extra_ldflags="-L${LOCALBASE}/lib" # TODO: investigate building with these options: -# use_system_icu use_system_harfbuzz use_system_minigbm +# use_system_icu use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild # FreeBSD Chromium Api Key @@ -134,12 +144,11 @@ GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoa SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" -OPTIONS_DEFINE= CODECS GCONF KERBEROS DRIVER +OPTIONS_DEFINE= CODECS DEBUG DRIVER GCONF KERBEROS TEST CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver -OPTIONS_GROUP= AUDIO TESTS +OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO -OPTIONS_GROUP_TESTS= DEBUG TEST OPTIONS_DEFAULT= ALSA CODECS DRIVER GCONF KERBEROS OPTIONS_SUB= yes @@ -159,6 +168,7 @@ CODECS_VARS_OFF= GN_ARGS+=ffmpeg_branding="Chromium" \ DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ + GN_ARGS+=is_component_build=false \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="lots of free diskspace (~ 8.5GB)" DEBUG_VARS_OFF= BUILDTYPE=Release \ @@ -202,7 +212,7 @@ MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # Work around base r261801 -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100508 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1004000 GN_ARGS+= extra_cxxflags="-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libc++-old .else @@ -220,6 +230,11 @@ pre-everything:: @${ECHO_MSG} "and ${WANTSPACE}." @${ECHO_MSG} +post-patch: + @${REINPLACE_CMD} -e 's|@@PACKAGE@@|chromium|' \ + -e 's|@@MENUNAME@@|Chromium Web Browser|' \ + ${WRKSRC}/chrome/app/resources/manpage.1.in + post-patch-SNDIO-on: @${MKDIR} ${WRKSRC}/media/audio/sndio ${WRKSRC}/media/audio/openbsd @${CP} ${FILESDIR}/sndio_output.* ${WRKSRC}/media/audio/sndio @@ -233,7 +248,7 @@ pre-configure: #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ - ffmpeg flac harfbuzz-ng libwebp libxml libxslt snappy yasm || ${FALSE} + ffmpeg flac freetype harfbuzz-ng libdrm libwebp libxml libxslt openh264 opus snappy yasm || ${FALSE} .endif do-configure: @@ -259,25 +274,17 @@ do-test-TEST-on: .if !defined(GN_ONLY) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.for m in font_service test_ime_driver ui - ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${m}.service \ - ${STAGEDIR}${DATADIR} -.endfor + ${INSTALL_MAN} ${WRKSRC}/chrome/app/resources/manpage.1.in \ + ${STAGEDIR}${MANPREFIX}/man/man1/chrome.1 + ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.service ${STAGEDIR}${DATADIR} .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png .endfor - ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ - ${STAGEDIR}${DATADIR} -.for p in chrome_100_percent chrome_200_percent headless_lib keyboard_resources \ - resources mus_app_resources_100 mus_app_resources_200 mus_app_resources_strings \ - views_mus_resources - ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak \ - ${STAGEDIR}${DATADIR} -.endfor -.for d in icudtl.dat natives_blob.bin snapshot_blob.bin + ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.png ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*.pak ${STAGEDIR}${DATADIR} +.for d in protoc icudtl.dat mksnapshot natives_blob.bin snapshot_blob.bin v8_context_snapshot.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ @@ -288,8 +295,16 @@ do-install: ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \ + ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} +.for f in libEGL.so libGLESv2.so + ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} +.endfor + @${MKDIR} ${STAGEDIR}${DATADIR}/swiftshader +.for g in libEGL.so libGLESv2.so + ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/swiftshader/${g} \ + ${STAGEDIR}${DATADIR}/swiftshader +.endfor post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ Modified: branches/2018Q1/www/chromium/distinfo ============================================================================== --- branches/2018Q1/www/chromium/distinfo Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/distinfo Wed Feb 21 20:53:44 2018 (r462543) @@ -1,5 +1,5 @@ -TIMESTAMP = 1506100596 -SHA256 (chromium-61.0.3163.100.tar.xz) = 4135968cac6623c1d2b224494600cd274098cce41c298f8c3908b354a34c281b -SIZE (chromium-61.0.3163.100.tar.xz) = 556305252 -SHA256 (chromium-61.0.3163.100-testdata.tar.xz) = aae39df201eef2be59c8e65fa86c7688f05bf882d97f876a406d731209a21cea -SIZE (chromium-61.0.3163.100-testdata.tar.xz) = 126588708 +TIMESTAMP = 1515196732 +SHA256 (chromium-63.0.3239.132.tar.xz) = 84c46c2c42faaa102abe0647ee1213615a2522627124924c2741ddc2161b3d8d +SIZE (chromium-63.0.3239.132.tar.xz) = 534286424 +SHA256 (chromium-63.0.3239.132-testdata.tar.xz) = 3706e61b3473624dedea61730a6633d94e00fb3670ebdee97a9f73fbdf6bd672 +SIZE (chromium-63.0.3239.132-testdata.tar.xz) = 172896844 Modified: branches/2018Q1/www/chromium/files/audio_manager_openbsd.cc ============================================================================== --- branches/2018Q1/www/chromium/files/audio_manager_openbsd.cc Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/audio_manager_openbsd.cc Wed Feb 21 20:53:44 2018 (r462543) @@ -46,10 +46,6 @@ bool AudioManagerOpenBSD::HasAudioInputDevices() { return true; } -void AudioManagerOpenBSD::ShowAudioInputSettings() { - NOTIMPLEMENTED(); -} - void AudioManagerOpenBSD::GetAudioInputDeviceNames( AudioDeviceNames* device_names) { DCHECK(device_names->empty()); Modified: branches/2018Q1/www/chromium/files/audio_manager_openbsd.h ============================================================================== --- branches/2018Q1/www/chromium/files/audio_manager_openbsd.h Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/audio_manager_openbsd.h Wed Feb 21 20:53:44 2018 (r462543) @@ -24,7 +24,6 @@ class MEDIA_EXPORT AudioManagerOpenBSD : public AudioM // Implementation of AudioManager. bool HasAudioOutputDevices() override; bool HasAudioInputDevices() override; - void ShowAudioInputSettings() override; void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; AudioParameters GetInputStreamParameters( Modified: branches/2018Q1/www/chromium/files/extra-patch-clang ============================================================================== --- branches/2018Q1/www/chromium/files/extra-patch-clang Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/extra-patch-clang Wed Feb 21 20:53:44 2018 (r462543) @@ -27,20 +27,6 @@ if (*ptr == kFinalTlsValue) return; // We've been called enough times. ASSERT_LT(kFinalTlsValue, *ptr); ---- base/tracked_objects_unittest.cc.orig 2015-08-22 15:01:51.000000000 -0400 -+++ base/tracked_objects_unittest.cc 2015-09-03 09:20:53.370191000 -0400 -@@ -58,9 +58,9 @@ - Births* birth = ThreadData::TallyABirthIfActive(location); - - if (ThreadData::status() == ThreadData::DEACTIVATED) -- EXPECT_EQ(reinterpret_cast<Births*>(NULL), birth); -+ EXPECT_EQ(static_cast<Births*>(NULL), birth); - else -- EXPECT_NE(reinterpret_cast<Births*>(NULL), birth); -+ EXPECT_NE(static_cast<Births*>(NULL), birth); - } - - // Helper function to verify the most common test expectations. --- media/audio/audio_output_proxy_unittest.cc 2015-04-15 00:18:55.000000000 +0200 +++ media/audio/audio_output_proxy_unittest.cc 2015-04-18 22:02:38.000000000 +0200 @@ -387,7 +387,7 @@ Modified: branches/2018Q1/www/chromium/files/extra-patch-libc++-new ============================================================================== --- branches/2018Q1/www/chromium/files/extra-patch-libc++-new Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/extra-patch-libc++-new Wed Feb 21 20:53:44 2018 (r462543) @@ -1,15 +1,7 @@ ---- tools/gn/bootstrap/bootstrap.py.orig 2017-09-05 21:05:47.000000000 +0200 -+++ tools/gn/bootstrap/bootstrap.py 2017-09-10 22:43:57.996797000 +0200 -@@ -23,6 +23,7 @@ - import shutil - import subprocess - import sys -+import platform - import tempfile +--- tools/gn/bootstrap/bootstrap.py.orig 2017-12-23 20:11:27.769312000 +0100 ++++ tools/gn/bootstrap/bootstrap.py 2017-12-23 20:28:42.756301000 +0100 +@@ -32,9 +32,10 @@ - BOOTSTRAP_DIR = os.path.dirname(os.path.abspath(__file__)) -@@ -31,9 +32,10 @@ - is_win = sys.platform.startswith('win') is_linux = sys.platform.startswith('linux') +is_bsd = platform.system().lower().endswith('bsd') @@ -20,55 +12,23 @@ def check_call(cmd, **kwargs): logging.debug('Running: %s', ' '.join(cmd)) -@@ -449,6 +451,7 @@ - 'base/metrics/histogram_base.cc', - 'base/metrics/histogram_functions.cc', - 'base/metrics/histogram_samples.cc', -+ 'base/metrics/histogram_snapshot_manager.cc', - 'base/metrics/metrics_hashes.cc', - 'base/metrics/persistent_histogram_allocator.cc', - 'base/metrics/persistent_memory_allocator.cc', -@@ -534,7 +537,7 @@ - 'base/trace_event/heap_profiler_allocation_context_tracker.cc', - 'base/trace_event/heap_profiler_allocation_register.cc', - 'base/trace_event/heap_profiler_event_filter.cc', -- 'base/trace_event/heap_profiler_event_writer.cc', -+ 'base/trace_event/heap_profiler_heap_dump_writer.cc', - 'base/trace_event/heap_profiler_serialization_state.cc', - 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', - 'base/trace_event/heap_profiler_type_name_deduplicator.cc', -@@ -627,7 +630,7 @@ +@@ -576,7 +577,6 @@ + 'base/trace_event/trace_log_constants.cc', + 'base/trace_event/tracing_agent.cc', + 'base/unguessable_token.cc', +- 'base/value_iterators.cc', + 'base/values.cc', + 'base/vlog.cc', + ]) +@@ -633,6 +633,44 @@ 'cflags': cflags + ['-DHAVE_CONFIG_H'], } -- if is_linux or is_aix: -+ if is_linux or is_aix or is_bsd: - ldflags.extend(['-pthread']) - - static_libraries['xdg_user_dirs'] = { -@@ -642,16 +645,44 @@ - 'base/memory/shared_memory_tracker.cc', - 'base/nix/xdg_util.cc', - 'base/process/internal_linux.cc', -- 'base/process/memory_linux.cc', -+ #'base/process/memory_linux.cc', - 'base/process/process_handle_linux.cc', - 'base/process/process_info_linux.cc', -- 'base/process/process_iterator_linux.cc', -- 'base/process/process_linux.cc', -- 'base/process/process_metrics_linux.cc', -+ #'base/process/process_iterator_linux.cc', -+ #'base/process/process_linux.cc', -+ #'base/process/process_metrics_linux.cc', - 'base/strings/sys_string_conversions_posix.cc', -- 'base/sys_info_linux.cc', -+ #'base/sys_info_linux.cc', - 'base/threading/platform_thread_linux.cc', - ]) -+ if is_bsd: -+ libs.extend(['-lexecinfo', '-lkvm']) -+ ldflags.extend(['-pthread']) -+ ++ if is_bsd: ++ libs.extend(['-lexecinfo', '-lkvm']) ++ ldflags.extend(['-pthread']) ++ include_dirs += ["/usr/local/include"] ++ + static_libraries['xdg_user_dirs'] = { + 'sources': [ + 'base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', @@ -76,12 +36,21 @@ + 'tool': 'cxx', + } + static_libraries['base']['sources'].extend([ -+ 'base/allocator/allocator_shim.cc', -+ 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc', -+ 'base/process/process_handle_' + platform.system().lower() + '.cc', -+ 'base/process/process_iterator_' + platform.system().lower() + '.cc', -+ 'base/process/process_metrics_'+ platform.system().lower() + '.cc', -+ 'base/sys_info_' + platform.system().lower() + '.cc', ++ 'base/memory/shared_memory_handle_posix.cc', ++ 'base/memory/shared_memory_posix.cc', ++ 'base/nix/xdg_util.cc', ++ 'base/process/memory_stubs.cc', ++ 'base/process/process_info_linux.cc', ++ 'base/process/internal_linux.cc', ++ 'base/process/process_handle_freebsd.cc', ++ 'base/process/process_metrics_freebsd.cc', ++ 'base/strings/sys_string_conversions_posix.cc', ++ 'base/sys_info_freebsd.cc', ++ 'base/threading/platform_thread_linux.cc', ++ 'base/synchronization/waitable_event_posix.cc', ++ 'base/time/time_exploded_posix.cc', ++ 'base/time/time_now_posix.cc', ++ 'base/value_iterators.cc', + ]) + static_libraries['libevent']['include_dirs'].extend([ + os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'freebsd') @@ -93,10 +62,10 @@ + # Suppressing warnings + cflags.extend(['-Wno-deprecated-register', '-Wno-parentheses-equality']) + - if is_linux: - static_libraries['base']['sources'].extend([ - 'base/allocator/allocator_shim.cc', -@@ -663,17 +694,6 @@ + if is_linux or is_aix: + ldflags.extend(['-pthread']) + +@@ -671,17 +709,6 @@ ]) static_libraries['libevent']['sources'].extend([ 'base/third_party/libevent/epoll.c', Modified: branches/2018Q1/www/chromium/files/extra-patch-libc++-old ============================================================================== --- branches/2018Q1/www/chromium/files/extra-patch-libc++-old Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/extra-patch-libc++-old Wed Feb 21 20:53:44 2018 (r462543) @@ -1,15 +1,7 @@ ---- tools/gn/bootstrap/bootstrap.py.orig 2017-09-05 21:05:47.000000000 +0200 -+++ tools/gn/bootstrap/bootstrap.py 2017-09-10 19:20:25.156037000 +0200 -@@ -23,6 +23,7 @@ - import shutil - import subprocess - import sys -+import platform - import tempfile +--- tools/gn/bootstrap/bootstrap.py.orig 2017-12-23 20:11:27.769312000 +0100 ++++ tools/gn/bootstrap/bootstrap.py 2017-12-23 20:27:26.501215000 +0100 +@@ -32,9 +32,10 @@ - BOOTSTRAP_DIR = os.path.dirname(os.path.abspath(__file__)) -@@ -31,9 +32,10 @@ - is_win = sys.platform.startswith('win') is_linux = sys.platform.startswith('linux') +is_bsd = platform.system().lower().endswith('bsd') @@ -20,55 +12,23 @@ def check_call(cmd, **kwargs): logging.debug('Running: %s', ' '.join(cmd)) -@@ -449,6 +451,7 @@ - 'base/metrics/histogram_base.cc', - 'base/metrics/histogram_functions.cc', - 'base/metrics/histogram_samples.cc', -+ 'base/metrics/histogram_snapshot_manager.cc', - 'base/metrics/metrics_hashes.cc', - 'base/metrics/persistent_histogram_allocator.cc', - 'base/metrics/persistent_memory_allocator.cc', -@@ -534,7 +537,7 @@ - 'base/trace_event/heap_profiler_allocation_context_tracker.cc', - 'base/trace_event/heap_profiler_allocation_register.cc', - 'base/trace_event/heap_profiler_event_filter.cc', -- 'base/trace_event/heap_profiler_event_writer.cc', -+ 'base/trace_event/heap_profiler_heap_dump_writer.cc', - 'base/trace_event/heap_profiler_serialization_state.cc', - 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', - 'base/trace_event/heap_profiler_type_name_deduplicator.cc', -@@ -627,7 +630,7 @@ +@@ -576,7 +577,6 @@ + 'base/trace_event/trace_log_constants.cc', + 'base/trace_event/tracing_agent.cc', + 'base/unguessable_token.cc', +- 'base/value_iterators.cc', + 'base/values.cc', + 'base/vlog.cc', + ]) +@@ -633,6 +633,47 @@ 'cflags': cflags + ['-DHAVE_CONFIG_H'], } -- if is_linux or is_aix: -+ if is_linux or is_aix or is_bsd: - ldflags.extend(['-pthread']) - - static_libraries['xdg_user_dirs'] = { -@@ -642,16 +645,45 @@ - 'base/memory/shared_memory_tracker.cc', - 'base/nix/xdg_util.cc', - 'base/process/internal_linux.cc', -- 'base/process/memory_linux.cc', -+ #'base/process/memory_linux.cc', - 'base/process/process_handle_linux.cc', - 'base/process/process_info_linux.cc', -- 'base/process/process_iterator_linux.cc', -- 'base/process/process_linux.cc', -- 'base/process/process_metrics_linux.cc', -+ #'base/process/process_iterator_linux.cc', -+ #'base/process/process_linux.cc', -+ #'base/process/process_metrics_linux.cc', - 'base/strings/sys_string_conversions_posix.cc', -- 'base/sys_info_linux.cc', -+ #'base/sys_info_linux.cc', - 'base/threading/platform_thread_linux.cc', - ]) -+ if is_bsd: -+ libs.extend(['-lexecinfo', '-lkvm']) -+ ldflags.extend(['-pthread']) -+ ++ if is_bsd: ++ libs.extend(['-lexecinfo', '-lkvm']) ++ ldflags.extend(['-pthread']) ++ include_dirs += ["/usr/local/include"] ++ + static_libraries['xdg_user_dirs'] = { + 'sources': [ + 'base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', @@ -76,12 +36,21 @@ + 'tool': 'cxx', + } + static_libraries['base']['sources'].extend([ -+ 'base/allocator/allocator_shim.cc', -+ 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc', -+ 'base/process/process_handle_' + platform.system().lower() + '.cc', -+ 'base/process/process_iterator_' + platform.system().lower() + '.cc', -+ 'base/process/process_metrics_'+ platform.system().lower() + '.cc', -+ 'base/sys_info_' + platform.system().lower() + '.cc', ++ 'base/memory/shared_memory_handle_posix.cc', ++ 'base/memory/shared_memory_posix.cc', ++ 'base/nix/xdg_util.cc', ++ 'base/process/memory_stubs.cc', ++ 'base/process/process_info_linux.cc', ++ 'base/process/internal_linux.cc', ++ 'base/process/process_handle_freebsd.cc', ++ 'base/process/process_metrics_freebsd.cc', ++ 'base/strings/sys_string_conversions_posix.cc', ++ 'base/sys_info_freebsd.cc', ++ 'base/threading/platform_thread_linux.cc', ++ 'base/synchronization/waitable_event_posix.cc', ++ 'base/time/time_exploded_posix.cc', ++ 'base/time/time_now_posix.cc', ++ 'base/value_iterators.cc', + ]) + static_libraries['libevent']['include_dirs'].extend([ + os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'freebsd') @@ -92,12 +61,14 @@ + + # Suppressing warnings + cflags.extend(['-Wno-deprecated-register', '-Wno-parentheses-equality']) ++ ++ # Work around base r261801 + cflags_cc.extend(['-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1']) + - if is_linux: - static_libraries['base']['sources'].extend([ - 'base/allocator/allocator_shim.cc', -@@ -663,17 +695,6 @@ + if is_linux or is_aix: + ldflags.extend(['-pthread']) + +@@ -671,17 +712,6 @@ ]) static_libraries['libevent']['sources'].extend([ 'base/third_party/libevent/epoll.c', Modified: branches/2018Q1/www/chromium/files/patch-BUILD.gn ============================================================================== --- branches/2018Q1/www/chromium/files/patch-BUILD.gn Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/patch-BUILD.gn Wed Feb 21 20:53:44 2018 (r462543) @@ -1,162 +1,96 @@ ---- BUILD.gn.orig 2017-07-25 21:04:48.000000000 +0200 -+++ BUILD.gn 2017-07-29 00:52:25.378843000 +0200 -@@ -92,7 +92,7 @@ +--- BUILD.gn.orig 2017-12-15 02:04:03.000000000 +0100 ++++ BUILD.gn 2017-12-25 04:12:31.425198000 +0100 +@@ -99,7 +99,7 @@ ] } - if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { -+ if (!is_ios && !is_android && !is_bsd && !is_chromecast && !is_fuchsia) { ++ if (!is_ios && !is_android && !is_chromecast && !is_fuchsia && !is_bsd) { deps += [ "//chrome", - "//chrome/test:browser_tests", -@@ -151,7 +151,7 @@ - ] + "//chrome/installer/zucchini:zucchini", +@@ -368,7 +368,7 @@ + } } -- if (!is_ios && !is_fuchsia) { -+ if (!is_ios && !is_bsd && !is_fuchsia) { +- if (is_linux || is_android) { ++ if ((is_linux && !is_bsd) || is_android) { deps += [ - "//cc:cc_unittests", - "//chrome/test:telemetry_perf_unittests", -@@ -363,7 +363,7 @@ + "//third_party/breakpad:breakpad_unittests", + "//third_party/breakpad:core-2-minidump", +@@ -408,8 +408,6 @@ + "//net:disk_cache_memory_test", + "//net:quic_client", + "//net:quic_server", +- "//sandbox/linux:chrome_sandbox", +- "//sandbox/linux:sandbox_linux_unittests", ] - } -- if (is_linux) { -+ if (is_linux || is_bsd) { - # The following are definitely linux-only. - deps += [ - "//chrome:manpage", -@@ -386,9 +386,16 @@ - # TODO(dpranke): add the linux_dump_symbols flag? - deps += [ "//chrome:linux_symbols" ] - } -+ -+ if (is_bsd) { -+ deps -= [ -+ "//sandbox/linux:chrome_sandbox", -+ "//sandbox/linux:sandbox_linux_unittests", -+ ] -+ } - } + if (use_dbus) { +@@ -465,10 +463,6 @@ + "//chrome/test/chromedriver:chromedriver", + "//chrome/test/chromedriver:chromedriver_tests", + "//components/sync:run_sync_testserver", +- "//courgette:courgette", +- "//courgette:courgette_fuzz", +- "//courgette:courgette_minimal_tool", +- "//courgette:courgette_unittests", + "//media/cast:generate_barcode_video", + "//media/cast:generate_timecode_audio", + "//net:crash_cache", +@@ -523,10 +517,6 @@ + "//mojo/edk/test:mojo_public_system_perftests", + "//services/service_manager/public/cpp", + "//testing/gmock:gmock_main", +- "//third_party/breakpad:dump_syms($host_toolchain)", +- "//third_party/breakpad:microdump_stackwalk($host_toolchain)", +- "//third_party/breakpad:minidump_dump($host_toolchain)", +- "//third_party/breakpad:minidump_stackwalk($host_toolchain)", + ] -- if (is_ios || is_win || (is_linux && !is_chromeos)) { -+ if (is_ios || is_win || is_bsd || (is_linux && !is_chromeos)) { - deps += [ - "//base:base_i18n_perftests", - "//base:base_perftests", -@@ -459,7 +466,7 @@ - if (enable_nacl) { - deps += [ "//components/nacl/loader:nacl_loader_unittests" ] - -- if (is_linux) { -+ if (is_linux || is_bsd) { - # TODO(dpranke): Figure out what platforms should actually have this. - deps += [ "//components/nacl/loader:nacl_helper" ] - -@@ -557,7 +564,7 @@ + if (!is_android) { +@@ -594,7 +584,7 @@ deps += [ "//chrome/installer/mini_installer:next_version_mini_installer" ] } - } else if (!is_android && !is_ios && !is_fuchsia) { -+ } else if (!is_android && !is_ios && !is_bsd && !is_fuchsia) { - deps += [ "//breakpad:symupload($host_toolchain)" ] ++ } else if (!is_android && !is_ios && !is_fuchsia && !is_bsd) { + deps += [ "//third_party/breakpad:symupload($host_toolchain)" ] } -@@ -588,7 +595,7 @@ - deps += [ "//components/proximity_auth:proximity_auth_unittests" ] - } +@@ -831,7 +821,6 @@ + "//ppapi/examples/video_decode", + "//sandbox/linux:chrome_sandbox", + "//sandbox/linux:sandbox_linux_unittests", +- "//third_party/breakpad:minidump_stackwalk($host_toolchain)", -- if (is_win || is_linux) { -+ if (is_win || is_linux || is_bsd) { - deps += [ - "//mash:all", - "//media/mojo/services:media_service_unittests", -@@ -606,7 +613,7 @@ - } - } - -- if (is_linux && !is_chromeos && !is_chromecast) { -+ if ((is_linux || is_bsd) && !is_chromeos && !is_chromecast) { - # TODO(GYP): Figure out if any of these should be in gn_all - # and figure out how cross-platform they are - deps += [ -@@ -644,7 +651,7 @@ - } - - if (target_cpu == "x86" || target_cpu == "x64") { -- if (!is_android) { -+ if (!is_android && !is_bsd) { - deps += [ "//chrome/test:load_library_perf_tests" ] - } - deps += [ -@@ -652,13 +659,13 @@ - "//third_party/libjpeg_turbo:simd_asm", - ] - } -- if (is_linux && current_toolchain == host_toolchain) { -+ if ((is_linux || is_bsd) && current_toolchain == host_toolchain) { - deps += [ "//v8:v8_shell" ] - } - } - - if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) || -- (use_libfuzzer && is_mac)) { -+ (use_libfuzzer && is_mac) || is_bsd) { - deps += [ - "//testing/libfuzzer/fuzzers", - "//testing/libfuzzer/tests:libfuzzer_tests", -@@ -677,7 +684,7 @@ - deps += [ "//native_client_sdk/src:nacl_core_sdk" ] - } - -- if (is_linux && use_ozone) { -+ if ((is_linux || is_bsd ) && use_ozone) { - deps += [ - "//headless", - "//headless:headless_tests", -@@ -811,7 +818,7 @@ - } - } - --if (!is_ios && !is_fuchsia) { -+if (!is_ios && !is_bsd && !is_fuchsia) { - # This group includes all of the targets needed to build and test Blink, - # including running the layout tests (see below). - group("blink_tests") { -@@ -879,7 +886,7 @@ + # Blocked on https://github.com/catapult-project/catapult/issues/2297 + #"//third_party/catapult/telemetry:bitmaptools", +@@ -939,7 +928,7 @@ data_deps += [ "//content/shell:content_shell_crash_service" ] } - if (!is_win && !is_android) { + if (!is_win && !is_android && !is_bsd) { - data_deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] + data_deps += + [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } - -@@ -887,7 +894,7 @@ - data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] +@@ -948,7 +937,7 @@ + data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } - if (is_linux) { + if (is_linux && !is_bsd) { - data_deps += [ "//breakpad:dump_syms($host_toolchain)" ] + data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -941,7 +948,7 @@ - group("chromium_builder_perf") { - testonly = true - -- if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { -+ if (!is_ios && !is_android && !is_bsd && !is_chromecast && !is_fuchsia) { - data_deps = [ - "//cc:cc_perftests", - "//chrome/test:load_library_perf_tests", -@@ -975,7 +982,7 @@ +@@ -1066,9 +1055,6 @@ "//chrome/installer/mini_installer:mini_installer", "//chrome/test:angle_perftests", ] - } else { -+ } else if (!is_bsd) { - data_deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] +- data_deps += +- [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } } + } Modified: branches/2018Q1/www/chromium/files/patch-base_BUILD.gn ============================================================================== --- branches/2018Q1/www/chromium/files/patch-base_BUILD.gn Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/patch-base_BUILD.gn Wed Feb 21 20:53:44 2018 (r462543) @@ -1,15 +1,6 @@ ---- base/BUILD.gn.orig 2017-07-25 21:04:48.000000000 +0200 -+++ base/BUILD.gn 2017-08-02 22:12:25.442369000 +0200 -@@ -1106,7 +1106,7 @@ - "base_paths_win.h", - ] - -- if (is_linux) { -+ if (is_linux || is_bsd) { - sources += [ "base_paths_posix.cc" ] - } - } -@@ -1142,7 +1142,7 @@ +--- base/BUILD.gn.orig 2017-12-15 02:04:05.000000000 +0100 ++++ base/BUILD.gn 2017-12-30 01:18:00.438461000 +0100 +@@ -1125,7 +1125,7 @@ # Needed for <atomic> if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. @@ -18,31 +9,44 @@ host_toolchain != "//build/toolchain/cros:host") { libs = [ "atomic" ] } -@@ -1168,7 +1168,7 @@ +@@ -1151,7 +1151,7 @@ "allocator/allocator_shim_override_glibc_weak_symbols.h", ] deps += [ "//base/allocator:tcmalloc" ] - } else if (is_linux && use_allocator == "none") { -+ } else if (is_linux && !is_bsd && use_allocator == "none") { ++ } else if ((is_linux && !is_bsd) && use_allocator == "none") { sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ] } else if (is_android && use_allocator == "none") { sources += [ -@@ -1185,6 +1185,31 @@ +@@ -1539,7 +1539,7 @@ + "//base/third_party/xdg_user_dirs", + ] + } else { +- # Non-Linux. ++ # Non-Linux/BSD. + sources -= [ + "nix/mime_util_xdg.cc", + "nix/mime_util_xdg.h", +@@ -1555,6 +1555,33 @@ } } + if (is_bsd) { + sources -= [ -+ "files/file_util_linux.cc", + "files/file_path_watcher_linux.cc", ++ "files/file_util_linux.cc", ++ "process/memory_linux.cc", + "process/process_linux.cc", ++ "process/process_handle_linux.cc", + "process/process_iterator_linux.cc", + "process/process_metrics_linux.cc", -+ "process/process_handle_linux.cc", -+ "sys_info_linux.cc", ++ "sys_info_linux.cc" + ] + sources += [ ++ "files/file_path_watcher_kqueue.cc", ++ "files/file_path_watcher_kqueue.h", + "files/file_path_watcher_stub.cc", ++ "process/memory_stubs.cc", + "process/process_handle_freebsd.cc", + "process/process_iterator_freebsd.cc", + "process/process_metrics_freebsd.cc", @@ -54,39 +58,19 @@ + ] + } + -+ -+ - # Allow more direct string conversions on platforms with native utf8 - # strings - if (is_mac || is_ios || is_chromeos || is_chromecast) { -@@ -1520,7 +1545,7 @@ - } - - # Linux. -- if (is_linux) { -+ if (is_linux || is_bsd) { - if (is_asan || is_lsan || is_msan || is_tsan) { - # For llvm-sanitizer. - data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ] -@@ -1545,7 +1570,7 @@ - "//base/third_party/xdg_user_dirs", + # iOS + if (is_ios) { + set_sources_assignment_filter([]) +@@ -2389,6 +2416,12 @@ ] - } else { -- # Non-Linux. -+ # Non-Linux/BSD. - sources -= [ - "nix/mime_util_xdg.cc", - "nix/mime_util_xdg.h", -@@ -2392,6 +2417,12 @@ - "trace_event/trace_event_android_unittest.cc", - ] set_sources_assignment_filter(sources_assignment_filter) -+ } + } + + if (is_bsd) { + sources -= [ + "debug/proc_maps_linux_unittest.cc", + ] - } ++ } if (is_win) { + deps += [ "//base:scoped_handle_test_dll" ] Copied: branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket.cc (from r462416, head/www/chromium/files/patch-base_posix_unix__domain__socket.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket.cc Wed Feb 21 20:53:44 2018 (r462543, copy of r462416, head/www/chromium/files/patch-base_posix_unix__domain__socket.cc) @@ -0,0 +1,49 @@ +--- base/posix/unix_domain_socket.cc.orig 2018-01-04 21:05:38.000000000 +0100 ++++ base/posix/unix_domain_socket.cc 2018-01-06 12:44:56.681201000 +0100 +@@ -5,7 +5,10 @@ + #include "base/posix/unix_domain_socket.h" + + #include <errno.h> ++#include <sys/param.h> + #include <sys/socket.h> ++#include <sys/types.h> ++#include <sys/ucred.h> + #if !defined(OS_NACL_NONSFI) + #include <sys/un.h> + #endif +@@ -28,6 +31,14 @@ + + const size_t UnixDomainSocket::kMaxFileDescriptors = 16; + ++#ifndef SCM_CREDENTIALS ++# define SCM_CREDENTIALS 0x9001 ++#endif ++ ++#ifndef SO_PASSCRED ++# define SO_PASSCRED 0x9002 ++#endif ++ + #if !defined(OS_NACL_NONSFI) + bool CreateSocketPair(ScopedFD* one, ScopedFD* two) { + int raw_socks[2]; +@@ -150,7 +161,7 @@ + #if !defined(OS_NACL_NONSFI) && !defined(OS_MACOSX) + // The PNaCl toolchain for Non-SFI binary build and macOS do not support + // ucred. macOS supports xucred, but this structure is insufficient. +- + CMSG_SPACE(sizeof(struct ucred)) ++ + CMSG_SPACE(sizeof(struct cmsgcred)) + #endif // OS_NACL_NONSFI or OS_MACOSX + ; + char control_buffer[kControlBufferSize]; +@@ -180,9 +191,9 @@ + // SCM_CREDENTIALS. + if (cmsg->cmsg_level == SOL_SOCKET && + cmsg->cmsg_type == SCM_CREDENTIALS) { +- DCHECK_EQ(payload_len, sizeof(struct ucred)); ++ DCHECK_EQ(payload_len, sizeof(struct cmsgcred)); + DCHECK_EQ(pid, -1); +- pid = reinterpret_cast<struct ucred*>(CMSG_DATA(cmsg))->pid; ++ pid = getpid(); + } + #endif // !defined(OS_NACL_NONSFI) && !defined(OS_MACOSX) + } Copied: branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc (from r462416, head/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc Wed Feb 21 20:53:44 2018 (r462543, copy of r462416, head/www/chromium/files/patch-base_posix_unix__domain__socket__unittest.cc) @@ -0,0 +1,12 @@ +--- base/posix/unix_domain_socket_unittest.cc.orig 2017-12-23 20:50:07.237565000 +0100 ++++ base/posix/unix_domain_socket_unittest.cc 2017-12-23 20:51:05.651558000 +0100 +@@ -8,6 +8,9 @@ + #include <stdint.h> + #include <sys/socket.h> + #include <sys/types.h> ++#if defined(OS_BSD) ++#include <signal.h> ++#endif + #include <unistd.h> + + #include "base/bind.h" Modified: branches/2018Q1/www/chromium/files/patch-base_process_memory.cc ============================================================================== --- branches/2018Q1/www/chromium/files/patch-base_process_memory.cc Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/patch-base_process_memory.cc Wed Feb 21 20:53:44 2018 (r462543) @@ -1,6 +1,15 @@ ---- base/process/memory.cc.orig 2017-06-05 19:03:00 UTC -+++ base/process/memory.cc -@@ -31,7 +31,7 @@ void TerminateBecauseOutOfMemory(size_t size) { +--- base/process/memory.cc.orig 2017-12-15 02:04:05.000000000 +0100 ++++ base/process/memory.cc 2017-12-31 09:49:46.308931000 +0100 +@@ -10,7 +10,7 @@ + namespace base { + + // Defined in memory_win.cc for Windows. +-#if !defined(OS_WIN) ++#if !defined(OS_WIN) && !defined(OS_BSD) + + namespace { + +@@ -31,7 +31,7 @@ #endif // Defined in memory_mac.mm for Mac. Modified: branches/2018Q1/www/chromium/files/patch-base_process_process__handle__freebsd.cc ============================================================================== --- branches/2018Q1/www/chromium/files/patch-base_process_process__handle__freebsd.cc Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/patch-base_process_process__handle__freebsd.cc Wed Feb 21 20:53:44 2018 (r462543) @@ -1,6 +1,6 @@ ---- base/process/process_handle_freebsd.cc.orig 2017-04-19 19:06:28 UTC -+++ base/process/process_handle_freebsd.cc -@@ -16,7 +16,7 @@ namespace base { +--- base/process/process_handle_freebsd.cc.orig 2018-01-04 21:05:38.000000000 +0100 ++++ base/process/process_handle_freebsd.cc 2018-01-27 02:11:02.948007000 +0100 +@@ -16,10 +16,13 @@ ProcessId GetParentProcessId(ProcessHandle process) { struct kinfo_proc info; @@ -9,3 +9,9 @@ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; if (sysctl(mib, arraysize(mib), &info, &length, NULL, 0) < 0) ++ return -1; ++ ++ if (length < sizeof(struct kinfo_proc)) + return -1; + + return info.ki_ppid; Modified: branches/2018Q1/www/chromium/files/patch-base_process_process__iterator__freebsd.cc ============================================================================== --- branches/2018Q1/www/chromium/files/patch-base_process_process__iterator__freebsd.cc Wed Feb 21 20:48:59 2018 (r462542) +++ branches/2018Q1/www/chromium/files/patch-base_process_process__iterator__freebsd.cc Wed Feb 21 20:53:44 2018 (r462543) @@ -1,5 +1,5 @@ ---- base/process/process_iterator_freebsd.cc.orig 2017-06-05 19:03:00 UTC -+++ base/process/process_iterator_freebsd.cc +--- base/process/process_iterator_freebsd.cc.orig 2018-01-04 21:05:38.000000000 +0100 ++++ base/process/process_iterator_freebsd.cc 2018-01-27 17:58:40.475292000 +0100 @@ -10,6 +10,10 @@ #include <sys/sysctl.h> #include <unistd.h> @@ -11,7 +11,16 @@ #include "base/logging.h" #include "base/macros.h" #include "base/strings/string_split.h" -@@ -72,19 +76,13 @@ bool ProcessIterator::CheckForNextProcess() { +@@ -40,7 +44,7 @@ + num_of_kinfo_proc += 16; + kinfo_procs_.resize(num_of_kinfo_proc); + len = num_of_kinfo_proc * sizeof(struct kinfo_proc); +- if (sysctl(mib, arraysize(mib), &kinfo_procs_[0], &len, NULL, 0) <0) { ++ if (sysctl(mib, arraysize(mib), kinfo_procs_.data(), &len, NULL, 0) <0) { + // If we get a mem error, it just means we need a bigger buffer, so + // loop around again. Anything else is a real error and give up. + if (errno != ENOMEM) { +@@ -72,19 +76,13 @@ for (; index_of_kinfo_proc_ < kinfo_procs_.size(); ++index_of_kinfo_proc_) { size_t length; struct kinfo_proc kinfo = kinfo_procs_[index_of_kinfo_proc_]; Copied: branches/2018Q1/www/chromium/files/patch-base_process_process__metrics.cc (from r462416, head/www/chromium/files/patch-base_process_process__metrics.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/www/chromium/files/patch-base_process_process__metrics.cc Wed Feb 21 20:53:44 2018 (r462543, copy of r462416, head/www/chromium/files/patch-base_process_process__metrics.cc) @@ -0,0 +1,11 @@ +--- base/process/process_metrics.cc.orig 2017-12-23 21:01:02.481980000 +0100 ++++ base/process/process_metrics.cc 2017-12-23 21:01:15.848759000 +0100 *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802212053.w1LKrigK001634>