Re: Recommendations for patching bundled meson subprojects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Florian Weimer:

> I need to patch the bundled mocklib in accountsservice to fix a build
> issue with future compilers:
>
>   accountsservice: C99 compatibility issue in bundled copy of mocklib
>   <https://bugzilla.redhat.com/show_bug.cgi?id=2185850>
>
> The RPM spec file copies mocklibc-1.0.tar.gz and mocklibc-1.0-2-wrap.zip
> into the build directory.  Meson does not appear to support patching
> bundled subprojects.  What's the best way to deal with this?
>
> I don't think there is an upstream left for mocklib, so fixing it there
> and asking for a new release doesn't seem to be an option.

Ray Strode fixed the bug and showed us how it's done:

  <https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/da65bee12d9118fe1a49c8718d428fe61d232339>

There's a diff_files directive:

  <https://mesonbuild.com/Wrap-dependency-system-manual.html#diff-files>

It's not documented under subprojects, which is why I didn't find it.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux