From d288197c01703f58dbea0ff4f42b01e7c4c6f327 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 2 Apr 2023 23:19:01 +0100 Subject: gentoo auto-resync : 02:04:2023 - 23:19:00 --- x11-libs/wxGTK/Manifest | 3 +- .../files/wxGTK-3.2.2.1-dont-break-flags.patch | 48 ++++++++++++++++++++++ x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild | 1 + 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch (limited to 'x11-libs/wxGTK') diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest index aff8886ef02b..e021bd591e87 100644 --- a/x11-libs/wxGTK/Manifest +++ b/x11-libs/wxGTK/Manifest @@ -4,6 +4,7 @@ AUX wxGTK-3.2.1-configure-tests.patch 478 BLAKE2B 1fdbb7d04c4100b39234c15181e3ea AUX wxGTK-3.2.1-gtk3-translation-domain.patch 425 BLAKE2B c517b85a352e010e8002de6e2e282728e1f9ee47d22380072d15e35723e65d0a417c06b23f0c50e8d91036611ee0bfe54ba124c4294ec248de3a5cb64b35a448 SHA512 0e5b01958c848b81008a2296405e4de33da46445553d555deeed215928d90583a4da61de4bdceb1fb3745cce53118b7bc29be73f511f0bdb9c3c6b193f2f6c24 AUX wxGTK-3.2.1-prefer-lib64-in-tests.patch 1016 BLAKE2B b2d7cac45af6a0e5e118c8688db5e5a60e144dc5e82f4653f4dfea53fa969c3af0ca2c4ce1d6d430bc8e6aef45c4d946e8cf65cf6c53222981fcdde005d05e09 SHA512 a5c7c81af28d637a31c93d2296e1c1b5456038c0703c3d32f136188435ab3e7f4766805dcb73dac0d976eac7cb6e4c86923cca023543b29b735d5ea87ccb2b1b AUX wxGTK-3.2.1-wayland-control.patch 6150 BLAKE2B 4aef8ab0fb4e2352afba139cc539f77b1c0825ee7c4a33c0f2fc41bcbadd943a90c55dced954f362f73995d2232d54b1815725a0c5d03325c64d0a00d92191aa SHA512 995eeb0409293247756eddde8bf8fcee87ded284bb0f9faac27ae511483e0131e4802bdb9d93063097273e83b55b08328dd0380639fcb265352991cf3d34fc1d +AUX wxGTK-3.2.2.1-dont-break-flags.patch 1373 BLAKE2B 2ae7524b2f80cc562dc6a62a823e1e0d904213de4c11346995d7014490843ad6f7111c5b39b5d147a39beaf07b627b8f13378bfdc1ea129a24230054ccf8aad4 SHA512 3cb557dc51b7694a9e935b14d4c4ab430a75c3de091f697d3291e04b78cd0b3b6a8c7fc3c4afc32a2692d32f43cf4bb52655a4230ac1b38cd101f903f136f2e4 AUX wxGTK-configure-tests.patch 560 BLAKE2B 86a735c58abc8690cd943ff58a39140a636c56dcde08f47d27dbdcf99790216ebe0f4524f2f7cd67e35748c32adaee377c4e8a4b606975115c666cbc453b5173 SHA512 f02b708e5de66a4a7dce9f1adef1ebd1461ef68acee502b54d514a0ce4e5fe998eaad9a9ec7b1bec9aa4d8803a4042111ea4cddafe8e2f68d3d122faf90465df AUX wxGTK-ignore-c++-abi.patch 1657 BLAKE2B 5d865c83174f2540b798a2930f8d5ae8336f031214691fe7d5cd8c283faf9511fff260735d9dcd293e6377be0e96a6521e84ceae4560f2fef8fc7e7ed5642cd6 SHA512 649551eeacc9915f249ece1c3ed79959f0f0129e54373bfbe84ea5fbf2b8e0ba7778d6a22ac6f165e5d4e85a3ea4320274296b1b2a8e623acb11300fe44478f8 DIST wxGTK-3.0.4_p20190713.tar.xz 53640 BLAKE2B 89eabc44660f8f9b19fc850717eb83244a746f2f8c28bcec89fa9ccd1828f103df114bce24406ff14875220de86276f9e51870d58e716f0c94d310707f7eae4c SHA512 44a4e92ccc9c143a0e70e015116e952b0529001a3a1e23193d501826720a505259ead6feaa08de75b4a7a8753f8b16f5cc14e4bff5d15585870066ccd1de53b9 @@ -19,5 +20,5 @@ DIST wxWidgets-3.2.2.1.tar.bz2 27339515 BLAKE2B e761e768dbb32bf76dbabf27aa9feb63 EBUILD wxGTK-3.0.4-r5.ebuild 3752 BLAKE2B 57acf7f620095191b662e806496ddc5ed38fed912edb57d352b292be0ca65aa86ac547b06049a35ef2359cca0e6990887d133bbb1f7a1f75aa1be08b30bb3bef SHA512 cd84b28e0456e899ddf9bf84607fa9f411ca81efe064d2f7b015102186abaf175c150f26c7b61e109809f86b080d49f386927a01f41b53d0b8d05e18135561a9 EBUILD wxGTK-3.0.5.1-r1.ebuild 5495 BLAKE2B f3daf6569a27e61c3cb60eef9a29aea35305e48523ef6572639905e81757f12e5a41b9e93fecbfdcdb5bf55a29db7d47515d0e2c9c40630bc4b611fa4cc17665 SHA512 2718f47aed0f875407117f85b28f7ba385e2def712fe7be4256d94211ef0d56f7e5eee0f72cc94644500f93c6b5e75ea01c16009ea7065cf112b3d102c6c6a7b EBUILD wxGTK-3.2.1.ebuild 6886 BLAKE2B 00c0384db71bc25f73a390ab4c27c104b3b560e0bd149cf54cf2384830df82c02227afb556518e973c3eaf14a639119c5a0e6a87dd71d57d40edcb345da83223 SHA512 d234b1c37b35976fc7db54ec7f6663b1a7b22b9453ac2d0514033dd4093dd975593489912315f1244a7e94791e35a6604e211802e04f9152ec7f713f5edf89ad -EBUILD wxGTK-3.2.2.1-r1.ebuild 6982 BLAKE2B cf5c62a6c4cfb222385fb731f933059b77857e3f65cb9d2ba0e46d76556412758d4852f4e5d937d89f48a2a42a44ca6d53f03e2ff824ff266da4f11f35df2d3b SHA512 8e88421af65b4db361f4241cc88d5235901ee83556b226abfac7018adba6b836de5f3d4e5e3c51de9f1e9d68fdfd2ec0f1a8f6b7ddc72101571d9dac1827c294 +EBUILD wxGTK-3.2.2.1-r1.ebuild 7034 BLAKE2B 0c53f9767a12f69210d6dd8c54dce806bf6659f3926e63eacb63983d19292fc40522cbaef42bf645136784ee74de327797be565ddf3a1e68a6c6628aff40f978 SHA512 54878ea86ba9737255d072c4622b66a7f3cc0285854e5a5df6e1faa2bc3c0cf16c15df285dfb4253a6fa1d3f9b729ffd3d554828a387a0fe61bdc0ada7371771 MISC metadata.xml 756 BLAKE2B 336ffb3375ee9092de02d0808d0a44f7f5bcbc6e4a845c12b6466af0b91f3397c2b335e5433917361a060db43d6cb836cde0f87be2059214f314fa6726199e2d SHA512 190b72992c64b43b46e28ca2f730e1897a5f740ba211b859c816b4892256284feb579fbce06cb1939b774ae989dc68754f5a57f6375cfca50d7770d0c2ed47ed diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch b/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch new file mode 100644 index 000000000000..db351b29d648 --- /dev/null +++ b/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch @@ -0,0 +1,48 @@ +From f092f50b794b487e552e930b11d165a736fc8edb Mon Sep 17 00:00:00 2001 +From: Arsen Arsenović +Date: Sun, 2 Apr 2023 13:25:11 +0200 +Subject: [PATCH] configure: Remove flag deduplication logic + +Parsing compiler flags is a complex task that this function screws up. + +Bug: https://bugs.gentoo.org/903668 +--- + configure | 5 ++--- + configure.in | 5 ++--- + 2 files changed, 4 insertions(+), 6 deletions(-) + +diff --git a/configure b/configure +index a476a3c..a9b815b 100755 +--- a/configure ++++ b/configure +@@ -45550,9 +45550,8 @@ esac + + dedup_flags() + { +- printf "%s " "$@" | +- awk 'BEGIN { RS=" "; ORS=" " } +- { if ($0=="-arch" || $0=="-framework" || !seen[$0]++) print }' ++ # Gentoo: Don't hack out flags, parsing them is complex. ++ printf '%s ' "$@" + } + + WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"` +diff --git a/configure.in b/configure.in +index a4c4178..9cf9c30 100644 +--- a/configure.in ++++ b/configure.in +@@ -8570,9 +8570,8 @@ dnl flags which are explicitly allowed to occur multiple times, as all their + dnl occurrences must be preserved). + dedup_flags() + { +- printf "%s " "$@" | +- awk 'BEGIN { RS=" "; ORS=" " } +- { if ($0=="-arch" || $0=="-framework" || !seen[[$0]]++) print }' ++ # Gentoo: Don't hack out flags, parsing them is complex. ++ printf '%s ' "$@" + } + + WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"` +-- +2.40.0 + diff --git a/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild index 8071c1a865b4..7a0988e01d87 100644 --- a/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild +++ b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild @@ -83,6 +83,7 @@ PATCHES=( "${FILESDIR}/${PN}-3.2.1-configure-tests.patch" "${FILESDIR}/${PN}-3.2.1-wayland-control.patch" "${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch" + "${FILESDIR}/${PN}-3.2.2.1-dont-break-flags.patch" ) src_prepare() { -- cgit v1.2.3