mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
16 lines
760 B
C++
16 lines
760 B
C++
--- content/browser/download/save_package.cc.orig 2023-11-29 21:40:01 UTC
|
|
+++ content/browser/download/save_package.cc
|
|
@@ -767,8 +767,13 @@ void SavePackage::Finish() {
|
|
if (download_) {
|
|
std::vector<download::DownloadSaveItemData::ItemInfo> files;
|
|
for (auto& item : saved_success_items_) {
|
|
+#if defined(__clang__) && (__clang_major__ >= 16)
|
|
files.emplace_back(item.second->full_path(), item.second->url(),
|
|
item.second->referrer().url);
|
|
+#else
|
|
+ files.emplace_back(download::DownloadSaveItemData::ItemInfo{item.second->full_path(), item.second->url(),
|
|
+ item.second->referrer().url});
|
|
+#endif
|
|
}
|
|
download::DownloadSaveItemData::AttachItemData(download_, std::move(files));
|
|
}
|