summaryrefslogtreecommitdiff
path: root/dev-php/libvirt-php/files/libvirt-php-0.5.8-attribute_unused.patch
AgeCommit message (Collapse)Author
2025-10-09dev-php/libvirt-php: Don't rely on libxml2 to provide ATTRIBUTE_UNUSEDMichal Privoznik
In the past, libxml2 used to declare some attributes in its headers, with ATTRIBUTE_UNUSED being one of them. Some projects (like libvirt-php) misused this. But after libxml2 was cleaned up and stopped polluting header files (see commit in backported patch), these projects have to redefine the macro themselves. Closes: https://bugs.gentoo.org/963308 Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44111 Closes: https://github.com/gentoo/gentoo/pull/44111 Signed-off-by: Sam James <sam@gentoo.org>