From owner-svn-ports-branches@FreeBSD.ORG Tue Aug 27 06:50:39 2013 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CF09DF87; Tue, 27 Aug 2013 06:50:39 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BA8AB2F60; Tue, 27 Aug 2013 06:50:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7R6odBN058091; Tue, 27 Aug 2013 06:50:39 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7R6oXcM057845; Tue, 27 Aug 2013 06:50:33 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201308270650.r7R6oXcM057845@svn.freebsd.org> From: Rene Ladan Date: Tue, 27 Aug 2013 06:50:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r325430 - in branches/RELENG_9_2_0/www/chromium: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 06:50:39 -0000 Author: rene Date: Tue Aug 27 06:50:33 2013 New Revision: 325430 URL: http://svnweb.freebsd.org/changeset/ports/325430 Log: MFH r325283: update www/chromium to 29.0.1547.57 MFH r325402: buildfix for www/chromium on 9.X-i386 Approved by: portmgr (erwin) Added: branches/RELENG_9_2_0/www/chromium/files/extra-patch-clang - copied unchanged from r325283, head/www/chromium/files/extra-patch-clang branches/RELENG_9_2_0/www/chromium/files/patch-base__base.gypi - copied unchanged from r325283, head/www/chromium/files/patch-base__base.gypi branches/RELENG_9_2_0/www/chromium/files/patch-base__posix__unix_domain_socket_linux_unittest.cc - copied unchanged from r325283, head/www/chromium/files/patch-base__posix__unix_domain_socket_linux_unittest.cc branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_iterator.h - copied unchanged from r325283, head/www/chromium/files/patch-base__process__process_iterator.h branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_metrics.h - copied unchanged from r325283, head/www/chromium/files/patch-base__process__process_metrics.h branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_metrics_freebsd.cc - copied unchanged from r325283, head/www/chromium/files/patch-base__process__process_metrics_freebsd.cc branches/RELENG_9_2_0/www/chromium/files/patch-base__threading__platform_thread_linux.cc - copied unchanged from r325283, head/www/chromium/files/patch-base__threading__platform_thread_linux.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__media__webrtc_log_uploader.cc - copied unchanged from r325283, head/www/chromium/files/patch-chrome__browser__media__webrtc_log_uploader.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__media_galleries__scoped_mtp_device_map_entry.cc - copied unchanged from r325283, head/www/chromium/files/patch-chrome__browser__media_galleries__scoped_mtp_device_map_entry.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__storage_monitor__storage_monitor.cc - copied unchanged from r325283, head/www/chromium/files/patch-chrome__browser__storage_monitor__storage_monitor.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.cc - copied unchanged from r325283, head/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.h - copied unchanged from r325283, head/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.h branches/RELENG_9_2_0/www/chromium/files/patch-chrome__common__pref_names.cc - copied unchanged from r325283, head/www/chromium/files/patch-chrome__common__pref_names.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__common__pref_names.h - copied unchanged from r325283, head/www/chromium/files/patch-chrome__common__pref_names.h branches/RELENG_9_2_0/www/chromium/files/patch-chrome__test__perf__perf_test.cc - copied unchanged from r325283, head/www/chromium/files/patch-chrome__test__perf__perf_test.cc branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__download__base_file.cc - copied unchanged from r325283, head/www/chromium/files/patch-content__browser__download__base_file.cc branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__download__base_file_linux.cc - copied unchanged from r325283, head/www/chromium/files/patch-content__browser__download__base_file_linux.cc branches/RELENG_9_2_0/www/chromium/files/patch-gpu__gpu_config.gypi - copied unchanged from r325283, head/www/chromium/files/patch-gpu__gpu_config.gypi branches/RELENG_9_2_0/www/chromium/files/patch-issue-17359002 - copied unchanged from r325283, head/www/chromium/files/patch-issue-17359002 branches/RELENG_9_2_0/www/chromium/files/patch-net__dns__dns_session.cc - copied unchanged from r325402, head/www/chromium/files/patch-net__dns__dns_session.cc branches/RELENG_9_2_0/www/chromium/files/patch-skia__skia.gyp - copied unchanged from r325283, head/www/chromium/files/patch-skia__skia.gyp branches/RELENG_9_2_0/www/chromium/files/patch-sync__util__get_session_name.cc - copied unchanged from r325283, head/www/chromium/files/patch-sync__util__get_session_name.cc branches/RELENG_9_2_0/www/chromium/files/patch-sync__util__get_session_name_linux.cc - copied unchanged from r325283, head/www/chromium/files/patch-sync__util__get_session_name_linux.cc branches/RELENG_9_2_0/www/chromium/files/patch-third_party__WebKit__Source__core__core.gyp - copied unchanged from r325283, head/www/chromium/files/patch-third_party__WebKit__Source__core__core.gyp branches/RELENG_9_2_0/www/chromium/files/patch-third_party__webrtc__modules__desktop_capture__desktop_capture.gypi - copied unchanged from r325283, head/www/chromium/files/patch-third_party__webrtc__modules__desktop_capture__desktop_capture.gypi branches/RELENG_9_2_0/www/chromium/files/patch-webkit__plugins__ppapi__usb_key_code_conversion.cc - copied unchanged from r325283, head/www/chromium/files/patch-webkit__plugins__ppapi__usb_key_code_conversion.cc Deleted: branches/RELENG_9_2_0/www/chromium/files/patch-base__allocator__allocator_extension.cc branches/RELENG_9_2_0/www/chromium/files/patch-base__base.gyp branches/RELENG_9_2_0/www/chromium/files/patch-base__profiler__alternate_timer.cc branches/RELENG_9_2_0/www/chromium/files/patch-base__tracked_objects.cc branches/RELENG_9_2_0/www/chromium/files/patch-build__build_config.h branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__metrics__thread_watcher.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__sync__glue__synced_session_tracker.cc branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__geolocation__location_provider.cc branches/RELENG_9_2_0/www/chromium/files/patch-content__content_gpu.gypi branches/RELENG_9_2_0/www/chromium/files/patch-content__test__layout_browsertest.cc branches/RELENG_9_2_0/www/chromium/files/patch-net__third_party__nss__ssl__bodge__secitem_array.c branches/RELENG_9_2_0/www/chromium/files/patch-ppapi__proxy__pdf_resource.cc branches/RELENG_9_2_0/www/chromium/files/patch-third_party__WebKit__Source__core__core.gyp__core.gyp branches/RELENG_9_2_0/www/chromium/files/patch-third_party__WebKit__Source__wtf__TypeTraits.h branches/RELENG_9_2_0/www/chromium/files/patch-third_party__hunspell__src__hunspell__affentry.hxx branches/RELENG_9_2_0/www/chromium/files/patch-third_party__libjingle__source__talk__base__taskrunner.cc branches/RELENG_9_2_0/www/chromium/files/patch-third_party__sfntly__cpp__src__sfntly__table__core__cmap_table.cc branches/RELENG_9_2_0/www/chromium/files/patch-v8__src__stub-cache.cc Modified: branches/RELENG_9_2_0/www/chromium/Makefile branches/RELENG_9_2_0/www/chromium/distinfo branches/RELENG_9_2_0/www/chromium/files/patch-base__process_util_freebsd.cc branches/RELENG_9_2_0/www/chromium/files/patch-chrome__chrome_browser.gypi branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__geolocation__wifi_data_provider_freebsd.cc branches/RELENG_9_2_0/www/chromium/files/patch-content__content_common.gypi branches/RELENG_9_2_0/www/chromium/files/patch-content__renderer__render_process_impl.cc branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_config_service_linux.cc (contents, props changed) branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_service.cc (contents, props changed) branches/RELENG_9_2_0/www/chromium/files/patch-remoting__remoting.gyp branches/RELENG_9_2_0/www/chromium/files/patch-third_party__libjingle__libjingle.gyp branches/RELENG_9_2_0/www/chromium/files/patch-third_party__webrtc__system_wrappers__source__cpu_info.cc branches/RELENG_9_2_0/www/chromium/files/patch-third_party__webrtc__system_wrappers__source__thread_posix.cc branches/RELENG_9_2_0/www/chromium/files/patch-third_party__webrtc__voice_engine__voice_engine_defines.h branches/RELENG_9_2_0/www/chromium/files/patch-tools__grit__grit__node__base.py branches/RELENG_9_2_0/www/chromium/files/patch-ui__gl__gl.gyp branches/RELENG_9_2_0/www/chromium/pkg-plist Directory Properties: branches/RELENG_9_2_0/ (props changed) Modified: branches/RELENG_9_2_0/www/chromium/Makefile ============================================================================== --- branches/RELENG_9_2_0/www/chromium/Makefile Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/Makefile Tue Aug 27 06:50:33 2013 (r325430) @@ -5,7 +5,7 @@ PORTNAME= chromium DISTVERSIONPREFIX= courgette-redacted- -DISTVERSION= 28.0.1500.95 +DISTVERSION= 29.0.1547.57 CATEGORIES= www MASTER_SITES= http://download.goodking.org/downloads/ \ ftp://rene-ladan.nl/pub/distfiles/ \ @@ -17,12 +17,11 @@ COMMENT= Mostly BSD-licensed web browser LICENSE= BSD LGPL21 MPL LICENSE_COMB= multi -CFLAGS+= -Wno-error -fno-stack-protector - BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ bash:${PORTSDIR}/shells/bash \ yasm:${PORTSDIR}/devel/yasm \ flock:${PORTSDIR}/sysutils/flock \ + ninja:${PORTSDIR}/devel/ninja \ v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo \ @@ -43,7 +42,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/l ONLY_FOR_ARCHS= i386 amd64 USE_XZ= yes -USES= bison gmake desktop-file-utils pkgconfig +USES= bison desktop-file-utils pkgconfig USE_PERL5_BUILD= yes USE_PYTHON_BUILD= 2.6-2.7 USE_XORG= scrnsaverproto x11 xproto xscrnsaver xtst @@ -70,6 +69,7 @@ GYP_DEFINES+= use_cups=1 \ enable_webrtc=1 \ enable_openmax=1 \ enable_one_click_signin=1 \ + werror= \ no_gc_sections=1 \ os_ver=${OSVERSION} \ prefix_dir=${LOCALBASE} \ @@ -137,6 +137,7 @@ CC= clang CXX= clang++ .endif GYP_DEFINES+= clang=1 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang .else USE_GCC?= 4.6+ GYP_DEFINES+= gcc_version=${CXX:S/g++//} @@ -146,11 +147,20 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch- .if ${PORT_OPTIONS:MDEBUG} MAKE_ENV+= V=1 BUILDTYPE= Debug +GYP_DEFINES+= remove_webcore_debug_symbols=1 .else BUILDTYPE= Release GYP_DEFINES+= buildtype=Official .endif +CONFIGURE_ENV+= CC=${CC} \ + CXX=${CXX} \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + GYP_GENERATORS=ninja \ + GYP_DEFINES="${GYP_DEFINES}" MAKE_ENV+= BUILDTYPE=${BUILDTYPE} \ GPERF=${LOCALBASE}/bin/gperf @@ -173,9 +183,11 @@ post-patch: ${WRKSRC}/third_party/libvpx/libvpx.gyp \ ${WRKSRC}/crypto/crypto.gyp \ ${WRKSRC}/v8/tools/gyp/v8.gyp \ - ${WRKSRC}/v8/build/common.gypi + ${WRKSRC}/v8/build/common.gypi @${REINPLACE_CMD} -e "s|/usr/bin/gcc|${CC}|" \ ${WRKSRC}/third_party/WebKit/Source/core/core.gypi + @${REINPLACE_CMD} -e "s|'../courgette/courgette.gyp:courgette_lib',||" \ + ${WRKSRC}/chrome/chrome_tests_unit.gypi @${REINPLACE_CMD} -e "s|linux|freebsd|" \ ${WRKSRC}/tools/gyp/pylib/gyp/generator/make.py @${REINPLACE_CMD} -e "s|is_linux|(is_linux or is_bsd)|" \ @@ -191,9 +203,12 @@ post-patch: ${WRKSRC}/ui/base/strings/app_locale_settings_th.xtb do-configure: - cd ${WRKSRC} && CC="${CC}" CXX="${CXX}" \ - GYP_DEFINES="${GYP_DEFINES}" ${PYTHON_CMD} \ - ./build/gyp_chromium chrome/chrome.gyp --depth . + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ + ./build/gyp_chromium chrome/chrome.gyp --depth . + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ninja \ + ${_MAKE_JOBS} -C out/${BUILDTYPE} ${ALL_TARGET} do-install: @${MKDIR} ${DATADIR} Modified: branches/RELENG_9_2_0/www/chromium/distinfo ============================================================================== --- branches/RELENG_9_2_0/www/chromium/distinfo Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/distinfo Tue Aug 27 06:50:33 2013 (r325430) @@ -1,2 +1,2 @@ -SHA256 (chromium-courgette-redacted-28.0.1500.95.tar.xz) = e782b523b92e12bec2024b593ec826c2ff476c77545a716963e914672e9e92fb -SIZE (chromium-courgette-redacted-28.0.1500.95.tar.xz) = 157216824 +SHA256 (chromium-courgette-redacted-29.0.1547.57.tar.xz) = 2a6f136248ae5c36df56a8516d9108e586101e600d21390bd65ae9350b1415c2 +SIZE (chromium-courgette-redacted-29.0.1547.57.tar.xz) = 173670128 Copied: branches/RELENG_9_2_0/www/chromium/files/extra-patch-clang (from r325283, head/www/chromium/files/extra-patch-clang) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/extra-patch-clang Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/extra-patch-clang) @@ -0,0 +1,170 @@ +--- base/allocator/allocator_extension.cc 2013-07-03 23:39:54.000000000 -0400 ++++ base/allocator/allocator_extension.cc 2013-07-19 00:39:26.000000000 -0400 +@@ -35,20 +35,20 @@ + void SetGetAllocatorWasteSizeFunction( + thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function) { + DCHECK_EQ(thunks::GetGetAllocatorWasteSizeFunction(), +- reinterpret_cast(NULL)); ++ static_cast(0)); + thunks::SetGetAllocatorWasteSizeFunction(get_allocator_waste_size_function); + } + + void SetGetStatsFunction(thunks::GetStatsFunction get_stats_function) { + DCHECK_EQ(thunks::GetGetStatsFunction(), +- reinterpret_cast(NULL)); ++ static_cast(0)); + thunks::SetGetStatsFunction(get_stats_function); + } + + void SetReleaseFreeMemoryFunction( + thunks::ReleaseFreeMemoryFunction release_free_memory_function) { + DCHECK_EQ(thunks::GetReleaseFreeMemoryFunction(), +- reinterpret_cast(NULL)); ++ static_cast(0)); + thunks::SetReleaseFreeMemoryFunction(release_free_memory_function); + } + +--- base/profiler/alternate_timer.cc 2013-07-03 23:39:54.000000000 -0400 ++++ base/profiler/alternate_timer.cc 2013-07-19 00:41:06.000000000 -0400 +@@ -21,7 +21,7 @@ + // Set an alternate timer function to replace the OS time function when + // profiling. + void SetAlternateTimeSource(NowFunction* now_function, TimeSourceType type) { +- DCHECK_EQ(reinterpret_cast(NULL), g_time_function); ++ DCHECK_EQ(static_cast(0), g_time_function); + g_time_function = now_function; + g_time_source_type = type; + } +--- base/tracked_objects.cc 2013-07-03 23:39:54.000000000 -0400 ++++ base/tracked_objects.cc 2013-07-19 00:42:10.000000000 -0400 +@@ -346,7 +346,7 @@ + } + // We must NOT do any allocations during this callback. + // Using the simple linked lists avoids all allocations. +- DCHECK_EQ(this->next_retired_worker_, reinterpret_cast(NULL)); ++ DCHECK_EQ(this->next_retired_worker_, static_cast(0)); + this->next_retired_worker_ = first_retired_worker_; + first_retired_worker_ = this; + } +--- chrome/browser/metrics/thread_watcher.cc 2013-07-03 23:45:55.000000000 -0400 ++++ chrome/browser/metrics/thread_watcher.cc 2013-07-19 01:38:45.000000000 -0400 +@@ -40,7 +40,7 @@ + MSVC_PUSH_DISABLE_WARNING(4748) + + int* NullPointer() { +- return reinterpret_cast(NULL); ++ return static_cast(0); + } + + void NullPointerCrash(int line_number) { +--- chrome/browser/sync/glue/synced_session_tracker.cc 2013-07-03 23:46:07.000000000 -0400 ++++ chrome/browser/sync/glue/synced_session_tracker.cc 2013-07-19 01:50:13.000000000 -0400 +@@ -232,7 +232,7 @@ + } + DCHECK(window_ptr); + DCHECK_EQ(window_ptr->window_id.id(), window_id); +- DCHECK_EQ(reinterpret_cast(NULL), ++ DCHECK_EQ(static_cast(0), + GetSession(session_tag)->windows[window_id]); + GetSession(session_tag)->windows[window_id] = window_ptr; + } +--- third_party/WebKit/Source/wtf/TypeTraits.h 2013-07-04 00:14:12.000000000 -0400 ++++ third_party/WebKit/Source/wtf/TypeTraits.h 2013-07-19 01:29:01.000000000 -0400 +@@ -24,7 +24,7 @@ + + #include + +-#if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600)) ++#if !COMPILER(CLANG) && ((defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600))) + #include + #if defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMENTAL_CXX0X__) + #include +--- third_party/hunspell/src/hunspell/affentry.hxx 2013-07-03 23:52:32.000000000 -0400 ++++ third_party/hunspell/src/hunspell/affentry.hxx 2013-07-19 01:31:57.000000000 -0400 +@@ -27,7 +27,7 @@ + struct hentry * checkword(const char * word, int len, char in_compound, + const FLAG needflag = FLAG_NULL); + +- struct hentry * check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = NULL); ++ struct hentry * check_twosfx(const char * word, int len, char in_compound, const FLAG needflag = 0); + + char * check_morph(const char * word, int len, char in_compound, + const FLAG needflag = FLAG_NULL); +@@ -90,7 +90,7 @@ + // const FLAG cclass = FLAG_NULL, const FLAG needflag = FLAG_NULL, char in_compound=IN_CPD_NOT); + const FLAG cclass = FLAG_NULL, const FLAG needflag = FLAG_NULL, const FLAG badflag = 0); + +- struct hentry * check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = NULL); ++ struct hentry * check_twosfx(const char * word, int len, int optflags, PfxEntry* ppfx, const FLAG needflag = 0); + + char * check_twosfx_morph(const char * word, int len, int optflags, + PfxEntry* ppfx, const FLAG needflag = FLAG_NULL); +--- third_party/libjingle/source/talk/base/taskrunner.cc 2013-07-03 23:54:05.000000000 -0400 ++++ third_party/libjingle/source/talk/base/taskrunner.cc 2013-07-19 00:46:25.000000000 -0400 +@@ -119,7 +119,7 @@ + std::vector::iterator it; + it = std::remove(tasks_.begin(), + tasks_.end(), +- reinterpret_cast(NULL)); ++ static_cast(0)); + + tasks_.erase(it, tasks_.end()); + +--- third_party/sfntly/cpp/src/sfntly/table/core/cmap_table.cc 2013-07-03 23:54:15.000000000 -0400 ++++ third_party/sfntly/cpp/src/sfntly/table/core/cmap_table.cc 2013-07-19 00:44:09.000000000 -0400 +@@ -439,7 +439,7 @@ + } + + CMapTable::CMapFormat0::Builder::Builder(const CMapId& cmap_id) +- : CMap::Builder(reinterpret_cast(NULL), ++ : CMap::Builder(static_cast(0), + CMapFormat::kFormat0, + cmap_id) { + } +@@ -563,7 +563,7 @@ + : CMapTable::CMap::Builder(data ? down_cast( + data->Slice(offset, data->ReadUShort( + offset + Offset::kFormat0Length))) +- : reinterpret_cast(NULL), ++ : static_cast(0), + CMapFormat::kFormat2, cmap_id) { + // TODO(arthurhsu): FIXIT: heavy lifting and leak, need fix. + } +@@ -574,7 +574,7 @@ + : CMapTable::CMap::Builder(data ? down_cast( + data->Slice(offset, data->ReadUShort( + offset + Offset::kFormat0Length))) +- : reinterpret_cast(NULL), ++ : static_cast(0), + CMapFormat::kFormat2, cmap_id) { + // TODO(arthurhsu): FIXIT: heavy lifting and leak, need fix. + } +@@ -958,7 +958,7 @@ + CMapTable::CMapFormat4::Builder::Builder(SegmentList* segments, + IntegerList* glyph_id_array, + const CMapId& cmap_id) +- : CMap::Builder(reinterpret_cast(NULL), ++ : CMap::Builder(static_cast(0), + CMapFormat::kFormat4, cmap_id), + segments_(segments->begin(), segments->end()), + glyph_id_array_(glyph_id_array->begin(), glyph_id_array->end()) { +@@ -966,7 +966,7 @@ + } + + CMapTable::CMapFormat4::Builder::Builder(const CMapId& cmap_id) +- : CMap::Builder(reinterpret_cast(NULL), ++ : CMap::Builder(static_cast(0), + CMapFormat::kFormat4, cmap_id) { + } + +--- v8/src/stub-cache.cc 2013-07-03 23:56:49.000000000 -0400 ++++ v8/src/stub-cache.cc 2013-07-19 00:35:10.000000000 -0400 +@@ -1476,7 +1476,7 @@ + Handle name) { + return (FLAG_print_code_stubs && !name.is_null() && name->IsString()) + ? GetCodeWithFlags(flags, *Handle::cast(name)->ToCString()) +- : GetCodeWithFlags(flags, reinterpret_cast(NULL)); ++ : GetCodeWithFlags(flags, static_cast(0)); + } + + Copied: branches/RELENG_9_2_0/www/chromium/files/patch-base__base.gypi (from r325283, head/www/chromium/files/patch-base__base.gypi) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-base__base.gypi Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-base__base.gypi) @@ -0,0 +1,11 @@ +--- base/base.gypi.orig 2013-08-09 22:05:55.000000000 +0300 ++++ base/base.gypi 2013-08-17 20:58:50.000000000 +0300 +@@ -838,6 +838,8 @@ + ['exclude', '^process_linux\\.cc$'], + ['exclude', '^process_util_linux\\.cc$'], + ['exclude', '^sys_info_linux\\.cc$'], ++ ['exclude', '^process/process_iterator_linux\\.cc$'], ++ ['exclude', '^process/process_metrics_linux\\.cc$'], + ], + }], + ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { Copied: branches/RELENG_9_2_0/www/chromium/files/patch-base__posix__unix_domain_socket_linux_unittest.cc (from r325283, head/www/chromium/files/patch-base__posix__unix_domain_socket_linux_unittest.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-base__posix__unix_domain_socket_linux_unittest.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-base__posix__unix_domain_socket_linux_unittest.cc) @@ -0,0 +1,12 @@ +--- base/posix/unix_domain_socket_linux_unittest.cc.orig 2013-08-19 23:12:24.000000000 +0300 ++++ base/posix/unix_domain_socket_linux_unittest.cc 2013-08-19 23:16:20.000000000 +0300 +@@ -4,6 +4,9 @@ + + #include + #include ++#if defined(OS_BSD) ++#include ++#endif + #include + + #include "base/bind.h" Copied: branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_iterator.h (from r325283, head/www/chromium/files/patch-base__process__process_iterator.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_iterator.h Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-base__process__process_iterator.h) @@ -0,0 +1,14 @@ +--- base/process/process_iterator.h.orig 2013-08-16 22:08:02.000000000 +0300 ++++ base/process/process_iterator.h 2013-08-16 22:08:08.000000000 +0300 +@@ -21,6 +21,11 @@ + #include + #include + #elif defined(OS_MACOSX) || defined(OS_BSD) ++#if defined(OS_BSD) ++#include ++#include ++#include ++#endif + #include + #elif defined(OS_POSIX) + #include Copied: branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_metrics.h (from r325283, head/www/chromium/files/patch-base__process__process_metrics.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_metrics.h Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-base__process__process_metrics.h) @@ -0,0 +1,16 @@ +--- base/process/process_metrics.h.orig 2013-08-16 22:01:16.000000000 +0300 ++++ base/process/process_metrics.h 2013-08-16 22:04:12.000000000 +0300 +@@ -15,6 +15,13 @@ + #include "base/process.h" + #include "base/time.h" + ++#if defined(OS_BSD) ++#include ++#include ++#include ++#include ++#endif ++ + #if defined(OS_MACOSX) + #include + #endif Copied: branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_metrics_freebsd.cc (from r325283, head/www/chromium/files/patch-base__process__process_metrics_freebsd.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-base__process__process_metrics_freebsd.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-base__process__process_metrics_freebsd.cc) @@ -0,0 +1,11 @@ +--- base/process/process_metrics_freebsd.cc.orig 2013-08-17 19:21:48.000000000 +0300 ++++ base/process/process_metrics_freebsd.cc 2013-08-17 19:22:18.000000000 +0300 +@@ -4,6 +4,8 @@ + + #include "base/process/process_metrics.h" + ++#include "base/sys_info.h" ++ + namespace base { + + ProcessMetrics::ProcessMetrics(ProcessHandle process) Modified: branches/RELENG_9_2_0/www/chromium/files/patch-base__process_util_freebsd.cc ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-base__process_util_freebsd.cc Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-base__process_util_freebsd.cc Tue Aug 27 06:50:33 2013 (r325430) @@ -1,11 +1,11 @@ ---- base/process_util_freebsd.cc.orig 2013-03-06 22:18:54.000000000 +0200 -+++ base/process_util_freebsd.cc 2013-03-06 22:19:07.000000000 +0200 -@@ -19,7 +19,7 @@ +--- base/process_util_freebsd.cc.orig 2013-08-16 22:09:53.000000000 +0300 ++++ base/process_util_freebsd.cc 2013-08-16 22:10:18.000000000 +0300 +@@ -18,7 +18,7 @@ + #include - #include "base/file_util.h" #include "base/logging.h" -#include "base/string_tokenizer.h" +#include "base/strings/string_tokenizer.h" - #include "base/string_util.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_split.h" + #include "base/strings/string_util.h" Copied: branches/RELENG_9_2_0/www/chromium/files/patch-base__threading__platform_thread_linux.cc (from r325283, head/www/chromium/files/patch-base__threading__platform_thread_linux.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-base__threading__platform_thread_linux.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-base__threading__platform_thread_linux.cc) @@ -0,0 +1,21 @@ +--- base/threading/platform_thread_linux.cc.orig 2013-08-17 20:52:20.000000000 +0300 ++++ base/threading/platform_thread_linux.cc 2013-08-17 20:56:34.000000000 +0300 +@@ -16,7 +16,9 @@ + #include "base/tracked_objects.h" + + #if !defined(OS_NACL) ++#if !defined(OS_BSD) + #include ++#endif + #include + #include + #include +@@ -52,7 +54,7 @@ + ThreadIdNameManager::GetInstance()->SetName(CurrentId(), name); + tracked_objects::ThreadData::InitializeThreadContext(name); + +-#ifndef OS_NACL ++#if !defined(OS_NACL) && !defined(OS_BSD) + // On linux we can get the thread names to show up in the debugger by setting + // the process name for the LWP. We don't want to do this for the main + // thread because that would rename the process, causing tools like killall Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__media__webrtc_log_uploader.cc (from r325283, head/www/chromium/files/patch-chrome__browser__media__webrtc_log_uploader.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__media__webrtc_log_uploader.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__browser__media__webrtc_log_uploader.cc) @@ -0,0 +1,11 @@ +--- chrome/browser/media/webrtc_log_uploader.cc.orig 2013-08-17 21:10:06.000000000 +0300 ++++ chrome/browser/media/webrtc_log_uploader.cc 2013-08-17 21:10:45.000000000 +0300 +@@ -102,6 +102,8 @@ + const char product[] = "Chrome_Android"; + #elif defined(OS_CHROMEOS) + const char product[] = "Chrome_ChromeOS"; ++#elif defined(OS_FREEBSD) ++ const char product[] = "Chrome_FreeBSD"; + #else + // This file should not be compiled for other platforms. + COMPILE_ASSERT(false); Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__media_galleries__scoped_mtp_device_map_entry.cc (from r325283, head/www/chromium/files/patch-chrome__browser__media_galleries__scoped_mtp_device_map_entry.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__media_galleries__scoped_mtp_device_map_entry.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__browser__media_galleries__scoped_mtp_device_map_entry.cc) @@ -0,0 +1,18 @@ +--- chrome/browser/media_galleries/scoped_mtp_device_map_entry.cc.orig 2013-08-17 22:11:30.000000000 +0300 ++++ chrome/browser/media_galleries/scoped_mtp_device_map_entry.cc 2013-08-17 22:12:55.000000000 +0300 +@@ -56,6 +56,7 @@ + } + + void ScopedMTPDeviceMapEntry::Init() { ++#if !defined(OS_BSD) + CreateMTPDeviceAsyncDelegateCallback callback = + base::Bind(&ScopedMTPDeviceMapEntry::OnMTPDeviceAsyncDelegateCreated, + this); +@@ -65,6 +66,7 @@ + base::Bind(&CreateMTPDeviceAsyncDelegate, + device_location_, + callback)); ++#endif + } + + ScopedMTPDeviceMapEntry::~ScopedMTPDeviceMapEntry() { Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__storage_monitor__storage_monitor.cc (from r325283, head/www/chromium/files/patch-chrome__browser__storage_monitor__storage_monitor.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__storage_monitor__storage_monitor.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__browser__storage_monitor__storage_monitor.cc) @@ -0,0 +1,18 @@ +--- chrome/browser/storage_monitor/storage_monitor.cc.orig 2013-08-23 15:58:31.000000000 +0300 ++++ chrome/browser/storage_monitor/storage_monitor.cc 2013-08-23 15:59:02.000000000 +0300 +@@ -63,6 +63,7 @@ + + void StorageMonitor::EnsureInitialized(base::Closure callback) { + DCHECK(thread_checker_.CalledOnValidThread()); ++#if !defined(OS_BSD) + if (initialized_) { + if (!callback.is_null()) + callback.Run(); +@@ -78,6 +79,7 @@ + + initializing_ = true; + Init(); ++#endif + } + + bool StorageMonitor::IsInitialized() { Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.cc (from r325283, head/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.cc) @@ -0,0 +1,38 @@ +--- chrome/browser/ui/webui/options/browser_options_handler.cc.orig 2013-08-23 16:36:11.000000000 +0300 ++++ chrome/browser/ui/webui/options/browser_options_handler.cc 2013-08-23 16:38:28.000000000 +0300 +@@ -337,7 +337,7 @@ + { "toolbarShowHomeButton", IDS_OPTIONS_TOOLBAR_SHOW_HOME_BUTTON }, + { "translateEnableTranslate", + IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE }, +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + { "showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS }, + { "themesNativeButton", IDS_THEMES_GTK_BUTTON }, + { "themesSetClassic", IDS_THEMES_SET_CLASSIC }, +@@ -583,7 +583,7 @@ + "themesReset", + base::Bind(&BrowserOptionsHandler::ThemesReset, + base::Unretained(this))); +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + web_ui()->RegisterMessageCallback( + "themesSetNative", + base::Bind(&BrowserOptionsHandler::ThemesSetNative, +@@ -1327,7 +1327,7 @@ + ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); + bool is_native_theme = false; + +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + is_native_theme = theme_service->UsingNativeTheme(); + base::FundamentalValue native_theme_enabled(!is_native_theme && + !profile_is_managed); +@@ -1350,7 +1350,7 @@ + ThemeServiceFactory::GetForProfile(profile)->UseDefaultTheme(); + } + +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + void BrowserOptionsHandler::ThemesSetNative(const ListValue* args) { + content::RecordAction(UserMetricsAction("Options_GtkThemeSet")); + Profile* profile = Profile::FromWebUI(web_ui()); Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.h (from r325283, head/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.h Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__browser__ui__webui__options__browser_options_handler.h) @@ -0,0 +1,11 @@ +--- chrome/browser/ui/webui/options/browser_options_handler.h.orig 2013-08-23 16:36:30.000000000 +0300 ++++ chrome/browser/ui/webui/options/browser_options_handler.h 2013-08-23 16:54:38.000000000 +0300 +@@ -194,7 +194,7 @@ + + void ObserveThemeChanged(); + void ThemesReset(const base::ListValue* args); +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + void ThemesSetNative(const base::ListValue* args); + #endif + Modified: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__chrome_browser.gypi ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-chrome__chrome_browser.gypi Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__chrome_browser.gypi Tue Aug 27 06:50:33 2013 (r325430) @@ -1,7 +1,16 @@ ---- chrome/chrome_browser.gypi.orig 2013-07-04 06:39:58.000000000 +0300 -+++ chrome/chrome_browser.gypi 2013-07-15 18:45:11.000000000 +0300 -@@ -2470,7 +2470,7 @@ - '../device/device.gyp:device_media_transfer_protocol', +--- chrome/chrome_browser.gypi.orig 2013-08-09 22:06:42.000000000 +0300 ++++ chrome/chrome_browser.gypi 2013-08-17 22:05:42.000000000 +0300 +@@ -2456,7 +2456,7 @@ + 'xcode_settings': {'OTHER_LDFLAGS': ['-weak_framework CoreImage']}, + }, + }], +- ['OS=="mac" or OS=="win" or OS=="linux" or chromeos==1', { ++ ['OS=="mac" or OS=="win" or OS=="linux" or chromeos==1 or os_bsd==1', { + 'sources': [ + 'browser/media_galleries/fileapi/device_media_async_file_util.cc', + 'browser/media_galleries/fileapi/device_media_async_file_util.h', +@@ -2640,7 +2640,7 @@ + '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol', ], }], - ['OS=="linux" and chromeos==0', { @@ -9,7 +18,7 @@ 'dependencies': [ '../build/linux/system.gyp:libspeechd', ], -@@ -2803,6 +2803,25 @@ +@@ -2996,6 +2996,25 @@ ['exclude', '^browser/usb/'], ], }], Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__common__pref_names.cc (from r325283, head/www/chromium/files/patch-chrome__common__pref_names.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__common__pref_names.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__common__pref_names.cc) @@ -0,0 +1,11 @@ +--- chrome/common/pref_names.cc.orig 2013-08-17 21:26:00.000000000 +0300 ++++ chrome/common/pref_names.cc 2013-08-17 21:26:43.000000000 +0300 +@@ -955,7 +955,7 @@ + // Boolean controlling whether SafeSearch is mandatory for Google Web Searches. + const char kForceSafeSearch[] = "settings.force_safesearch"; + +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + // Linux specific preference on whether we should match the system theme. + const char kUsesSystemTheme[] = "extensions.theme.use_system"; + #endif Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__common__pref_names.h (from r325283, head/www/chromium/files/patch-chrome__common__pref_names.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__common__pref_names.h Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__common__pref_names.h) @@ -0,0 +1,11 @@ +--- chrome/common/pref_names.h.orig 2013-08-17 20:35:53.000000000 +0300 ++++ chrome/common/pref_names.h 2013-08-17 20:36:25.000000000 +0300 +@@ -341,7 +341,7 @@ + extern const char kForceSafeSearch[]; + extern const char kDeleteTimePeriod[]; + extern const char kLastClearBrowsingDataTime[]; +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) + extern const char kUsesSystemTheme[]; + #endif + extern const char kCurrentThemePackFilename[]; Copied: branches/RELENG_9_2_0/www/chromium/files/patch-chrome__test__perf__perf_test.cc (from r325283, head/www/chromium/files/patch-chrome__test__perf__perf_test.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-chrome__test__perf__perf_test.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-chrome__test__perf__perf_test.cc) @@ -0,0 +1,11 @@ +--- chrome/test/perf/perf_test.cc.orig 2013-08-19 21:01:58.000000000 +0300 ++++ chrome/test/perf/perf_test.cc 2013-08-19 21:03:16.000000000 +0300 +@@ -494,7 +494,7 @@ + AppendResult(output, "ws_final_t", "", "ws_f_t" + trace_name, + total_working_set_size, "bytes", + false /* not important */); +-#elif defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_ANDROID) ++#elif defined(OS_POSIX) && !defined(OS_NACL) + AppendResult(output, + "vm_size_final_b", + std::string(), Copied: branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__download__base_file.cc (from r325283, head/www/chromium/files/patch-content__browser__download__base_file.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__download__base_file.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-content__browser__download__base_file.cc) @@ -0,0 +1,12 @@ +--- content/browser/download/base_file.cc.orig 2013-08-18 21:43:48.000000000 +0300 ++++ content/browser/download/base_file.cc 2013-08-18 21:44:22.000000000 +0300 +@@ -212,7 +212,8 @@ + } + + // OS_WIN, OS_MACOSX and OS_LINUX have specialized implementations. +-#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) ++#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) && \ ++ !defined(OS_BSD) + DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() { + return DOWNLOAD_INTERRUPT_REASON_NONE; + } Copied: branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__download__base_file_linux.cc (from r325283, head/www/chromium/files/patch-content__browser__download__base_file_linux.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__download__base_file_linux.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-content__browser__download__base_file_linux.cc) @@ -0,0 +1,12 @@ +--- content/browser/download/base_file_linux.cc.orig 2013-08-21 09:50:31.000000000 +0300 ++++ content/browser/download/base_file_linux.cc 2013-08-21 09:51:22.000000000 +0300 +@@ -13,7 +13,9 @@ + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); + DCHECK(!detached_); + ++#if !defined(OS_BSD) + AddOriginMetadataToFile(full_path_, source_url_, referrer_url_); ++#endif + return DOWNLOAD_INTERRUPT_REASON_NONE; + } + Modified: branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__geolocation__wifi_data_provider_freebsd.cc ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__geolocation__wifi_data_provider_freebsd.cc Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-content__browser__geolocation__wifi_data_provider_freebsd.cc Tue Aug 27 06:50:33 2013 (r325430) @@ -1,5 +1,5 @@ ---- content/browser/geolocation/wifi_data_provider_freebsd.cc.orig 2012-12-27 23:17:38.000000000 +0100 -+++ content/browser/geolocation/wifi_data_provider_freebsd.cc 2012-12-28 12:28:16.000000000 +0100 +--- content/browser/geolocation/wifi_data_provider_freebsd.cc.orig 2013-08-17 18:48:06.000000000 +0300 ++++ content/browser/geolocation/wifi_data_provider_freebsd.cc 2013-08-17 20:22:02.000000000 +0300 @@ -0,0 +1,201 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be @@ -23,7 +23,7 @@ +#include +#include + -+#include "base/utf_string_conversions.h" ++#include "base/strings/utf_string_conversions.h" +#include "content/browser/geolocation/wifi_data_provider_common.h" + +namespace content { Modified: branches/RELENG_9_2_0/www/chromium/files/patch-content__content_common.gypi ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-content__content_common.gypi Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-content__content_common.gypi Tue Aug 27 06:50:33 2013 (r325430) @@ -1,6 +1,6 @@ ---- content/content_common.gypi.orig 2012-11-27 10:01:27.000000000 +0200 -+++ content/content_common.gypi 2012-12-10 22:16:37.000000000 +0200 -@@ -436,6 +436,14 @@ +--- content/content_common.gypi.orig 2013-08-09 22:07:06.000000000 +0300 ++++ content/content_common.gypi 2013-08-17 20:29:03.000000000 +0300 +@@ -391,6 +391,15 @@ 'content.gyp:common_aidl', ], }], @@ -8,6 +8,7 @@ + 'sources!': [ + 'common/sandbox_linux.cc', + 'common/sandbox_linux.h', ++ 'common/sandbox_init_linux.cc', + 'common/sandbox_seccomp_bpf_linux.cc', + 'common/sandbox_seccomp_bpf_linux.h', + ], Modified: branches/RELENG_9_2_0/www/chromium/files/patch-content__renderer__render_process_impl.cc ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-content__renderer__render_process_impl.cc Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-content__renderer__render_process_impl.cc Tue Aug 27 06:50:33 2013 (r325430) @@ -1,5 +1,5 @@ ---- content/renderer/render_process_impl.cc.orig 2012-12-20 10:01:28.000000000 +0200 -+++ content/renderer/render_process_impl.cc 2013-01-06 22:32:44.000000000 +0200 +--- content/renderer/render_process_impl.cc.orig 2013-08-09 19:07:03.000000000 +0000 ++++ content/renderer/render_process_impl.cc 2013-08-12 21:00:44.000000000 +0000 @@ -89,7 +89,7 @@ bool RenderProcessImpl::InProcessPlugins() { @@ -9,15 +9,6 @@ // Plugin processes require a UI message loop, and the Linux message loop // implementation only allows one UI loop per process. if (command_line.HasSwitch(switches::kInProcessPlugins)) -@@ -114,7 +114,7 @@ - - TransportDIB* RenderProcessImpl::CreateTransportDIB(size_t size) { - #if defined(OS_WIN) || defined(OS_LINUX) || \ -- defined(OS_OPENBSD) || defined(OS_ANDROID) -+ defined(OS_BSD) || defined(OS_ANDROID) - // Windows and Linux create transport DIBs inside the renderer - return TransportDIB::Create(size, transport_dib_next_sequence_number_++); - #elif defined(OS_MACOSX) @@ -152,7 +152,7 @@ int width = rect.width(); int height = rect.height(); Copied: branches/RELENG_9_2_0/www/chromium/files/patch-gpu__gpu_config.gypi (from r325283, head/www/chromium/files/patch-gpu__gpu_config.gypi) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-gpu__gpu_config.gypi Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-gpu__gpu_config.gypi) @@ -0,0 +1,11 @@ +--- gpu/gpu_config.gypi.orig 2013-08-12 20:57:26.000000000 +0000 ++++ gpu/gpu_config.gypi 2013-08-12 20:58:18.000000000 +0000 +@@ -67,7 +67,7 @@ + '../third_party/amd/amd_videocard_info_win.cc', + ], + }], +- ['OS=="linux" and use_x11==1', { ++ ['(OS=="linux" or os_bsd==1) and use_x11==1', { + 'dependencies': [ + '../build/linux/system.gyp:libpci', + '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl', Copied: branches/RELENG_9_2_0/www/chromium/files/patch-issue-17359002 (from r325283, head/www/chromium/files/patch-issue-17359002) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-issue-17359002 Tue Aug 27 06:50:33 2013 (r325430, copy of r325283, head/www/chromium/files/patch-issue-17359002) @@ -0,0 +1,35 @@ +Index: tools/gyp/pylib/gyp/generator/ninja.py +=================================================================== +--- tools/gyp/pylib/gyp/generator/ninja.py (revision 1690) ++++ tools/gyp/pylib/gyp/generator/ninja.py (working copy) +@@ -755,9 +755,16 @@ + self.WriteVariableList(ninja_file, 'pchprefix', [self.name]) + else: + cflags = config.get('cflags', []) +- cflags_c = config.get('cflags_c', []) +- cflags_cc = config.get('cflags_cc', []) + ++ # Respect environment variables related to build, but target-specific ++ # flags can still override them. ++ cflags_c = (os.environ.get('CPPFLAGS', '').split() + ++ os.environ.get('CFLAGS', '').split() + ++ config.get('cflags_c', [])) ++ cflags_cc = (os.environ.get('CPPFLAGS', '').split() + ++ os.environ.get('CXXFLAGS', '').split() + ++ config.get('cflags_cc', [])) ++ + defines = config.get('defines', []) + extra_defines + self.WriteVariableList(ninja_file, 'defines', + [Define(d, self.flavor) for d in defines]) +@@ -932,7 +939,10 @@ + if def_file: + implicit_deps.add(def_file) + else: +- ldflags = config.get('ldflags', []) ++ # Respect environment variables related to build, but target-specific ++ # flags can still override them. ++ ldflags = (os.environ.get('LDFLAGS', '').split() + ++ config.get('ldflags', [])) + if is_executable and len(solibs): + rpath = 'lib/' + if self.toolset != 'target': Copied: branches/RELENG_9_2_0/www/chromium/files/patch-net__dns__dns_session.cc (from r325402, head/www/chromium/files/patch-net__dns__dns_session.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/www/chromium/files/patch-net__dns__dns_session.cc Tue Aug 27 06:50:33 2013 (r325430, copy of r325402, head/www/chromium/files/patch-net__dns__dns_session.cc) @@ -0,0 +1,11 @@ +--- net/dns/dns_session.cc.orig 2013-08-19 01:54:01.000000000 +0200 ++++ net/dns/dns_session.cc 2013-08-26 12:42:02.000000000 +0200 +@@ -176,7 +176,7 @@ + base::TimeDelta current_error = rtt - estimate; + estimate += current_error / 8; // * alpha + base::TimeDelta abs_error = base::TimeDelta::FromInternalValue( +- std::abs(current_error.ToInternalValue())); ++ std::labs(current_error.ToInternalValue())); + deviation += (abs_error - deviation) / 4; // * delta + + // Histogram-based method. Modified: branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_config_service_linux.cc ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_config_service_linux.cc Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_config_service_linux.cc Tue Aug 27 06:50:33 2013 (r325430) @@ -1,6 +1,6 @@ ---- net/proxy/proxy_config_service_linux.cc.orig 2012-04-25 10:01:34.000000000 +0300 -+++ net/proxy/proxy_config_service_linux.cc 2012-04-29 21:37:33.000000000 +0300 -@@ -18,7 +18,13 @@ +--- net/proxy/proxy_config_service_linux.cc.orig 2013-08-22 10:48:23.000000000 +0300 ++++ net/proxy/proxy_config_service_linux.cc 2013-08-22 14:41:23.000000000 +0300 +@@ -12,7 +12,13 @@ #include #include #include @@ -14,37 +14,33 @@ #include #include -@@ -907,9 +913,10 @@ +@@ -845,9 +851,10 @@ public base::MessagePumpLibevent::Watcher { public: explicit SettingGetterImplKDE(base::Environment* env_var_getter) - : inotify_fd_(-1), notify_delegate_(NULL), indirect_manual_(false), - auto_no_pac_(false), reversed_bypass_list_(false), - env_var_getter_(env_var_getter), file_loop_(NULL) { -+ : config_fd_(-1), inotify_fd_(-1), notify_delegate_(NULL), -+ indirect_manual_(false), auto_no_pac_(false), ++ : inotify_fd_(-1), config_fd_(-1), notify_delegate_(NULL), ++ indirect_manual_(false), auto_no_pac_(false), + reversed_bypass_list_(false), env_var_getter_(env_var_getter), + file_loop_(NULL) { // This has to be called on the UI thread (http://crbug.com/69057). base::ThreadRestrictions::ScopedAllowIO allow_io; -@@ -972,9 +979,14 @@ - // task is left pending on the file loop after the loop was quit, +@@ -911,9 +918,10 @@ // and pending tasks may then be deleted without being run. // Here in the KDE version, we can safely close the file descriptor -- // anyway. (Not that it really matters; the process is exiting.) -+ // anyway. (Not that it really matters; the process is exiting.) -+ if(config_fd_ >= 0) { -+ close(config_fd_); -+ config_fd_ = -1; -+ } - if (inotify_fd_ >= 0) + // anyway. (Not that it really matters; the process is exiting.) +- if (inotify_fd_ >= 0) ++ if (inotify_fd_ >= 0 || config_fd_ >= 0) ShutDown(); -+ DCHECK(config_fd_ < 0); DCHECK(inotify_fd_ < 0); ++ DCHECK(config_fd_ < 0); } -@@ -983,18 +995,25 @@ + virtual bool Init(base::SingleThreadTaskRunner* glib_thread_task_runner, +@@ -921,11 +929,21 @@ // This has to be called on the UI thread (http://crbug.com/69057). base::ThreadRestrictions::ScopedAllowIO allow_io; DCHECK(inotify_fd_ < 0); @@ -54,15 +50,19 @@ inotify_fd_ = inotify_init(); +#endif if (inotify_fd_ < 0) { ++#if defined(OS_FREEBSD) ++ PLOG(ERROR) << "kqueue failed"; ++#else PLOG(ERROR) << "inotify_init failed"; ++#endif return false; } ++ +#if !defined(OS_FREEBSD) int flags = fcntl(inotify_fd_, F_GETFL); -+ // This call returns ENOTTY on FreeBSD. if (fcntl(inotify_fd_, F_SETFL, flags | O_NONBLOCK) < 0) { PLOG(ERROR) << "fcntl failed"; - close(inotify_fd_); +@@ -933,6 +951,7 @@ inotify_fd_ = -1; return false; } @@ -70,37 +70,49 @@ file_loop_ = file_loop; // The initial read is done on the current thread, not |file_loop_|, // since we will need to have it for SetUpAndFetchInitialConfig(). -@@ -1014,6 +1033,18 @@ - bool SetUpNotifications(ProxyConfigServiceLinux::Delegate* delegate) { +@@ -947,20 +966,38 @@ + close(inotify_fd_); + inotify_fd_ = -1; + } ++ if (config_fd_ >= 0) { ++ close(config_fd_); ++ config_fd_ = -1; ++ } + } + + virtual bool SetUpNotifications( + ProxyConfigServiceLinux::Delegate* delegate) OVERRIDE { DCHECK(inotify_fd_ >= 0); - DCHECK(MessageLoop::current() == file_loop_); ++ DCHECK(config_fd_ >= 0); + DCHECK(base::MessageLoop::current() == file_loop_); + // We can't just watch the kioslaverc file directly, since KDE will write + // a new copy of it and then rename it whenever settings are changed and + // inotify watches inodes (so we'll be watching the old deleted file after + // the first change, and it will never change again). So, we watch the + // directory instead. We then act only on changes to the kioslaverc entry. +#if defined(OS_FREEBSD) -+ config_fd_ = open(kde_config_dir_.value().c_str(), O_RDONLY); ++ config_fd_ = HANDLE_EINTR(open(kde_config_dir_.value().c_str(), O_RDONLY)); + + if (config_fd_ == -1) + return false; + + struct kevent ev; -+ EV_SET(&ev, config_fd_, EVFILT_VNODE, -+ (EV_ADD | EV_CLEAR), NOTE_WRITE, 0, NULL); ++ EV_SET(&ev, config_fd_, EVFILT_VNODE, EV_ADD | EV_CLEAR, NOTE_WRITE, ++ 0, NULL); + if (kevent(inotify_fd_, &ev, 1, NULL, 0, NULL) == -1) + return false; +#else - // We can't just watch the kioslaverc file directly, since KDE will write - // a new copy of it and then rename it whenever settings are changed and - // inotify watches inodes (so we'll be watching the old deleted file after -@@ -1022,6 +1053,7 @@ if (inotify_add_watch(inotify_fd_, kde_config_dir_.value().c_str(), IN_MODIFY | IN_MOVED_TO) < 0) return false; +#endif notify_delegate_ = delegate; - if (!file_loop_->WatchFileDescriptor(inotify_fd_, true, - MessageLoopForIO::WATCH_READ, &inotify_watcher_, this)) -@@ -1039,7 +1071,23 @@ - void OnFileCanReadWithoutBlocking(int fd) { + if (!file_loop_->WatchFileDescriptor(inotify_fd_, + true, +@@ -981,7 +1018,19 @@ + virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE { DCHECK_EQ(fd, inotify_fd_); - DCHECK(MessageLoop::current() == file_loop_); + DCHECK(base::MessageLoop::current() == file_loop_); +#if defined(OS_FREEBSD) + struct kevent ev; + int rv = kevent(inotify_fd_, NULL, 0, &ev, 1, NULL); @@ -109,36 +121,28 @@ + OnChangeNotification(); + } else { + LOG(ERROR) << "kevent() failure; no longer watching kioslaverc!"; -+ inotify_watcher_.StopWatchingFileDescriptor(); -+ close(config_fd_); -+ config_fd_ = -1; -+ close(inotify_fd_); -+ inotify_fd_ = -1; ++ ShutDown(); + } +#else OnChangeNotification(); +#endif } - void OnFileCanWriteWithoutBlocking(int fd) { + virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE { NOTREACHED(); -@@ -1317,10 +1365,14 @@ - // from the inotify file descriptor and starts up a debounce timer if - // an event for kioslaverc is seen. +@@ -1260,8 +1309,11 @@ void OnChangeNotification() { -+ DCHECK_GE(config_fd_, 0); DCHECK_GE(inotify_fd_, 0); -- DCHECK(MessageLoop::current() == file_loop_); + DCHECK(base::MessageLoop::current() == file_loop_); - char event_buf[(sizeof(inotify_event) + NAME_MAX + 1) * 4]; -+ DCHECK(MessageLoop::current() == file_loop_); bool kioslaverc_touched = false; -+ #if defined(OS_FREEBSD) -+ kioslaverc_touched = true; -+ #else ++#if defined(OS_BSD) ++ kioslaverc_touched = true; ++#else + char event_buf[(sizeof(inotify_event) + NAME_MAX + 1) * 4]; ssize_t r; while ((r = read(inotify_fd_, event_buf, sizeof(event_buf))) > 0) { // inotify returns variable-length structures, which is why we have -@@ -1357,6 +1409,7 @@ +@@ -1298,6 +1350,7 @@ inotify_fd_ = -1; } } @@ -146,11 +150,11 @@ if (kioslaverc_touched) { // We don't use Reset() because the timer may not yet be running. // (In that case Stop() is a no-op.) -@@ -1371,6 +1424,7 @@ - typedef std::map > strings_map_type; -+ int config_fd_; int inotify_fd_; ++ int config_fd_; base::MessagePumpLibevent::FileDescriptorWatcher inotify_watcher_; ProxyConfigServiceLinux::Delegate* notify_delegate_; + base::OneShotTimer debounce_timer_; Modified: branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_service.cc ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_service.cc Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-net__proxy__proxy_service.cc Tue Aug 27 06:50:33 2013 (r325430) @@ -1,15 +1,15 @@ ---- net/proxy/proxy_service.cc.orig 2012-05-30 10:01:26.000000000 +0300 -+++ net/proxy/proxy_service.cc 2012-06-05 22:28:13.000000000 +0300 -@@ -38,7 +38,7 @@ +--- net/proxy/proxy_service.cc.orig 2013-08-09 22:05:31.000000000 +0300 ++++ net/proxy/proxy_service.cc 2013-08-19 21:08:08.000000000 +0300 +@@ -39,7 +39,7 @@ #elif defined(OS_MACOSX) #include "net/proxy/proxy_config_service_mac.h" #include "net/proxy/proxy_resolver_mac.h" -#elif defined(OS_LINUX) && !defined(OS_CHROMEOS) -+#elif (defined(OS_LINUX) || defined(OS_FREEBSD)) && !defined(OS_CHROMEOS) ++#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_FREEBSD) #include "net/proxy/proxy_config_service_linux.h" - #endif - -@@ -1429,7 +1429,7 @@ + #elif defined(OS_ANDROID) + #include "net/proxy/proxy_config_service_android.h" +@@ -1347,7 +1347,7 @@ << "profile_io_data.cc::CreateProxyConfigService and this should " << "be used only for examples."; return new UnsetProxyConfigService; Modified: branches/RELENG_9_2_0/www/chromium/files/patch-remoting__remoting.gyp ============================================================================== --- branches/RELENG_9_2_0/www/chromium/files/patch-remoting__remoting.gyp Tue Aug 27 06:27:24 2013 (r325429) +++ branches/RELENG_9_2_0/www/chromium/files/patch-remoting__remoting.gyp Tue Aug 27 06:50:33 2013 (r325430) @@ -1,6 +1,6 @@ ---- remoting/remoting.gyp.orig 2013-04-30 10:22:16.000000000 +0300 -+++ remoting/remoting.gyp 2013-05-07 21:24:08.000000000 +0300 -@@ -56,7 +56,7 @@ +--- remoting/remoting.gyp.orig 2013-08-09 19:06:51.000000000 +0000 ++++ remoting/remoting.gyp 2013-08-12 21:21:56.000000000 +0000 +@@ -53,7 +53,7 @@ 'conditions': [ # Remoting host is supported only on Windows, OSX and Linux (with X11). @@ -9,12 +9,12 @@ 'enable_remoting_host': 1, }, { 'enable_remoting_host': 0, -@@ -479,7 +479,7 @@ - '*_gtk.cc', - ], - }], *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-ports-branches@FreeBSD.ORG Tue Aug 27 12:02:50 2013 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3E4E45FA; Tue, 27 Aug 2013 12:02:50 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C5162259; Tue, 27 Aug 2013 12:02:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7RC2nPT036477; Tue, 27 Aug 2013 12:02:49 GMT (envelope-from garga@svn.freebsd.org) Received: (from garga@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7RC2ngT036475; Tue, 27 Aug 2013 12:02:49 GMT (envelope-from garga@svn.freebsd.org) Message-Id: <201308271202.r7RC2ngT036475@svn.freebsd.org> From: Renato Botelho Date: Tue, 27 Aug 2013 12:02:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r325438 - in branches/RELENG_9_2_0: lang/php53/files security/php53-openssl X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 12:02:50 -0000 Author: garga Date: Tue Aug 27 12:02:49 2013 New Revision: 325438 URL: http://svnweb.freebsd.org/changeset/ports/325438 Log: MFH 325434: - Add a patch to fix CVE-2013-4073 - Bump php53-openssl PORTREVISION PR: ports/181546 Submitted by: garga@ Approved by: portmgr (erwin), flo@ (maintainer) Obtained from: http://git.php.net/?p=php-src.git;a=blobdiff;f=ext/openssl/openssl.c;h=c32748cb6443a4d8e4bb14fe96ad72e32ec8acff;hp=d7ac117e51c8f5d8ab0632c276af48d610b4b19e;hb=2874696a5a8d46639d261571f915c493cd875897;hpb=f4dc2240a048050a87a6e3e31573f13a2256cf2e Security: CVE-2013-4073 Added: branches/RELENG_9_2_0/lang/php53/files/patch-ext_openssl_openssl.c - copied unchanged from r325434, head/lang/php53/files/patch-ext_openssl_openssl.c Modified: branches/RELENG_9_2_0/security/php53-openssl/Makefile (contents, props changed) Directory Properties: branches/RELENG_9_2_0/ (props changed) Copied: branches/RELENG_9_2_0/lang/php53/files/patch-ext_openssl_openssl.c (from r325434, head/lang/php53/files/patch-ext_openssl_openssl.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/lang/php53/files/patch-ext_openssl_openssl.c Tue Aug 27 12:02:49 2013 (r325438, copy of r325434, head/lang/php53/files/patch-ext_openssl_openssl.c) @@ -0,0 +1,111 @@ +diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c +index d7ac117..c32748c 100644 +--- ext/openssl/openssl.c ++++ ext/openssl/openssl.c +@@ -1398,6 +1398,74 @@ PHP_FUNCTION(openssl_x509_check_private_key) + } + /* }}} */ + ++/* Special handling of subjectAltName, see CVE-2013-4073 ++ * Christian Heimes ++ */ ++ ++static int openssl_x509v3_subjectAltName(BIO *bio, X509_EXTENSION *extension) ++{ ++ GENERAL_NAMES *names; ++ const X509V3_EXT_METHOD *method = NULL; ++ long i, length, num; ++ const unsigned char *p; ++ ++ method = X509V3_EXT_get(extension); ++ if (method == NULL) { ++ return -1; ++ } ++ ++ p = extension->value->data; ++ length = extension->value->length; ++ if (method->it) { ++ names = (GENERAL_NAMES*)(ASN1_item_d2i(NULL, &p, length, ++ ASN1_ITEM_ptr(method->it))); ++ } else { ++ names = (GENERAL_NAMES*)(method->d2i(NULL, &p, length)); ++ } ++ if (names == NULL) { ++ return -1; ++ } ++ ++ num = sk_GENERAL_NAME_num(names); ++ for (i = 0; i < num; i++) { ++ GENERAL_NAME *name; ++ ASN1_STRING *as; ++ name = sk_GENERAL_NAME_value(names, i); ++ switch (name->type) { ++ case GEN_EMAIL: ++ BIO_puts(bio, "email:"); ++ as = name->d.rfc822Name; ++ BIO_write(bio, ASN1_STRING_data(as), ++ ASN1_STRING_length(as)); ++ break; ++ case GEN_DNS: ++ BIO_puts(bio, "DNS:"); ++ as = name->d.dNSName; ++ BIO_write(bio, ASN1_STRING_data(as), ++ ASN1_STRING_length(as)); ++ break; ++ case GEN_URI: ++ BIO_puts(bio, "URI:"); ++ as = name->d.uniformResourceIdentifier; ++ BIO_write(bio, ASN1_STRING_data(as), ++ ASN1_STRING_length(as)); ++ break; ++ default: ++ /* use builtin print for GEN_OTHERNAME, GEN_X400, ++ * GEN_EDIPARTY, GEN_DIRNAME, GEN_IPADD and GEN_RID ++ */ ++ GENERAL_NAME_print(bio, name); ++ } ++ /* trailing ', ' except for last element */ ++ if (i < (num - 1)) { ++ BIO_puts(bio, ", "); ++ } ++ } ++ sk_GENERAL_NAME_pop_free(names, GENERAL_NAME_free); ++ ++ return 0; ++} ++ + /* {{{ proto array openssl_x509_parse(mixed x509 [, bool shortnames=true]) + Returns an array of the fields/values of the CERT */ + PHP_FUNCTION(openssl_x509_parse) +@@ -1494,15 +1562,29 @@ PHP_FUNCTION(openssl_x509_parse) + + + for (i = 0; i < X509_get_ext_count(cert); i++) { ++ int nid; + extension = X509_get_ext(cert, i); +- if (OBJ_obj2nid(X509_EXTENSION_get_object(extension)) != NID_undef) { ++ nid = OBJ_obj2nid(X509_EXTENSION_get_object(extension)); ++ if (nid != NID_undef) { + extname = (char *)OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(extension))); + } else { + OBJ_obj2txt(buf, sizeof(buf)-1, X509_EXTENSION_get_object(extension), 1); + extname = buf; + } + bio_out = BIO_new(BIO_s_mem()); +- if (X509V3_EXT_print(bio_out, extension, 0, 0)) { ++ if (nid == NID_subject_alt_name) { ++ if (openssl_x509v3_subjectAltName(bio_out, extension) == 0) { ++ add_assoc_stringl(subitem, extname, bio_buf->data, bio_buf->length, 1); ++ } else { ++ zval_dtor(return_value); ++ if (certresource == -1 && cert) { ++ X509_free(cert); ++ } ++ BIO_free(bio_out); ++ RETURN_FALSE; ++ } ++ } ++ else if (X509V3_EXT_print(bio_out, extension, 0, 0)) { + BIO_get_mem_ptr(bio_out, &bio_buf); + add_assoc_stringl(subitem, extname, bio_buf->data, bio_buf->length, 1); + } else { Modified: branches/RELENG_9_2_0/security/php53-openssl/Makefile ============================================================================== --- branches/RELENG_9_2_0/security/php53-openssl/Makefile Tue Aug 27 11:39:42 2013 (r325437) +++ branches/RELENG_9_2_0/security/php53-openssl/Makefile Tue Aug 27 12:02:49 2013 (r325438) @@ -5,6 +5,8 @@ # $FreeBSD$ # +PORTREVISION= 1 + CATEGORIES= security MASTERDIR= ${.CURDIR}/../../lang/php53 From owner-svn-ports-branches@FreeBSD.ORG Tue Aug 27 16:03:58 2013 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 92DFACC3; Tue, 27 Aug 2013 16:03:58 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7EF072194; Tue, 27 Aug 2013 16:03:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7RG3vrk074377; Tue, 27 Aug 2013 16:03:57 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7RG3vCa074376; Tue, 27 Aug 2013 16:03:57 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201308271603.r7RG3vCa074376@svn.freebsd.org> From: Koop Mast Date: Tue, 27 Aug 2013 16:03:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r325463 - branches/RELENG_9_2_0/devel/gsettings-desktop-schemas X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 16:03:58 -0000 Author: kwm Date: Tue Aug 27 16:03:57 2013 New Revision: 325463 URL: http://svnweb.freebsd.org/changeset/ports/325463 Log: MFH 354451: Fix leftover directories warnings in ports that depend on gsettings-desktop-schemas. Approved by: portmgr (erwin) Modified: branches/RELENG_9_2_0/devel/gsettings-desktop-schemas/Makefile Directory Properties: branches/RELENG_9_2_0/ (props changed) Modified: branches/RELENG_9_2_0/devel/gsettings-desktop-schemas/Makefile ============================================================================== --- branches/RELENG_9_2_0/devel/gsettings-desktop-schemas/Makefile Tue Aug 27 15:40:42 2013 (r325462) +++ branches/RELENG_9_2_0/devel/gsettings-desktop-schemas/Makefile Tue Aug 27 16:03:57 2013 (r325463) @@ -4,6 +4,7 @@ PORTNAME= gsettings-desktop-schemas PORTVERSION= 3.6.1 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 @@ -18,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/etc/fonts/conf USE_XZ= yes USES= gettext gmake pathfix pkgconfig USE_PERL5_BUILD= yes -USE_GNOME= intltool glib20 introspection:build +USE_GNOME= intltool glib20 gnomehier introspection:build GNU_CONFIGURE= yes GLIB_SCHEMAS= org.gnome.desktop.a11y.applications.gschema.xml \ From owner-svn-ports-branches@FreeBSD.ORG Thu Aug 29 08:43:34 2013 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E4060C12; Thu, 29 Aug 2013 08:43:33 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF9462FBC; Thu, 29 Aug 2013 08:43:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7T8hXXj079776; Thu, 29 Aug 2013 08:43:33 GMT (envelope-from flo@svn.freebsd.org) Received: (from flo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7T8hWiM079770; Thu, 29 Aug 2013 08:43:32 GMT (envelope-from flo@svn.freebsd.org) Message-Id: <201308290843.r7T8hWiM079770@svn.freebsd.org> From: Florian Smeets Date: Thu, 29 Aug 2013 08:43:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r325573 - in branches/RELENG_9_2_0/net: asterisk asterisk10 asterisk11 X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 08:43:34 -0000 Author: flo Date: Thu Aug 29 08:43:32 2013 New Revision: 325573 URL: http://svnweb.freebsd.org/changeset/ports/325573 Log: MFH: r325551 Log: Update net/asterisk to 1.8.23.1 Update net/asterisk10 to 10.12.3 Update net/asterisk11 to 11.5.1 Security: fd2bf3b5-1001-11e3-ba94-0025905a4771 Approved by: portmgr (erwin) Modified: branches/RELENG_9_2_0/net/asterisk/Makefile branches/RELENG_9_2_0/net/asterisk/distinfo branches/RELENG_9_2_0/net/asterisk10/Makefile branches/RELENG_9_2_0/net/asterisk10/distinfo branches/RELENG_9_2_0/net/asterisk11/Makefile branches/RELENG_9_2_0/net/asterisk11/distinfo Directory Properties: branches/RELENG_9_2_0/ (props changed) Modified: branches/RELENG_9_2_0/net/asterisk/Makefile ============================================================================== --- branches/RELENG_9_2_0/net/asterisk/Makefile Thu Aug 29 08:10:09 2013 (r325572) +++ branches/RELENG_9_2_0/net/asterisk/Makefile Thu Aug 29 08:43:32 2013 (r325573) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= asterisk -PORTVERSION= 1.8.23.0 +PORTVERSION= 1.8.23.1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ Modified: branches/RELENG_9_2_0/net/asterisk/distinfo ============================================================================== --- branches/RELENG_9_2_0/net/asterisk/distinfo Thu Aug 29 08:10:09 2013 (r325572) +++ branches/RELENG_9_2_0/net/asterisk/distinfo Thu Aug 29 08:43:32 2013 (r325573) @@ -1,2 +1,2 @@ -SHA256 (asterisk-1.8.23.0.tar.gz) = 158af2d38f1a94645f47a12ee4edeeac952d5134d1b9c9f427c5b3eadac1dc76 -SIZE (asterisk-1.8.23.0.tar.gz) = 25278124 +SHA256 (asterisk-1.8.23.1.tar.gz) = 22c7d54be24de0560ecca482674b85dbfac359faa63702084353074f40dc16a7 +SIZE (asterisk-1.8.23.1.tar.gz) = 25270506 Modified: branches/RELENG_9_2_0/net/asterisk10/Makefile ============================================================================== --- branches/RELENG_9_2_0/net/asterisk10/Makefile Thu Aug 29 08:10:09 2013 (r325572) +++ branches/RELENG_9_2_0/net/asterisk10/Makefile Thu Aug 29 08:43:32 2013 (r325573) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= asterisk -PORTVERSION= 10.12.2 -PORTREVISION= 2 +PORTVERSION= 10.12.3 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ Modified: branches/RELENG_9_2_0/net/asterisk10/distinfo ============================================================================== --- branches/RELENG_9_2_0/net/asterisk10/distinfo Thu Aug 29 08:10:09 2013 (r325572) +++ branches/RELENG_9_2_0/net/asterisk10/distinfo Thu Aug 29 08:43:32 2013 (r325573) @@ -1,2 +1,2 @@ -SHA256 (asterisk-10.12.2.tar.gz) = fc892e986ba281e6aa193e3edbf515875407a76599e0da52883de8e386793288 -SIZE (asterisk-10.12.2.tar.gz) = 25117561 +SHA256 (asterisk-10.12.3.tar.gz) = f4efd185c5e8d0e6b2e246e4afde8d2420da642e288fbc237bd90b1ab0d24757 +SIZE (asterisk-10.12.3.tar.gz) = 25119235 Modified: branches/RELENG_9_2_0/net/asterisk11/Makefile ============================================================================== --- branches/RELENG_9_2_0/net/asterisk11/Makefile Thu Aug 29 08:10:09 2013 (r325572) +++ branches/RELENG_9_2_0/net/asterisk11/Makefile Thu Aug 29 08:43:32 2013 (r325573) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= asterisk -PORTVERSION= 11.5.0 -PORTREVISION= 1 +PORTVERSION= 11.5.1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ Modified: branches/RELENG_9_2_0/net/asterisk11/distinfo ============================================================================== --- branches/RELENG_9_2_0/net/asterisk11/distinfo Thu Aug 29 08:10:09 2013 (r325572) +++ branches/RELENG_9_2_0/net/asterisk11/distinfo Thu Aug 29 08:43:32 2013 (r325573) @@ -1,2 +1,2 @@ -SHA256 (asterisk-11.5.0.tar.gz) = a82c1ddd9fb1d98f0dab6e0255a127fb7c7eaa687b3d515182458244062b4194 -SIZE (asterisk-11.5.0.tar.gz) = 30590657 +SHA256 (asterisk-11.5.1.tar.gz) = fefa9def9c8f97c89931f12b29b3ac616ae1a8454c01c524678163061dcb42b2 +SIZE (asterisk-11.5.1.tar.gz) = 30580447 From owner-svn-ports-branches@FreeBSD.ORG Thu Aug 29 18:24:35 2013 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C96B66D0; Thu, 29 Aug 2013 18:24:35 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B61852EAF; Thu, 29 Aug 2013 18:24:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7TIOZSs006220; Thu, 29 Aug 2013 18:24:35 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7TIOZKo006218; Thu, 29 Aug 2013 18:24:35 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201308291824.r7TIOZKo006218@svn.freebsd.org> From: Koop Mast Date: Thu, 29 Aug 2013 18:24:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r325623 - in branches/RELENG_9_2_0/graphics/dia: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 18:24:36 -0000 Author: kwm Date: Thu Aug 29 18:24:35 2013 New Revision: 325623 URL: http://svnweb.freebsd.org/changeset/ports/325623 Log: MFH: 325617 Fix dia runtime after glib 2.36 update. Makefile cleanups. Approved by: portmgr (erwin) Added: branches/RELENG_9_2_0/graphics/dia/files/patch-app_render-gdk.c - copied unchanged from r325617, head/graphics/dia/files/patch-app_render-gdk.c Modified: branches/RELENG_9_2_0/graphics/dia/Makefile Directory Properties: branches/RELENG_9_2_0/ (props changed) Modified: branches/RELENG_9_2_0/graphics/dia/Makefile ============================================================================== --- branches/RELENG_9_2_0/graphics/dia/Makefile Thu Aug 29 18:16:46 2013 (r325622) +++ branches/RELENG_9_2_0/graphics/dia/Makefile Thu Aug 29 18:24:35 2013 (r325623) @@ -4,7 +4,7 @@ PORTNAME= dia DISTVERSION= 0.97.2 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME @@ -13,18 +13,17 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Diagram creation program, similar to Visio -LIB_DEPENDS= popt:${PORTSDIR}/devel/popt \ - png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \ + libpng15.so:${PORTSDIR}/graphics/png -USES= pathfix desktop-file-utils gettext +USES= desktop-file-utils gettext gmake pathfix USE_XZ= yes -USE_GMAKE= yes USE_GNOME= gtk20 gnomeprefix libxslt libartlgpl2 intlhack INSTALLS_ICONS= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lintl" \ - LOCALBASE="${LOCALBASE}" +CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-gnome .include @@ -47,7 +46,7 @@ MANLANG= "" fr .include .if ${ARCH} == "i386" -LIB_DEPENDS+= EMF:${PORTSDIR}/graphics/libemf +LIB_DEPENDS+= libEMF.so:${PORTSDIR}/graphics/libemf CONFIGURE_ARGS+= --enable-libemf PLIST_SUB+= WMF="" .else Copied: branches/RELENG_9_2_0/graphics/dia/files/patch-app_render-gdk.c (from r325617, head/graphics/dia/files/patch-app_render-gdk.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/RELENG_9_2_0/graphics/dia/files/patch-app_render-gdk.c Thu Aug 29 18:24:35 2013 (r325623, copy of r325617, head/graphics/dia/files/patch-app_render-gdk.c) @@ -0,0 +1,101 @@ +From 7ac3e9ffac09f99a1aa2fe97a4dc0a688c9746b0 Mon Sep 17 00:00:00 2001 +From: Hans Breuer +Date: Sat, 16 Mar 2013 16:56:58 +0000 +Subject: Bug 694025 - GLib drop support for adding interfaces after class_init + +Without this Dia crashes at startup with new GLib version and the +DiaGdkRenderer being default. Make a new DiaGdkInteractiveRenderer which +follows the pattern also used for DiaCairoInteraciveRenderer. This should +be functional equivalent to what was there before and should work for all +current GLib versions. + +(cherry picked from commit 213bdfe956bf8fe57c86316f68a09408fef1647e) +--- +diff --git a/app/render_gdk.c b/app/render_gdk.c +index 60ccb7a..b1e7ba4 100644 +--- app/render_gdk.c ++++ app/render_gdk.c +@@ -50,7 +50,21 @@ static void copy_to_window (DiaRenderer *renderer, + gpointer window, + int x, int y, int width, int height); + +-static void dia_gdk_renderer_iface_init (DiaInteractiveRendererInterface* iface) ++typedef struct _DiaGdkInteractiveRenderer DiaGdkInteractiveRenderer; ++struct _DiaGdkInteractiveRenderer ++{ ++ DiaGdkRenderer parent_instance; /*!< inheritance in object oriented C */ ++}; ++typedef struct _DiaGdkInteractiveRendererClass DiaGdkInteractiveRendererClass; ++struct _DiaGdkInteractiveRendererClass ++{ ++ DiaGdkRendererClass parent_class; /*!< the base class */ ++}; ++#define DIA_TYPE_GDK_INTERACTIVE_RENDERER (dia_gdk_interactive_renderer_get_type ()) ++#define DIA_GDK_INTERACTIVE_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DIA_TYPE_GDK_INTERACTIVE_RENDERER, DiaGdkInteractiveRenderer)) ++ ++static void ++dia_gdk_renderer_iface_init (DiaInteractiveRendererInterface* iface) + { + iface->clip_region_clear = clip_region_clear; + iface->clip_region_add_rect = clip_region_add_rect; +@@ -61,35 +75,35 @@ static void dia_gdk_renderer_iface_init (DiaInteractiveRendererInterface* iface) + iface->set_size = set_size; + } + ++G_DEFINE_TYPE_WITH_CODE (DiaGdkInteractiveRenderer, dia_gdk_interactive_renderer, DIA_TYPE_GDK_RENDERER, ++ G_IMPLEMENT_INTERFACE (DIA_TYPE_INTERACTIVE_RENDERER_INTERFACE, dia_gdk_renderer_iface_init)); ++ ++static void ++dia_gdk_interactive_renderer_class_init(DiaGdkInteractiveRendererClass *klass) ++{ ++} ++static void ++dia_gdk_interactive_renderer_init(DiaGdkInteractiveRenderer *object) ++{ ++ DiaGdkInteractiveRenderer *ia_renderer = DIA_GDK_INTERACTIVE_RENDERER (object); ++ DiaGdkRenderer *renderer = DIA_GDK_RENDERER(object); ++ DiaRenderer *dia_renderer = DIA_RENDERER(object); ++ ++ dia_renderer->is_interactive = 1; ++ ++ renderer->gc = NULL; ++ renderer->pixmap = NULL; ++ renderer->clip_region = NULL; ++} ++ + DiaRenderer * + new_gdk_renderer(DDisplay *ddisp) + { + DiaGdkRenderer *renderer; + GType renderer_type = 0; + +- renderer = g_object_new (DIA_TYPE_GDK_RENDERER, NULL); ++ renderer = g_object_new (DIA_TYPE_GDK_INTERACTIVE_RENDERER, NULL); + renderer->transform = dia_transform_new (&ddisp->visible, &ddisp->zoom_factor); +- if (!DIA_GET_INTERACTIVE_RENDERER_INTERFACE (renderer)) +- { +- static const GInterfaceInfo irenderer_iface_info = +- { +- (GInterfaceInitFunc) dia_gdk_renderer_iface_init, +- NULL, /* iface_finalize */ +- NULL /* iface_data */ +- }; +- +- renderer_type = DIA_TYPE_GDK_RENDERER; +- /* register the interactive renderer interface */ +- g_type_add_interface_static (renderer_type, +- DIA_TYPE_INTERACTIVE_RENDERER_INTERFACE, +- &irenderer_iface_info); +- +- } +- renderer->parent_instance.is_interactive = 1; +- renderer->gc = NULL; +- +- renderer->pixmap = NULL; +- renderer->clip_region = NULL; + + return DIA_RENDERER(renderer); + } +-- +cgit v0.9.2 + From owner-svn-ports-branches@FreeBSD.ORG Sat Aug 31 15:08:12 2013 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02D28C25; Sat, 31 Aug 2013 15:08:12 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB78B2669; Sat, 31 Aug 2013 15:08:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7VF8Bgl036259; Sat, 31 Aug 2013 15:08:11 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7VF8Bhu036258; Sat, 31 Aug 2013 15:08:11 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201308311508.r7VF8Bhu036258@svn.freebsd.org> From: Raphael Kubo da Costa Date: Sat, 31 Aug 2013 15:08:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r325814 - branches/RELENG_9_2_0/misc/kde4-l10n/files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2013 15:08:12 -0000 Author: rakuco Date: Sat Aug 31 15:08:11 2013 New Revision: 325814 URL: http://svnweb.freebsd.org/changeset/ports/325814 Log: MFH r325482. Fix auto-detection of dictionaries for kde4-l10n ports. With the removal of '.include ' and '.include ' PORTSDIR is no longer defined. Since Ports is (almost) never based at the root system the checks will always fail to find a port. Fix this by using relative searches for the dictionary ports. Giving PORTSDIR a conditional assignment of /usr/ports was rejected due to lack of precedent. While here teach kde4-l10n about en_GB. Original commit by dbn. Approved by: portmgr (bapt) Modified: branches/RELENG_9_2_0/misc/kde4-l10n/files/bsd.l10n.mk Directory Properties: branches/RELENG_9_2_0/ (props changed) Modified: branches/RELENG_9_2_0/misc/kde4-l10n/files/bsd.l10n.mk ============================================================================== --- branches/RELENG_9_2_0/misc/kde4-l10n/files/bsd.l10n.mk Sat Aug 31 14:53:55 2013 (r325813) +++ branches/RELENG_9_2_0/misc/kde4-l10n/files/bsd.l10n.mk Sat Aug 31 15:08:11 2013 (r325814) @@ -27,6 +27,9 @@ ru_CATEGORY= russian uk_CATEGORY= ukrainian vi_CATEGORY= vietnamese +en_GB_aspell_PORT_PREFIX= en- +en_GB_hunspell_PORT_PREFIX= en- + ca@valencia_aspell_PORT_PREFIX= ca- ca@valencia_aspell_DETECT_PREFIX= ca- @@ -51,15 +54,15 @@ ${KDE4_L10N}_${i}_PORT_SUFFIX?= # ${KDE4_L10N}_${i}_PORT?= ${${KDE4_L10N}_CATEGORY}/${${KDE4_L10N}_${i}_PORT_PREFIX}${i}${${KDE4_L10N}_${i}_PORT_SUFFIX} .endfor -.if exists(${PORTSDIR}/${${KDE4_L10N}_aspell_PORT}/Makefile) +.if exists(${.CURDIR}/../../${${KDE4_L10N}_aspell_PORT}/Makefile) OPTIONS_DEFINE+= ASPELL ASPELL_DESC= Install aspell dictionary .endif -.if exists(${PORTSDIR}/${${KDE4_L10N}_hunspell_PORT}/Makefile) +.if exists(${.CURDIR}/../../${${KDE4_L10N}_hunspell_PORT}/Makefile) OPTIONS_DEFINE+= HUNSPELL HUNSPELL_DESC= Install hunspell dictionary .endif -ASPELL_RUN_DEPENDS+= ${${KDE4_L10N}_aspell_DETECT}:${PORTSDIR}/${${KDE4_L10N}_aspell_PORT} -HUNSPELL_RUN_DEPENDS+= ${${KDE4_L10N}_hunspell_DETECT}:${PORTSDIR}/${${KDE4_L10N}_hunspell_PORT} +ASPELL_RUN_DEPENDS+= ${${KDE4_L10N}_aspell_DETECT}:${.CURDIR}/../../${${KDE4_L10N}_aspell_PORT} +HUNSPELL_RUN_DEPENDS+= ${${KDE4_L10N}_hunspell_DETECT}:${.CURDIR}/../../${${KDE4_L10N}_hunspell_PORT}