diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-04 02:04:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-04 02:04:17 +0100 |
commit | 00d9a8fc3e9e5bafeff6747e978c1685b384e587 (patch) | |
tree | 43c6db3767706ffe339a7040cb0a5dea8bd1ef26 /app-emulation | |
parent | 799073eb168d35819904276f6c912be4ac76166a (diff) |
gentoo auto-resync : 04:08:2022 - 02:04:17
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/Manifest.gz | bin | 14814 -> 14809 bytes | |||
-rw-r--r-- | app-emulation/libvirt/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/libvirt/files/libvirt-8.5.0-glibc-2.36.patch | 67 | ||||
-rw-r--r-- | app-emulation/libvirt/libvirt-8.5.0.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/qemu/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/qemu/files/qemu-7.0.0-glibc-2.36.patch | 90 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-7.0.0-r3.ebuild | 1 |
7 files changed, 163 insertions, 2 deletions
diff --git a/app-emulation/Manifest.gz b/app-emulation/Manifest.gz Binary files differindex ac6ea289c24d..41b29ac71e2c 100644 --- a/app-emulation/Manifest.gz +++ b/app-emulation/Manifest.gz diff --git a/app-emulation/libvirt/Manifest b/app-emulation/libvirt/Manifest index e659aa86dce9..e1587ba6f564 100644 --- a/app-emulation/libvirt/Manifest +++ b/app-emulation/libvirt/Manifest @@ -9,6 +9,7 @@ AUX libvirt-8.1.0-libxl-Fix-libvirtd-crash-on-domain-restore.patch 1337 BLAKE2B AUX libvirt-8.2.0-do-not-use-sysconfig.patch 8420 BLAKE2B 37856003bc58b69531be6b55fcc3304b71558b7a5306c2da3fbad2d5eac006ca3ebb54bd56f8e761363311a5c865d2cd072c418794fcb605562fc32f997c88a9 SHA512 84a693b870aebe0f87f518473d28d97e613b6069f497e6e49c3e8feffc96c2e709d0a7a3530c52d4d034c6b0bc7374ab61f40ddd2f071735c5baacdebcfca8b6 AUX libvirt-8.2.0-fix-paths-for-apparmor.patch 3006 BLAKE2B 641c8942d28b8f3050f67809f332b76acb9d46ccfba30387603a7f3a60f80162a290b0b3ba3dac51c488ba14ac457ecc49526e98251380eb1fd3aaf293f444c2 SHA512 1b267df41892dcf5791720a9e7cd819b65024eaa3469d7b9496b86fc67d89d90dcebddcb5baf627fdde3277400fbc6611d056267a0aa4baa4083da3f532679ec AUX libvirt-8.2.0-qemu-segmentation-fault-in-virtqemud-executing-qemuD.patch 2967 BLAKE2B d9df072a8fe5285c2a817e96ad2e7d5e855446bb4b80427a6366342f1a8a8621e9ffaf489692163f65f5974aee7010be7da1dd3849eb687661ad2daaf42df921 SHA512 7ad655dcf0b4cc7667f7baf40401535e03e437b5c1069f57ba95d4b05fb37fd4d8e875af00809d70da24e501ec601d34290a47603451de7aa6dde12eb0c89c60 +AUX libvirt-8.5.0-glibc-2.36.patch 2195 BLAKE2B 265c5e03e60eacb39aa882f5422918458f02d458d8c35544f93415181b74072fd3afea51953dab1a8aa2bc36beb81dd4197a72a4bc930b3020ed1623273867f7 SHA512 1bcd02eb717c31aaef34ffd4e853585b8a1098f28b4e62b480fd13db03f5496c823f0b18da904a52db7be48ecb11000f342352d34fc8229f39b623b9c9e7c0da AUX libvirt-guests.confd 2430 BLAKE2B 9d56477c9377e02503782e6d653579c6d149b292c43f37926f4646374e8aae05ca812b6a3a561811482861f8fe67dfdbe63851963326ddbbf2f4644c85411120 SHA512 78f419a89de7aabaad860903c24f1c070786fc1296d987e61dd537705b0e7f71a46c315888028f3826c3417e42861ca8471788be4ec5695e98427c5f18ae63fc AUX libvirt-guests.init-r4 5591 BLAKE2B e745692a7ea706c8367cdb7ee2114565770bda5be5675ba3a541555659d17875f7996ff7028bf415224d095b49b71205a3d77f420464d5579ccc189def5e434d SHA512 ec2bc46d72afa61513983b777e2d49da618a35a4687bc75674b3a49ababd4e2e387661010d342fee86c7a73d259644985a263a6c2976e29a436d88921bb040b0 AUX libvirtd.confd-r5 740 BLAKE2B 74a069f4902dd1352f06029c886200615a35870ff88496c91956d23a3172db0789086622422f545498e92b7f8de41225022185fe291dd580cbacdeb783163f4b SHA512 98f935589dbc5f2a99329f77fdf84c563fa0dc99404b7476603679478d68ce8dbea2c88645251d3c28f59e7bcae124ae632972146e8a8c3e0e9fcbfb27296f91 @@ -39,6 +40,6 @@ EBUILD libvirt-8.1.0.ebuild 8787 BLAKE2B c131f96900497a858c4f15ab9352f4ea339074a EBUILD libvirt-8.2.0.ebuild 8817 BLAKE2B 1f849e58e6fb66c5b732b16b4df83fb73ec36c75857803ebec17a23489f247ea61fa30fe3afc10b6ce22040ed5916e5f6106205c9c0d4fdce35a1305aa5ec30e SHA512 431c2a164bc956cb9b468aaa35534a1b4c532537340274d963bb4cd555288ccdca4369a3001133e87dd2d20eb6a93e9b14c9c34ecf3f0ea80ceadeb2211984d6 EBUILD libvirt-8.3.0.ebuild 8948 BLAKE2B 4dffb4d34aafa8a4998ddc3ef9e26b18e5188f1c836ca75d68b75909bae70a9c52a9e03311b08e8e39ee498e243d2557e37f4024e376fc40565f55f778f3c3e7 SHA512 39568ef7a362fa13e7e9958246d02a919174f07381b44fe44134ecc6ef00a1ee81e836e3e12be391bba7e0510aa4651a6816aaaf2f5340f398dea54656e5b248 EBUILD libvirt-8.4.0.ebuild 8953 BLAKE2B afa854c0c31cf705e401fb5733d52c3ac720c52c62dd7517ef79d791c8e93a71b5f2c1628a49ab9d6e314bdf343304aaf9cb79ec56a5b2cb99309055e7a785f8 SHA512 77c6cac11ece2fd8a01193ab1da4cfaa7ac6f7addc4500054f93a649faac4f119400056c79a835f56e29417fbaa683e7f4dc8b73d03585dadcf8926b6be22ade -EBUILD libvirt-8.5.0.ebuild 8953 BLAKE2B afa854c0c31cf705e401fb5733d52c3ac720c52c62dd7517ef79d791c8e93a71b5f2c1628a49ab9d6e314bdf343304aaf9cb79ec56a5b2cb99309055e7a785f8 SHA512 77c6cac11ece2fd8a01193ab1da4cfaa7ac6f7addc4500054f93a649faac4f119400056c79a835f56e29417fbaa683e7f4dc8b73d03585dadcf8926b6be22ade +EBUILD libvirt-8.5.0.ebuild 8997 BLAKE2B be5e5afc4b65e4a41a9b2e45766924506c441a2b9fb09e6030a7ae7b53a002d0a7a2211817b8d4231aa47de6a5a6aa5ce045e78a62c21de7c0f7878eaa303288 SHA512 79f6459febb08d1a7c4783c8b59ed384c4bfe64bcad9e00b9577e74c1bbc124aa89661a8ef255227e9af51b0dc71b599bec236ce19b28a6f9fe538792d31e651 EBUILD libvirt-9999.ebuild 8948 BLAKE2B 4dffb4d34aafa8a4998ddc3ef9e26b18e5188f1c836ca75d68b75909bae70a9c52a9e03311b08e8e39ee498e243d2557e37f4024e376fc40565f55f778f3c3e7 SHA512 39568ef7a362fa13e7e9958246d02a919174f07381b44fe44134ecc6ef00a1ee81e836e3e12be391bba7e0510aa4651a6816aaaf2f5340f398dea54656e5b248 MISC metadata.xml 3784 BLAKE2B 79ac58c142350e62e237e7245c40f4fd25d8e3c19d308440de66df8e6af46bd8847370fb1bf17dfd36e331fe50bd2114a6ebec7e40544fbd3bc049602e9a8657 SHA512 6a27d14d0b4345ccc2060c39af245673df10460d4844cb2732e82005804706e1c61192a0c26dfc04c3c4dc1225173fb8fb966e4197454433f6d7ed8d5601c84d diff --git a/app-emulation/libvirt/files/libvirt-8.5.0-glibc-2.36.patch b/app-emulation/libvirt/files/libvirt-8.5.0-glibc-2.36.patch new file mode 100644 index 000000000000..e02c5ea44086 --- /dev/null +++ b/app-emulation/libvirt/files/libvirt-8.5.0-glibc-2.36.patch @@ -0,0 +1,67 @@ +https://bugs.gentoo.org/863446 +https://github.com/libvirt/libvirt/commit/9493c9b79dc541ec9e0fd73c6d87bdf8d30aaa90 +https://github.com/libvirt/libvirt/commit/c0d9adf220dc0d223330a7bac37b174132d330ba + +From 9493c9b79dc541ec9e0fd73c6d87bdf8d30aaa90 Mon Sep 17 00:00:00 2001 +From: Cole Robinson <crobinso@redhat.com> +Date: Mon, 1 Aug 2022 15:20:38 -0400 +Subject: [PATCH] lxc: containter: fix build with glibc 2.36 + +With glibc 2.36, sys/mount.h and linux/mount.h conflict: +https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E + +lxc_container.c imports sys/mount.h and linux/fs.h, which pulls in +linux/mount.h. + +linux/fs.h isn't required here though. glibc sys/mount.h has had +MS_MOVE since 2.12 in 2010 + +Reviewed-by: Erik Skultety <eskultet@redhat.com> +Signed-off-by: Cole Robinson <crobinso@redhat.com> +--- a/src/lxc/lxc_container.c ++++ b/src/lxc/lxc_container.c +@@ -33,9 +33,6 @@ + /* Yes, we want linux private one, for _syscall2() macro */ + #include <linux/unistd.h> + +-/* For MS_MOVE */ +-#include <linux/fs.h> +- + #if WITH_CAPNG + # include <cap-ng.h> + #endif + +From c0d9adf220dc0d223330a7bac37b174132d330ba Mon Sep 17 00:00:00 2001 +From: Cole Robinson <crobinso@redhat.com> +Date: Mon, 1 Aug 2022 15:24:01 -0400 +Subject: [PATCH] virfile: Fix build with glibc 2.36 + +With glibc 2.36, sys/mount.h and linux/mount.h conflict: +https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E + +virfile.c imports sys/mount.h and linux/fs.h, which pulls in +linux/mount.h. + +Manually define the constants we need from linux/fs.h, like was +done in llvm: + +https://reviews.llvm.org/rGb379129c4beb3f26223288627a1291739f33af02 + +Reviewed-by: Erik Skultety <eskultet@redhat.com> +Signed-off-by: Cole Robinson <crobinso@redhat.com> +--- a/src/util/virfile.c ++++ b/src/util/virfile.c +@@ -71,7 +71,11 @@ + # endif + # include <sys/ioctl.h> + # include <linux/cdrom.h> +-# include <linux/fs.h> ++/* These come from linux/fs.h, but that header conflicts with ++ * sys/mount.h on glibc 2.36+ */ ++# define FS_IOC_GETFLAGS _IOR('f', 1, long) ++# define FS_IOC_SETFLAGS _IOW('f', 2, long) ++# define FS_NOCOW_FL 0x00800000 + #endif + + #if WITH_LIBATTR + diff --git a/app-emulation/libvirt/libvirt-8.5.0.ebuild b/app-emulation/libvirt/libvirt-8.5.0.ebuild index 1ac6f7431bdb..f81dbc7d518b 100644 --- a/app-emulation/libvirt/libvirt-8.5.0.ebuild +++ b/app-emulation/libvirt/libvirt-8.5.0.ebuild @@ -137,6 +137,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch "${FILESDIR}"/${PN}-8.2.0-do-not-use-sysconfig.patch "${FILESDIR}"/${PN}-8.2.0-fix-paths-for-apparmor.patch + "${FILESDIR}"/${PN}-8.5.0-glibc-2.36.patch ) pkg_setup() { diff --git a/app-emulation/qemu/Manifest b/app-emulation/qemu/Manifest index 3dbfbf699158..24cc0897164a 100644 --- a/app-emulation/qemu/Manifest +++ b/app-emulation/qemu/Manifest @@ -5,6 +5,7 @@ AUX qemu-5.2.0-disable-keymap.patch 884 BLAKE2B dbbe245a52615f8894cbac1c94ce3fee AUX qemu-6.0.0-make.patch 306 BLAKE2B 701c6d929dc7544a2e155243a2545dc488765cf8b733fca29c4f4cb06cad732d72f64c330d95fbcdcf12b174b92b7fa5b713bf833065e5014f8aed1eec22c0a1 SHA512 5d22c6c4085dd0bf58752e21af9addd6a1a670a60f172b488d1ccfb1b9356ce9808a3b9337dd1bd2aa9e06735a3c7a465bc11ae3871cc4294ec609729b2e09c7 AUX qemu-6.1.0-strings.patch 882 BLAKE2B 9c35aca28371c15e037af5e9deaa90edcad769b5346f7c90cbb7768ce5639b1d1d1204933024241b7349573cc94ebca7a85ebaf051a9fb9dab8ea7d87d843ef9 SHA512 fcbf02a38401dbc7612130bb993dbec72468c926f729cd32e822b39fefe446ed8fd0906d6ffd4557181df753a84d77182fa713a5939300f193008532be88ada4 AUX qemu-7.0.0-also-build-virtfs-proxy-helper.patch 1168 BLAKE2B c85204a90c5af17675c1d2d09ce884acddd0cabb6816d10baafc299a924f86c94fb66b9c58160fe0e4b5d56c049f249c01390d45bebca42aaf941bdc6f04fe81 SHA512 b5a884545bbc82fe2318f18f4de103e61db6d22fce433f4ed4e175310f329fe110627640c6127df0dd2312dcba05bce342ff08166feb565b9adbea23086f1677 +AUX qemu-7.0.0-glibc-2.36.patch 3708 BLAKE2B f65dc18407606ebd30cd865ea7b83401de6d74fef2bc2432e2a50e3035d026f8048d514921af8bf3713ece9895e6657be42417dd2911c142ba4d2c4669a06716 SHA512 8fd0e7f5889ff152e4f3e02cf799e077f2563b91e5ab66c99aa9fe5e6540fa0ba0042f80bd57b904673d118112652bfe44492cb4b1d69baa19936d3386ba6f70 AUX qemu-7.0.0-pci-overflow-fortify-source-3.patch 3939 BLAKE2B 02909d525e2ff2bc79a763117ccad7fd46eb23ba731ca37d6d6b6d2edcc9aaf02f37d2e13996f1648e9befd13fa50cb14c0d04565196d9ead2ceadcba2610b8b SHA512 0ca086aa4781066133a9a2d0307d6843e0062b17443abffca87af8291569ac2c44ab29408cce5e7a9d05e75ff277f1778347f9ce155e91ea7c6d0eb1d8a2388d AUX qemu-7.0.0-virtio-scsi-fixes.patch 7117 BLAKE2B 47f2c2a2783579bccdf0aa509051324a2c269eb9bdad1cad489e40724035cad6958559b46533c9601ffb7bfd2f9fde16117097fd470a3a6fe9b9cf5a0a9f95a8 SHA512 e15418a83b43e9313199d2198ba0434c7130b4c0561a57a244ae783803c8505defdb68ec680e03acaaa0feba3e778d7e6efd4ccec58fa2c49208e4095efe6c31 AUX qemu-7.1.0-also-build-virtfs-proxy-helper.patch 1167 BLAKE2B dee6c98a547a510827f422a5d2b03edd6d467e4713f357a5841e01d632578891a0e2e715c57153c7842b51f5199cea70d8e76ff31f0372308e26202e1587af62 SHA512 d2fb9db139588961434663910dc7151c91b82c1820f62ed5ae690e4f868f1957d8ad2dc1b812813a2081ce6bbdd0f8e59cddd9459de6ef493df02b5a4478de63 @@ -15,6 +16,6 @@ DIST qemu-7.0.0-docs.tar.xz 5101176 BLAKE2B 827d4af2b3fd229d146b47253d12a8bfd606 DIST qemu-7.0.0.tar.xz 125117636 BLAKE2B ceda6d9f1a585298bd49fed61e8bb35f0064ad8388a9f979c8bd68a38bfe1a47c5bb055e5f74f970c2c440957042b9de4a861524120040c56e4cd8b56c5cfb68 SHA512 44ecd10c018a3763e1bc87d1d35b98890d0d5636acd69fe9b5cadf5024d5af6a31684d60cbe1c3370e02986434c1fb0ad99224e0e6f6fe7eda169992508157b1 EBUILD qemu-7.0.0-r1.ebuild 25838 BLAKE2B 875e737a2d9c56343df88972d479ca661d9cef981d44c8b176e9aa6cee06d578cbf57aa4bd8e5b6396134a91b56de5f6a1f29b6a1903d4ce90f4426b438d8a6b SHA512 f52a03cf93d1faae0fd6363f5797ada9c63138c4adaea5245ccb15d86a997aba1707107c2cda97e4f36b22733bfeb0fe46767b7886c2ec81b275755c95dd1b3a EBUILD qemu-7.0.0-r2.ebuild 26304 BLAKE2B 478452308df45bf5f466e644cb732b592e10d9c0d66500b64bf8dd33e3471a3663b774824be2169fa65c4c50dbbd721940753d2fe1c4b65afd413231bc73ff24 SHA512 e7400db9efa895d59b5ecb9df59627439dd9a949c893aaf4d28abb6b69247b79115172f377319cca054b5f068fc1ace20d6666b78a14f786e6dcf444568df16d -EBUILD qemu-7.0.0-r3.ebuild 27218 BLAKE2B 4b60fa22815c6cd1debb49eb90bca903ae3e3ade708ad72cf0255ccd309c6ccfdfd505ad0c713241859fe0485b87cc77de3c66e42fd374f68f7fe12a72b8eb89 SHA512 26f97dbdcc0ffac5c0c8d600901acc1f30d0b7131408c12899e1fe76907477ac8f3e7c762ec0e912360ef72193345dd666d2ed69351720d3d024f091128da09b +EBUILD qemu-7.0.0-r3.ebuild 27255 BLAKE2B cb8c8adfea045db902eb6b2fba5b91d3d2299567b25247a01906919592d89f56f4112eadb356308781ab69a63f0aa7400f4dd499eca95dcc389fb26eb2e25e90 SHA512 66e5a51e5bf142b40f0f476995f2b252eeac33a98cc544e1d317522487d64dcdd62c36aa40a4ef4c1f9455de40230fd45a5731b7545759d4df7f37a96b154968 EBUILD qemu-9999.ebuild 27123 BLAKE2B 226e3d74476797e18dbeec36e6d976fba1c1298e336c1af049f3d1aaf375ca7da6f1e1b7fed2a45e97a6134a6b667cf34da1929d81db6bf89efda4e9f1b8a574 SHA512 72005ad77f56bc7161fd27cfcab4fce6e211b5cc5342420ee9b3e7f021af31a04565e9958fba7883286a6d3187b6888d05bc2ac96306370709377bba972f8c34 MISC metadata.xml 4672 BLAKE2B ea2319ecc6717e4f10667f70928eac2b59eb27bb117957c266984a4d5bdf84604128086956a651c1880d314efde56ce81a67c364f7944f5342b6a322b5e3e73e SHA512 27f357299abc6a82112dab17c81b825459ce4c7afd96381b4cba13d79861f80e7d452d574795cab240e7ca56154128a2597ac9957aa24ef81d7dc9092312ac79 diff --git a/app-emulation/qemu/files/qemu-7.0.0-glibc-2.36.patch b/app-emulation/qemu/files/qemu-7.0.0-glibc-2.36.patch new file mode 100644 index 000000000000..85343c4d00e7 --- /dev/null +++ b/app-emulation/qemu/files/qemu-7.0.0-glibc-2.36.patch @@ -0,0 +1,90 @@ +https://lore.kernel.org/all/20220802183409.GB2040@redhat.com/T/ +https://bugs.gentoo.org/863443 + +From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com> +To: qemu-devel@nongnu.org +Cc: Laurent Vivier <laurent@vivier.eu>, + =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com> +Subject: [PATCH for 7.1] linux-user: fix compat with glibc >= 2.36 sys/mount.h +Date: Tue, 2 Aug 2022 12:41:34 -0400 + +The latest glibc 2.36 has extended sys/mount.h so that it +defines the FSCONFIG_* enum constants. These are historically +defined in linux/mount.h, and thus if you include both headers +the compiler complains: + +In file included from /usr/include/linux/fs.h:19, + from ../linux-user/syscall.c:98: +/usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' + 95 | enum fsconfig_command { + | ^~~~~~~~~~~~~~~~ +In file included from ../linux-user/syscall.c:31: +/usr/include/sys/mount.h:189:6: note: originally defined here + 189 | enum fsconfig_command + | ^~~~~~~~~~~~~~~~ +/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' + 96 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ + | ^~~~~~~~~~~~~~~~~ +/usr/include/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' + 191 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ + | ^~~~~~~~~~~~~~~~~ +...snip... + +QEMU doesn't include linux/mount.h, but it does use +linux/fs.h and thus gets linux/mount.h indirectly. + +glibc acknowledges this problem but does not appear to +be intending to fix it in the forseeable future, simply +documenting it as a known incompatibility with no +workaround: + + https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E + https://sourceware.org/glibc/wiki/Synchronizing_Headers + +To address this requires either removing use of sys/mount.h +or linux/fs.h, despite QEMU needing declarations from +both. + +This patch removes linux/fs.h, meaning we have to define +various FS_IOC constants that are now unavailable. + +Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> +--- a/linux-user/syscall.c ++++ b/linux-user/syscall.c +@@ -95,7 +95,25 @@ + #include <linux/soundcard.h> + #include <linux/kd.h> + #include <linux/mtio.h> ++ ++#ifdef HAVE_SYS_MOUNT_FSCONFIG ++/* ++ * glibc >= 2.36 linux/mount.h conflicts with sys/mount.h, ++ * which in turn prevents use of linux/fs.h. So we have to ++ * define the constants ourselves for now. ++ */ ++#define FS_IOC_GETFLAGS _IOR('f', 1, long) ++#define FS_IOC_SETFLAGS _IOW('f', 2, long) ++#define FS_IOC_GETVERSION _IOR('v', 1, long) ++#define FS_IOC_SETVERSION _IOW('v', 2, long) ++#define FS_IOC_FIEMAP _IOWR('f', 11, struct fiemap) ++#define FS_IOC32_GETFLAGS _IOR('f', 1, int) ++#define FS_IOC32_SETFLAGS _IOW('f', 2, int) ++#define FS_IOC32_GETVERSION _IOR('v', 1, int) ++#define FS_IOC32_SETVERSION _IOW('v', 2, int) ++#else + #include <linux/fs.h> ++#endif + #include <linux/fd.h> + #if defined(CONFIG_FIEMAP) + #include <linux/fiemap.h> +--- a/meson.build ++++ b/meson.build +@@ -1963,6 +1963,8 @@ config_host_data.set('HAVE_OPTRESET', + cc.has_header_symbol('getopt.h', 'optreset')) + config_host_data.set('HAVE_IPPROTO_MPTCP', + cc.has_header_symbol('netinet/in.h', 'IPPROTO_MPTCP')) ++config_host_data.set('HAVE_SYS_MOUNT_FSCONFIG', ++ cc.has_header_symbol('sys/mount.h', 'FSCONFIG_SET_FLAG')) + + # has_member + config_host_data.set('HAVE_SIGEV_NOTIFY_THREAD_ID', diff --git a/app-emulation/qemu/qemu-7.0.0-r3.ebuild b/app-emulation/qemu/qemu-7.0.0-r3.ebuild index d79b2ecdb29b..09762b74b160 100644 --- a/app-emulation/qemu/qemu-7.0.0-r3.ebuild +++ b/app-emulation/qemu/qemu-7.0.0-r3.ebuild @@ -300,6 +300,7 @@ PATCHES=( "${FILESDIR}"/${PN}-7.0.0-also-build-virtfs-proxy-helper.patch "${FILESDIR}"/${P}-virtio-scsi-fixes.patch "${FILESDIR}"/${P}-pci-overflow-fortify-source-3.patch + "${FILESDIR}"/${P}-glibc-2.36.patch ) QA_PREBUILT=" |