Everything works out if you apply all patches, but if you're selectively applying patches it breaks the build. This PR moves the fix from add-flags-for-referrer-customization.patch to missing-dependencies.patch, which should address the aforementioned concern. The fix is also needed for add-flags-for-referrer-customization.patch, but presumably missing-dependencies.patch is mandatory so there's less of a chance that it's missed by someone selectively choosing which patches to apply.
missing-dependencies.patch contains a patch that adds
//chrome/common:buildflags
todeps
: https://github.com/ungoogled-software/ungoogled-chromium/blob/89fe8ac0edf91ab1a9679f681f106acd815c13f5/patches/upstream-fixes/missing-dependencies.patch#L77 However, this causes an error while building:The fix for this is in another, seemingly unrelated patch: https://github.com/ungoogled-software/ungoogled-chromium/blob/89fe8ac0edf91ab1a9679f681f106acd815c13f5/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch#L165-L193
Everything works out if you apply all patches, but if you're selectively applying patches it breaks the build. This PR moves the fix from
add-flags-for-referrer-customization.patch
tomissing-dependencies.patch
, which should address the aforementioned concern. The fix is also needed foradd-flags-for-referrer-customization.patch
, but presumablymissing-dependencies.patch
is mandatory so there's less of a chance that it's missed by someone selectively choosing which patches to apply.