[mock-rpmfusion-nonfree] v2 of add gpgcheck on updates-testing, debuginfo and branched repos
by Sérgio M. Basto
commit 263963749389af7cd3e559ade9e6e18e5067dde7
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Sep 13 05:29:10 2021 +0100
v2 of add gpgcheck on updates-testing, debuginfo and branched repos
commit 373c52a was incompleted
Also add buildsys-override repos on rawhide
.gitignore | 1 +
mock-rpmfusion-nonfree.spec | 9 +++++++--
sources | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 698cccc..106ed21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@ mock-rpmfusion-nonfree-23.0.tar.bz2
/mock-rpmfusion-nonfree-34.0.tar.bz2
/mock-rpmfusion-nonfree-34.1.tar.bz2
/mock-rpmfusion-nonfree-35.0.tar.bz2
+/mock-rpmfusion-nonfree-35.1.tar.bz2
diff --git a/mock-rpmfusion-nonfree.spec b/mock-rpmfusion-nonfree.spec
index 2251829..85fd5a8 100644
--- a/mock-rpmfusion-nonfree.spec
+++ b/mock-rpmfusion-nonfree.spec
@@ -1,5 +1,5 @@
Name: mock-rpmfusion-nonfree
-Version: 35.0
+Version: 35.1
Release: 1%{?dist}
Summary: Mock config files for the RPM Fusion NonFree Repository
@@ -8,7 +8,7 @@ URL: https://rpmfusion.org/
Source0: https://github.com/rpmfusion-infra/mock-rpmfusion/releases/download/%{ver...
BuildArch: noarch
-Requires: mock-rpmfusion-free >= 35.0
+Requires: mock-rpmfusion-free >= 35.1
%description
Mock config files for the RPM Fusion NonFree Repository
@@ -32,6 +32,11 @@ install -pm 0644 etc/mock/*_nonfree.cfg %{buildroot}%{_sysconfdir}/mock
%changelog
+* Mon Sep 13 2021 Sérgio Basto <sergio(a)serjux.com> - 35.1-1
+- v2 of add gpgcheck on updates-testing, debuginfo and branched repos
+ commit 373c52a was incompleted
+- Also add buildsys-override repos on rawhide
+
* Sun Aug 15 2021 Sérgio Basto <sergio(a)serjux.com> - 35.0-1
- F35 Branched
diff --git a/sources b/sources
index 8d785bb..0e992d1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mock-rpmfusion-nonfree-35.0.tar.bz2) = fb4b606f6641608850338dc776f1c3cdaa36e00783da6c19b98f1f751213dd31f1d057772183c88a63a01ef289654e64ff3e8c1a81e1184f5ea53e8e654e12e3
+SHA512 (mock-rpmfusion-nonfree-35.1.tar.bz2) = 602885ea0e820ef38e346317c0cf11f8073ceecdc3a21a629f7fe5528379742bfe311cf65d159e076ea4808193bdd75a0e9ea14f294202bfbbd0275fc1cf6f6b
3 years, 2 months
[mock-rpmfusion-free] v2 of add gpgcheck on updates-testing, debuginfo and branched repos
by Sérgio M. Basto
commit c232361856ac6c5d01a4ca80147ce99f449a1c09
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Sep 13 05:25:28 2021 +0100
v2 of add gpgcheck on updates-testing, debuginfo and branched repos
commit 373c52a was incompleted
Also add buildsys-override repos on rawhide
.gitignore | 1 +
mock-rpmfusion-free.spec | 7 ++++++-
sources | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 18170a1..6435f67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ mock-rpmfusion-free-23.0.tar.bz2
/mock-rpmfusion-free-34.0.tar.bz2
/mock-rpmfusion-free-34.1.tar.bz2
/mock-rpmfusion-free-35.0.tar.bz2
+/mock-rpmfusion-free-35.1.tar.bz2
diff --git a/mock-rpmfusion-free.spec b/mock-rpmfusion-free.spec
index 17fdad6..dc21c10 100644
--- a/mock-rpmfusion-free.spec
+++ b/mock-rpmfusion-free.spec
@@ -1,5 +1,5 @@
Name: mock-rpmfusion-free
-Version: 35.0
+Version: 35.1
Release: 1%{?dist}
Summary: Mock config files for the RPM Fusion Free Repository
@@ -33,6 +33,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/pki/mock/
%changelog
+* Mon Sep 13 2021 Sérgio Basto <sergio(a)serjux.com> - 35.1-1
+- v2 of add gpgcheck on updates-testing, debuginfo and branched repos
+ commit 373c52a was incompleted
+- Also add buildsys-override repos on rawhide
+
* Sun Aug 15 2021 Sérgio Basto <sergio(a)serjux.com> - 35.0-1
- F35 Branched
diff --git a/sources b/sources
index ba580a0..9ade41e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mock-rpmfusion-free-35.0.tar.bz2) = f48ed57ce1b0b6a110371e05956fdbdb8b7d1ea320263e497f8611b29b2d9a1e213e6642f73acf3e4583c71829692f420fefa9afa0791df131015b732f93a4ce
+SHA512 (mock-rpmfusion-free-35.1.tar.bz2) = 51e4ae9264dbb836f845676a98abf9ec8476cd9d79a1caf6cf630cc716692fb5b1844361974db73df8f2a43631b12f01e61484c1baa809e0a58c1f5e788549a9
3 years, 2 months
[chromium-freeworld] Remove build requires gtk2-devel
by Leigh Scott
commit 4402b954c122c1ea46a8373eb1adf78520e4594d
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Sep 12 09:18:02 2021 +0100
Remove build requires gtk2-devel
chromium-freeworld.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 51aa8a2..30a3ddf 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -81,7 +81,7 @@ BuildRequires: minizip-compat-devel
%endif
# Pipewire need this.
BuildRequires: pkgconfig(libpipewire-0.3)
-BuildRequires: pkgconfig(gtk+-2.0), pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libexif), pkgconfig(nss)
BuildRequires: pkgconfig(xtst), pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(dbus-1), pkgconfig(libudev)
3 years, 2 months
[obs-studio] Update to 27.1.0~rc2
by Neal Gompa
commit 9e383e30610f4efd7f31b9637f3ed932e8fe5614
Author: Neal Gompa <ngompa(a)fedoraproject.org>
Date: Sat Sep 11 21:24:00 2021 -0400
Update to 27.1.0~rc2
...ewire-Properly-account-for-cursor-hotspot.patch | 38 ----------------------
obs-studio.spec | 14 ++++----
sources | 2 +-
3 files changed, 8 insertions(+), 46 deletions(-)
---
diff --git a/obs-studio.spec b/obs-studio.spec
index 799c2e1..838ad38 100644
--- a/obs-studio.spec
+++ b/obs-studio.spec
@@ -6,18 +6,15 @@
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
Name: obs-studio
-Version: 27.0.1
-Release: 4%{?dist}
+Version: 27.1.0~rc2
+Release: 1%{?dist}
Summary: Open Broadcaster Software Studio
License: GPLv2+
URL: https://obsproject.com/
-Source0: https://github.com/obsproject/obs-studio/archive/%{version}/%{name}-%{ver...
+Source0: https://github.com/obsproject/obs-studio/archive/%{version_no_tilde}/%{na...
Source1: https://github.com/obsproject/obs-vst/archive/%{commit1}/obs-vst-%{shortc...
-# Backports from upstream
-Patch0001: 0001-pipewire-Properly-account-for-cursor-hotspot.patch
-
BuildRequires: gcc
BuildRequires: cmake >= 3.0
BuildRequires: ninja-build
@@ -86,7 +83,7 @@ Header files for Open Broadcaster Software
%prep
-%autosetup -p1
+%autosetup -p1 -n %{name}-%{version_no_tilde}
# rpmlint reports E: hardcoded-library-path
# replace OBS_MULTIARCH_SUFFIX by LIB_SUFFIX
@@ -138,6 +135,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata
%{_includedir}/obs/
%changelog
+* Sat Sep 11 2021 Neal Gompa <ngompa(a)fedoraproject.org> - 27.1.0~rc2-1
+- Update to 27.1.0~rc2
+
* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 27.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index b9a2603..4177a08 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (obs-studio-27.0.1.tar.gz) = c15dda62c1f212f623914e61a90c6b1e035720fb84d64726c14f43d77ae7569777a23d04221db34347ce610e7c3407c29e726ae36412e98e34ea2ddb2072b7f3
+SHA512 (obs-studio-27.1.0-rc2.tar.gz) = 9e1c2f1588b469f3d05ae198f62df014cc22d0a6e247b85c9de9308be0db3f9a6cad8d023f1b2101b3f89716c721f9ae3367ac08a35ae6fd268ee3d60bb66706
SHA512 (obs-vst-aaa7b7f.tar.gz) = 84e359da46e157e484f49f7e96bbd311d07a4373f474f7419f9791110fa450ec4e4e7531e1581d060fd9942939c4927e779cdc48bd8f2a2f57907a63453da0e3
3 years, 2 months
[chromium-freeworld] Use clang to compile
by Leigh Scott
commit ed93fbd1d44bcbfce1835011def6081c3dfb8dac
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Sep 11 19:02:23 2021 +0100
Use clang to compile
chromium-91-sql-standard-layout-type.patch | 238 +++++++++++++++++++++++++++++
chromium-freeworld.spec | 22 ++-
chromium-rawhide-gcc-std-max-fix.patch | 13 ++
remove-llvm13-warning-flags.patch | 13 ++
4 files changed, 280 insertions(+), 6 deletions(-)
---
diff --git a/chromium-91-sql-standard-layout-type.patch b/chromium-91-sql-standard-layout-type.patch
new file mode 100644
index 0000000..c1c68f1
--- /dev/null
+++ b/chromium-91-sql-standard-layout-type.patch
@@ -0,0 +1,238 @@
+From 80368f8ba7a8bab13440463a254888311efe3986 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09(a)googlemail.com>
+Date: Tue, 4 May 2021 15:00:19 +0000
+Subject: [PATCH] sql: make VirtualCursor standard layout type
+
+sql::recover::VirtualCursor needs to be a standard layout type, but
+has members of type std::unique_ptr. However, std::unique_ptr is not
+guaranteed to be standard layout. Compiling with clang combined with
+gcc-11 libstdc++ fails because of this. Replace std::unique_ptr with
+raw pointers.
+
+Bug: 1189788
+Change-Id: Ia6dc388cc5ef1c0f2afc75f8ca45b9f12687ca9c
+---
+ sql/recover_module/btree.cc | 21 +++++++++++++++------
+ sql/recover_module/btree.h | 17 +++++++++++++----
+ sql/recover_module/cursor.cc | 24 ++++++++++++------------
+ sql/recover_module/cursor.h | 2 +-
+ sql/recover_module/pager.cc | 7 +++----
+ sql/recover_module/pager.h | 5 +++--
+ 6 files changed, 47 insertions(+), 29 deletions(-)
+
+diff --git a/sql/recover_module/btree.cc b/sql/recover_module/btree.cc
+index 9ecaafe8a3..839318abf9 100644
+--- a/sql/recover_module/btree.cc
++++ b/sql/recover_module/btree.cc
+@@ -135,16 +135,25 @@ static_assert(std::is_trivially_destructible<LeafPageDecoder>::value,
+ "Move the destructor to the .cc file if it's non-trival");
+ #endif // !DCHECK_IS_ON()
+
+-LeafPageDecoder::LeafPageDecoder(DatabasePageReader* db_reader) noexcept
+- : page_id_(db_reader->page_id()),
+- db_reader_(db_reader),
+- cell_count_(ComputeCellCount(db_reader)),
+- next_read_index_(0),
+- last_record_size_(0) {
++void LeafPageDecoder::Initialize(DatabasePageReader* db_reader) {
++ DCHECK(db_reader);
+ DCHECK(IsOnValidPage(db_reader));
++ page_id_ = db_reader->page_id();
++ db_reader_ = db_reader;
++ cell_count_ = ComputeCellCount(db_reader);
++ next_read_index_ = 0;
++ last_record_size_ = 0;
+ DCHECK(DatabasePageReader::IsValidPageId(page_id_));
+ }
+
++void LeafPageDecoder::Reset() {
++ db_reader_ = nullptr;
++ page_id_ = 0;
++ cell_count_ = 0;
++ next_read_index_ = 0;
++ last_record_size_ = 0;
++}
++
+ bool LeafPageDecoder::TryAdvance() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+ DCHECK(CanAdvance());
+diff --git a/sql/recover_module/btree.h b/sql/recover_module/btree.h
+index d76d076bf6..33114b01fa 100644
+--- a/sql/recover_module/btree.h
++++ b/sql/recover_module/btree.h
+@@ -102,7 +102,7 @@ class LeafPageDecoder {
+ //
+ // |db_reader| must have been used to read an inner page of a table B-tree.
+ // |db_reader| must outlive this instance.
+- explicit LeafPageDecoder(DatabasePageReader* db_reader) noexcept;
++ explicit LeafPageDecoder() noexcept = default;
+ ~LeafPageDecoder() noexcept = default;
+
+ LeafPageDecoder(const LeafPageDecoder&) = delete;
+@@ -150,6 +150,15 @@ class LeafPageDecoder {
+ // read as long as CanAdvance() returns true.
+ bool TryAdvance();
+
++ // Initialize with DatabasePageReader
++ void Initialize(DatabasePageReader* db_reader);
++
++ // Reset internal DatabasePageReader
++ void Reset();
++
++ // True if DatabasePageReader is valid
++ bool IsValid() { return (db_reader_ != nullptr); }
++
+ // True if the given reader may point to an inner page in a table B-tree.
+ //
+ // The last ReadPage() call on |db_reader| must have succeeded.
+@@ -163,14 +172,14 @@ class LeafPageDecoder {
+ static int ComputeCellCount(DatabasePageReader* db_reader);
+
+ // The number of the B-tree page this reader is reading.
+- const int64_t page_id_;
++ int64_t page_id_;
+ // Used to read the tree page.
+ //
+ // Raw pointer usage is acceptable because this instance's owner is expected
+ // to ensure that the DatabasePageReader outlives this.
+- DatabasePageReader* const db_reader_;
++ DatabasePageReader* db_reader_;
+ // Caches the ComputeCellCount() value for this reader's page.
+- const int cell_count_ = ComputeCellCount(db_reader_);
++ int cell_count_;
+
+ // The reader's cursor state.
+ //
+diff --git a/sql/recover_module/cursor.cc b/sql/recover_module/cursor.cc
+index 0029ff9295..42548bc4b5 100644
+--- a/sql/recover_module/cursor.cc
++++ b/sql/recover_module/cursor.cc
+@@ -26,7 +26,7 @@ VirtualCursor::~VirtualCursor() {
+ int VirtualCursor::First() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+ inner_decoders_.clear();
+- leaf_decoder_ = nullptr;
++ leaf_decoder_.Reset();
+
+ AppendPageDecoder(table_->root_page_id());
+ return Next();
+@@ -36,18 +36,18 @@ int VirtualCursor::Next() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+ record_reader_.Reset();
+
+- while (!inner_decoders_.empty() || leaf_decoder_.get()) {
+- if (leaf_decoder_.get()) {
+- if (!leaf_decoder_->CanAdvance()) {
++ while (!inner_decoders_.empty() || leaf_decoder_.IsValid()) {
++ if (leaf_decoder_.IsValid()) {
++ if (!leaf_decoder_.CanAdvance()) {
+ // The leaf has been exhausted. Remove it from the DFS stack.
+- leaf_decoder_ = nullptr;
++ leaf_decoder_.Reset();
+ continue;
+ }
+- if (!leaf_decoder_->TryAdvance())
++ if (!leaf_decoder_.TryAdvance())
+ continue;
+
+- if (!payload_reader_.Initialize(leaf_decoder_->last_record_size(),
+- leaf_decoder_->last_record_offset())) {
++ if (!payload_reader_.Initialize(leaf_decoder_.last_record_size(),
++ leaf_decoder_.last_record_offset())) {
+ continue;
+ }
+ if (!record_reader_.Initialize())
+@@ -99,13 +99,13 @@ int VirtualCursor::ReadColumn(int column_index,
+ int64_t VirtualCursor::RowId() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+ DCHECK(record_reader_.IsInitialized());
+- DCHECK(leaf_decoder_.get());
+- return leaf_decoder_->last_record_rowid();
++ DCHECK(leaf_decoder_.IsValid());
++ return leaf_decoder_.last_record_rowid();
+ }
+
+ void VirtualCursor::AppendPageDecoder(int page_id) {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+- DCHECK(leaf_decoder_.get() == nullptr)
++ DCHECK(!leaf_decoder_.IsValid())
+ << __func__
+ << " must only be called when the current path has no leaf decoder";
+
+@@ -113,7 +113,7 @@ void VirtualCursor::AppendPageDecoder(int page_id) {
+ return;
+
+ if (LeafPageDecoder::IsOnValidPage(&db_reader_)) {
+- leaf_decoder_ = std::make_unique<LeafPageDecoder>(&db_reader_);
++ leaf_decoder_.Initialize(&db_reader_);
+ return;
+ }
+
+diff --git a/sql/recover_module/cursor.h b/sql/recover_module/cursor.h
+index afcd6900e1..b15c31d425 100644
+--- a/sql/recover_module/cursor.h
++++ b/sql/recover_module/cursor.h
+@@ -129,7 +129,7 @@ class VirtualCursor {
+ std::vector<std::unique_ptr<InnerPageDecoder>> inner_decoders_;
+
+ // Decodes the leaf page containing records.
+- std::unique_ptr<LeafPageDecoder> leaf_decoder_;
++ LeafPageDecoder leaf_decoder_;
+
+ SEQUENCE_CHECKER(sequence_checker_);
+ };
+diff --git a/sql/recover_module/pager.cc b/sql/recover_module/pager.cc
+index 58e75de270..5fe96204e5 100644
+--- a/sql/recover_module/pager.cc
++++ b/sql/recover_module/pager.cc
+@@ -23,8 +23,7 @@ static_assert(DatabasePageReader::kMaxPageId <= std::numeric_limits<int>::max(),
+ "ints are not appropriate for representing page IDs");
+
+ DatabasePageReader::DatabasePageReader(VirtualTable* table)
+- : page_data_(std::make_unique<uint8_t[]>(table->page_size())),
+- table_(table) {
++ : page_data_(), table_(table) {
+ DCHECK(table != nullptr);
+ DCHECK(IsValidPageSize(table->page_size()));
+ }
+@@ -57,8 +56,8 @@ int DatabasePageReader::ReadPage(int page_id) {
+ std::numeric_limits<int64_t>::max(),
+ "The |read_offset| computation above may overflow");
+
+- int sqlite_status =
+- RawRead(sqlite_file, read_size, read_offset, page_data_.get());
++ int sqlite_status = RawRead(sqlite_file, read_size, read_offset,
++ const_cast<uint8_t*>(page_data_.data()));
+
+ // |page_id_| needs to be set to kInvalidPageId if the read failed.
+ // Otherwise, future ReadPage() calls with the previous |page_id_| value
+diff --git a/sql/recover_module/pager.h b/sql/recover_module/pager.h
+index 0e388ddc3b..99314e30ff 100644
+--- a/sql/recover_module/pager.h
++++ b/sql/recover_module/pager.h
+@@ -5,6 +5,7 @@
+ #ifndef SQL_RECOVER_MODULE_PAGER_H_
+ #define SQL_RECOVER_MODULE_PAGER_H_
+
++#include <array>
+ #include <cstdint>
+ #include <memory>
+
+@@ -70,7 +71,7 @@ class DatabasePageReader {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
+ DCHECK_NE(page_id_, kInvalidPageId)
+ << "Successful ReadPage() required before accessing pager state";
+- return page_data_.get();
++ return page_data_.data();
+ }
+
+ // The number of bytes in the page read by the last ReadPage() call.
+@@ -137,7 +138,7 @@ class DatabasePageReader {
+ int page_id_ = kInvalidPageId;
+ // Stores the bytes of the last page successfully read by ReadPage().
+ // The content is undefined if the last call to ReadPage() did not succeed.
+- const std::unique_ptr<uint8_t[]> page_data_;
++ const std::array<uint8_t, kMaxPageSize> page_data_;
+ // Raw pointer usage is acceptable because this instance's owner is expected
+ // to ensure that the VirtualTable outlives this.
+ VirtualTable* const table_;
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index f419819..51aa8a2 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -28,7 +28,7 @@
##############################Package Definitions######################################
Name: chromium-freeworld
Version: 93.0.4577.63
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Chromium built with all freeworld codecs and VA-API support
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
URL: https://www.chromium.org/Home
@@ -68,10 +68,12 @@ Source15: LICENSE
########################################################################################
#Compiler settings
# Make sure we don't encounter any bug
-BuildRequires: gcc-c++
+BuildRequires: clang
+BuildRequires: lld
+BuildRequires: llvm
# Basic tools and libraries needed for building
BuildRequires: ninja-build, nodejs, bison, gperf, hwdata
-BuildRequires: libgcc, glibc, libatomic
+BuildRequires: libatomic
BuildRequires: libcap-devel, cups-devel, alsa-lib-devel
BuildRequires: mesa-libGL-devel, mesa-libEGL-devel
%if %{system_minizip}
@@ -160,6 +162,9 @@ Patch201: chromium-93-EnumTable-crash.patch
# Arch Linux patches:
Patch226: chromium-93-ffmpeg-4.4.patch
+Patch231: remove-llvm13-warning-flags.patch
+Patch232: chromium-91-sql-standard-layout-type.patch
+
# Upstream patches:
Patch251: chromium-sandbox-syscall-broker-use-struct-kernel_stat.patch
Patch252: chromium-sandbox-fix-fstatat-crash.patch
@@ -527,8 +532,10 @@ ln -s %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node
ulimit -n 2048
#export compilar variables
-export AR=ar NM=nm AS=as
-export CC=gcc CXX=g++
+export CC=clang
+export CXX=clang++
+export AR=llvm-ar
+export NM=llvm-nm
export CXXFLAGS="$CXXFLAGS -fpermissive"
export CFLAGS="$CFLAGS -w"
export CXXFLAGS="$CXXFLAGS -w"
@@ -585,7 +592,7 @@ gn_args+=(
gn_args+=(
- is_clang=false
+ clang_use_chrome_plugins=false
)
#Pipewire
@@ -713,6 +720,9 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
+* Sat Sep 11 2021 Leigh Scott <leigh123linux(a)gmail.com> - 93.0.4577.63-3
+- Use clang to compile
+
* Fri Sep 03 2021 Leigh Scott <leigh123linux(a)gmail.com> - 93.0.4577.63-2
- Enable aarch64 build
diff --git a/chromium-rawhide-gcc-std-max-fix.patch b/chromium-rawhide-gcc-std-max-fix.patch
index 463df52..ea3e753 100644
--- a/chromium-rawhide-gcc-std-max-fix.patch
+++ b/chromium-rawhide-gcc-std-max-fix.patch
@@ -9,3 +9,16 @@
// Only set an alternative stack if there isn't already one, or if the current
// one is too small.
+--- a/sandbox/linux/services/credentials.cc
++++ b/sandbox/linux/services/credentials.cc
+@@ -98,7 +98,9 @@
+ // attempt this optimization.
+ clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
+
+- char tls_buf[PTHREAD_STACK_MIN] = {0};
++ const std::size_t pthread_stack_min = PTHREAD_STACK_MIN;
++ char tls_buf[pthread_stack_min];
++ memset(tls_buf, 0, pthread_stack_min);
+ tls = tls_buf;
+ #endif
+
diff --git a/remove-llvm13-warning-flags.patch b/remove-llvm13-warning-flags.patch
new file mode 100644
index 0000000..d1db7e4
--- /dev/null
+++ b/remove-llvm13-warning-flags.patch
@@ -0,0 +1,13 @@
+--- a/build/config/compiler/BUILD.gn.orig
++++ b/build/config/compiler/BUILD.gn
+@@ -1620,10 +1620,6 @@
+
+ # TODO(https://crbug.com/1050281): Clean up, enable.
+ "-Wno-non-c-typedef-for-linkage",
+-
+- # TODO(https://crbug.com/1203071): Clean up and enable.
+- "-Wno-unused-but-set-parameter",
+- "-Wno-unused-but-set-variable",
+ ]
+
+ cflags_c += [
3 years, 2 months