diff options
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 14077 -> 14076 bytes | |||
-rw-r--r-- | app-editors/gvim/Manifest | 3 | ||||
-rw-r--r-- | app-editors/gvim/files/vim-0.0.0828-configure-clang16.patch | 28 | ||||
-rw-r--r-- | app-editors/gvim/gvim-9.0.0828-r1.ebuild (renamed from app-editors/gvim/gvim-9.0.0828.ebuild) | 4 | ||||
-rw-r--r-- | app-editors/vim-core/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch | 28 | ||||
-rw-r--r-- | app-editors/vim-core/vim-core-9.0.0828-r1.ebuild (renamed from app-editors/vim-core/vim-core-9.0.0828.ebuild) | 4 | ||||
-rw-r--r-- | app-editors/vim/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vim/files/vim-0.0.0828-configure-clang16.patch | 28 | ||||
-rw-r--r-- | app-editors/vim/vim-9.0.0828-r1.ebuild (renamed from app-editors/vim/vim-9.0.0828.ebuild) | 5 |
10 files changed, 102 insertions, 4 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex 1bac81a3ee2e..26cb23b41c23 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/gvim/Manifest b/app-editors/gvim/Manifest index f3b83f287d3d..107493bcff69 100644 --- a/app-editors/gvim/Manifest +++ b/app-editors/gvim/Manifest @@ -1,5 +1,6 @@ AUX gvim-completion 1219 BLAKE2B 8a8d8ac5b42be0103da00ecda3445f24993df0b2762310dcc1a9e1cf892048b57c02b7da2ea19d900c40b782cabeda4c6f7b79b9b7b44b6fb7ad7ae723b46f88 SHA512 08bb32a3c9fcbdd00977b7343dda9cda44b389a13b1717ebddb462e22b6cf9d4db37d5b49ff752b931e305bf57e8f9f4a7d6e32ea25f8acd1b00e5f8320ac132 AUX gvimrc-r1 990 BLAKE2B 5fc0b805458aff22485e3e180ca8c32a62f2cfe49572edffa5725d2cfc4ed9a7bded20c1a5cd1f19f41e0849e3ca08be4798ff23edd66a92bcbb31aee16c433a SHA512 f6538550f1ecadcccf74a6bbd5a6a0b71d18a234a854d1a0179144125555c42280000df9523e7c3d5a8b449f421af7bafcca1034951f085279cee0dd1160808a +AUX vim-0.0.0828-configure-clang16.patch 892 BLAKE2B 52c2c344f76856f3d6ed3559950e3ae6e0b118c2ec5b4ba3a39ae8f39cd7759ddac44479562071567690de47152e506dc07f441b910d443da1597e0798f6bd18 SHA512 d6653f7274fce3b703f798ae56a714da1c576016e4a13b950b5492851bd3864ee33ce8b486b12f9830bdc0792d4b4f1378a3d7ec5a3a36f550183f06e1dc6543 DIST vim-9.0.0099.tar.gz 16712565 BLAKE2B b3277ebda0bb40601d995935422006d1a266bb862be612e69abd057a7342d13457ded5cb4743cf43a09b7d2001438f5a426ba12c30947bb7c193188c5fc13cf7 SHA512 ca0dea7b7fd78cf9c7cd4656611d066540f9d81ab17bcb75c79f0e989bdcfb769940ea29f75445c554b159e9eb3b2c4f9d77448254c3e4e4457b1bf721936498 DIST vim-9.0.0399.tar.gz 16833387 BLAKE2B f9d6588920b49ef32b82d012e1c4f8a34dc505267b67027a3b4302dd99d7987645c29a91fdb234fffa873b342488b4d9c85d05d3fe7a332042781881a61bea5e SHA512 6b261bf3aaa355e7a42de1785b134bccc51086495578730b9bc3b8e048679caa3a901e576a360cba5f1aa4d164c7f162a3f916e945b3f5f71e893ea30e0ca826 DIST vim-9.0.0655.tar.gz 16804127 BLAKE2B e021ff4dd370cdd9b39fb9df0a12309215abd780ec297760b92b6caf924882465b28f9ba65d94ad75a229eb01c8f393f24a29a11919a96d78bb6fb45ef2971e3 SHA512 aa267941e835eecbeeffa7989fb525bdf4269f84d9c88d135a26d74ab7d025487863405b6e0f1391023c30193a122ed3e85a7a71bd4dc48058f3fe3377798f38 @@ -8,6 +9,6 @@ DIST vim-patches-vim-9.0.0049-patches.tar.gz 2743 BLAKE2B dff3e215b235e1cbc2c62b EBUILD gvim-9.0.0099.ebuild 10278 BLAKE2B 3668fa202bb09fc6f0d9e7c87dbabe712ae6c012ed08fb95d4eb809610dced52172c1c0eeb23521cd836ae3d1671d140ae7549d73594f67f03ed2ad8ddbbab35 SHA512 f899e8b3ed7197149407404b59c64a845986a51978c5a09256eb5943a53c3d8fac3bd167d7b92345ec1ceeada90c5efedeba93ec8b6052642c08094669baa56c EBUILD gvim-9.0.0399.ebuild 10339 BLAKE2B 1edfc1e728dd46afdb8fbf2c40439e6710b3adf0ea2b904d56df4825ea61d830c93b64420a7a3c3c17de9c75ebe6e48e3714582a3b93a69b4698b0013600aa78 SHA512 79ad2ab4fa8620079db9a61d22b202a22cb5481ccb802be3152f05d2a8685aca2aec1de2d6eb68604ffecd6ebb5248ab084abd292c9a158edc1d5c328a1ac6eb EBUILD gvim-9.0.0655.ebuild 10339 BLAKE2B 1edfc1e728dd46afdb8fbf2c40439e6710b3adf0ea2b904d56df4825ea61d830c93b64420a7a3c3c17de9c75ebe6e48e3714582a3b93a69b4698b0013600aa78 SHA512 79ad2ab4fa8620079db9a61d22b202a22cb5481ccb802be3152f05d2a8685aca2aec1de2d6eb68604ffecd6ebb5248ab084abd292c9a158edc1d5c328a1ac6eb -EBUILD gvim-9.0.0828.ebuild 10339 BLAKE2B 1edfc1e728dd46afdb8fbf2c40439e6710b3adf0ea2b904d56df4825ea61d830c93b64420a7a3c3c17de9c75ebe6e48e3714582a3b93a69b4698b0013600aa78 SHA512 79ad2ab4fa8620079db9a61d22b202a22cb5481ccb802be3152f05d2a8685aca2aec1de2d6eb68604ffecd6ebb5248ab084abd292c9a158edc1d5c328a1ac6eb +EBUILD gvim-9.0.0828-r1.ebuild 10404 BLAKE2B 98eecd987e1ba9f53e8f23eb686d2858c573e2348f9dc10ccedcce6ca8e868a294c81a68ba57fb46686bdfda1c16bf4b3b4b6b536e69ba7d550f9fea2c98301e SHA512 3f6ace071004e35aec904ea9f8e585186c758e44df0359d91088ac7c0ae12daecdf4dd2717385c94239e610826fe05d25af40899e45675df25898b43a5c8b5e1 EBUILD gvim-9999.ebuild 10339 BLAKE2B 1edfc1e728dd46afdb8fbf2c40439e6710b3adf0ea2b904d56df4825ea61d830c93b64420a7a3c3c17de9c75ebe6e48e3714582a3b93a69b4698b0013600aa78 SHA512 79ad2ab4fa8620079db9a61d22b202a22cb5481ccb802be3152f05d2a8685aca2aec1de2d6eb68604ffecd6ebb5248ab084abd292c9a158edc1d5c328a1ac6eb MISC metadata.xml 665 BLAKE2B e2c26deb3dec211020737636cbaec659df9c8e6b54425eae54c323465a6e2b3eb2fbe0e629223b18a533d0996a282e290976db7e6570ceb58130ab5b43a7426d SHA512 cfe046ae0d1e6b9bcf72af4568838bae860907ab63c018bfae4433d51c066d180df2e4480d933c60cb8bc9216cd8108667e3f644e843002e92dc7dad8b869d94 diff --git a/app-editors/gvim/files/vim-0.0.0828-configure-clang16.patch b/app-editors/gvim/files/vim-0.0.0828-configure-clang16.patch new file mode 100644 index 000000000000..e202a9dd3caa --- /dev/null +++ b/app-editors/gvim/files/vim-0.0.0828-configure-clang16.patch @@ -0,0 +1,28 @@ +https://github.com/vim/vim/pull/11496 + +From 360b569f86b851c37e32b7cfaec079823188ff27 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 4 Nov 2022 03:18:23 +0000 +Subject: [PATCH] configure.ac: Fix -Wimplicit-int + +Clang 16 makes -Wimplicit-int an error by default. Fixes errors like: +``` +error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] +``` + +We already use proper declarations with every other test anyway, so +let's be consistent. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/src/configure.ac ++++ b/src/configure.ac +@@ -3654,7 +3654,7 @@ dnl check if struct sigcontext is defined (used for SGI only) + AC_MSG_CHECKING(for struct sigcontext) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include <signal.h> +-test_sig() ++int test_sig() + { + struct sigcontext *scont; + scont = (struct sigcontext *)0; + diff --git a/app-editors/gvim/gvim-9.0.0828.ebuild b/app-editors/gvim/gvim-9.0.0828-r1.ebuild index 41d899a1c67d..579921d9d43e 100644 --- a/app-editors/gvim/gvim-9.0.0828.ebuild +++ b/app-editors/gvim/gvim-9.0.0828-r1.ebuild @@ -81,6 +81,10 @@ PDEPEND="!minimal? ( app-vim/gentoo-syntax )" # various failures (bugs #630042 and #682320) RESTRICT="test" +PATCHES=( + "${FILESDIR}"/vim-0.0.0828-configure-clang16.patch +) + pkg_setup() { # people with broken alphabets run into trouble. bug 82186. unset LANG LC_ALL diff --git a/app-editors/vim-core/Manifest b/app-editors/vim-core/Manifest index 37cd62f8d984..654de370d2b1 100644 --- a/app-editors/vim-core/Manifest +++ b/app-editors/vim-core/Manifest @@ -1,4 +1,5 @@ AUX gvim.svg 4584 BLAKE2B 53d896f90404df6b185d1f4404c22e6bd6035722beb61d2223a6003e7c274cdfd4d97d7274346427d873a8e98a4ad32321c0a3ceab2b436124f90c707045b233 SHA512 78f5fb460281ab5d8b0ff6e28bf24231c1ade5ae46caab2e2d345d82b983ada7d945dd7d603b3e470c77dbd1eb329027852b6ba22afc441d64a1b66a1ee3867a +AUX vim-0.0.0828-configure-clang16.patch 892 BLAKE2B 52c2c344f76856f3d6ed3559950e3ae6e0b118c2ec5b4ba3a39ae8f39cd7759ddac44479562071567690de47152e506dc07f441b910d443da1597e0798f6bd18 SHA512 d6653f7274fce3b703f798ae56a714da1c576016e4a13b950b5492851bd3864ee33ce8b486b12f9830bdc0792d4b4f1378a3d7ec5a3a36f550183f06e1dc6543 AUX vim-9.0-fix-create-timer-for-cros-compiling.patch 851 BLAKE2B 27b7e6db6a75a5b58e90f57de969e5c7c57ce663ec243cfac8391b9befb52da776245c0255694b335e17251d1423264ff12ba1cfcad2a2957f6c6d05b62c9967 SHA512 271e04e1e683de89cf77aa9d48d502382496fa1b2176ca511d4cbf5cecf9a026442c8142d0cf8d273c23d15f81fdc26f9be00dff91cd516e563f2b2dc2937f9b AUX vimrc-r6 7488 BLAKE2B 959724b9fbb54755553ae6448bf7ff9991288a2473af122ec769157060465559c7fef6481f1e773936df1d3b7c2344376bb8ea405542b7b17b2deb8d03544623 SHA512 60dcb1d954103d3fc9943c884b9891627adf70801d819dc65972887d516720b5a2db0db234ba891cca7269e0b117b73f34ab6dee851bc057b9abf518b52e967e AUX xxd-completion 461 BLAKE2B 1f36c4877fffd68e951d80c1a64cd2d458d92555a99fd06e29513da8caa6c28c27e44131b2873258e3ff5a0ab232d66f75a8f051ccf7a4d940b3b0102e6967dd SHA512 fc92426ea657e86ff765aa5a60736cdc70db938156dd8946db0a30c54d3f557bd8af421f1713bd750e779ccacd73f8f290a12a5e71ed48259fe1e6dece2de19c @@ -10,6 +11,6 @@ DIST vim-patches-vim-9.0.0049-patches.tar.gz 2743 BLAKE2B dff3e215b235e1cbc2c62b EBUILD vim-core-9.0.0099.ebuild 7207 BLAKE2B 351af53baf2e0419a2e6c6531cdfed3bc1461073a5561616164b3ce1a6090d8da3ba65befd7c256017cf4da91b0183c6acdbe38a59d94af68ec6a477207a7823 SHA512 35e4db86f6988c1a74649e8f636d97a7724efa6ea0ec6bdfe11f5dcdcd3e4b2b64688deaf786837340127c2a38e7b8882314459e5542fb5d31be23cd9ef8d935 EBUILD vim-core-9.0.0399.ebuild 7031 BLAKE2B 327ebdb05ad045ff422ffb089a6d49b9527b3bce61268d139d5c65d240eded17e1bb66feadb4c27fdfcbbd774de157d76e823b7489bc471308011c366a765c3f SHA512 3a65402a0ac4cc7a7a3fd7740efaa73a1c8068dde513b5d3f839ef23efc4aa836840f321d7bdee6085ba775b625b90463c17502b4829d06c9b5198c836116023 EBUILD vim-core-9.0.0655.ebuild 7031 BLAKE2B 327ebdb05ad045ff422ffb089a6d49b9527b3bce61268d139d5c65d240eded17e1bb66feadb4c27fdfcbbd774de157d76e823b7489bc471308011c366a765c3f SHA512 3a65402a0ac4cc7a7a3fd7740efaa73a1c8068dde513b5d3f839ef23efc4aa836840f321d7bdee6085ba775b625b90463c17502b4829d06c9b5198c836116023 -EBUILD vim-core-9.0.0828.ebuild 7031 BLAKE2B 327ebdb05ad045ff422ffb089a6d49b9527b3bce61268d139d5c65d240eded17e1bb66feadb4c27fdfcbbd774de157d76e823b7489bc471308011c366a765c3f SHA512 3a65402a0ac4cc7a7a3fd7740efaa73a1c8068dde513b5d3f839ef23efc4aa836840f321d7bdee6085ba775b625b90463c17502b4829d06c9b5198c836116023 +EBUILD vim-core-9.0.0828-r1.ebuild 7096 BLAKE2B 255e993d1c86c0fa0de57d5ba7f2835133a021ac48aeffea19085a210b5b30cd5fe017fd69d2bf690d6a67afb5cd4bc4d4d984e61ad05faa463935b97796b8a7 SHA512 014db8ff80c6d6c77734db3255cb65c5cd25e6300435ed6e54ea2506ae9b2745a1220c5ab6e5f6891bfd188b80d0942e63ddd1462692776f8e9b947e8e6cdb8c EBUILD vim-core-9999.ebuild 7031 BLAKE2B 327ebdb05ad045ff422ffb089a6d49b9527b3bce61268d139d5c65d240eded17e1bb66feadb4c27fdfcbbd774de157d76e823b7489bc471308011c366a765c3f SHA512 3a65402a0ac4cc7a7a3fd7740efaa73a1c8068dde513b5d3f839ef23efc4aa836840f321d7bdee6085ba775b625b90463c17502b4829d06c9b5198c836116023 MISC metadata.xml 373 BLAKE2B ed379c0c7c1b4317edd219c1257015713213d1b19255435ad216273def371f59f88ea7f3e72caf99b6b8d53b7ace2691347c8b06e5961bc4e91ac34ae77d0622 SHA512 58485928380299dee5f390b2af01dd36f4d4ed2f30fc5d8e400f0bef18f00b62b060e865b3cd24292289264870ebe89397d19d8f068b402a5748f569eb75efe7 diff --git a/app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch b/app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch new file mode 100644 index 000000000000..e202a9dd3caa --- /dev/null +++ b/app-editors/vim-core/files/vim-0.0.0828-configure-clang16.patch @@ -0,0 +1,28 @@ +https://github.com/vim/vim/pull/11496 + +From 360b569f86b851c37e32b7cfaec079823188ff27 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 4 Nov 2022 03:18:23 +0000 +Subject: [PATCH] configure.ac: Fix -Wimplicit-int + +Clang 16 makes -Wimplicit-int an error by default. Fixes errors like: +``` +error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] +``` + +We already use proper declarations with every other test anyway, so +let's be consistent. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/src/configure.ac ++++ b/src/configure.ac +@@ -3654,7 +3654,7 @@ dnl check if struct sigcontext is defined (used for SGI only) + AC_MSG_CHECKING(for struct sigcontext) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include <signal.h> +-test_sig() ++int test_sig() + { + struct sigcontext *scont; + scont = (struct sigcontext *)0; + diff --git a/app-editors/vim-core/vim-core-9.0.0828.ebuild b/app-editors/vim-core/vim-core-9.0.0828-r1.ebuild index 9412ba51653d..e078361724fc 100644 --- a/app-editors/vim-core/vim-core-9.0.0828.ebuild +++ b/app-editors/vim-core/vim-core-9.0.0828-r1.ebuild @@ -30,6 +30,10 @@ IUSE="nls acl minimal" DEPEND=">=sys-libs/ncurses-5.2-r2:0" BDEPEND="sys-devel/autoconf" +PATCHES=( + "${FILESDIR}"/vim-0.0.0828-configure-clang16.patch +) + pkg_setup() { # people with broken alphabets run into trouble. bug #82186. unset LANG LC_ALL diff --git a/app-editors/vim/Manifest b/app-editors/vim/Manifest index aa69d143b2ee..d537271de2e8 100644 --- a/app-editors/vim/Manifest +++ b/app-editors/vim/Manifest @@ -1,3 +1,4 @@ +AUX vim-0.0.0828-configure-clang16.patch 892 BLAKE2B 52c2c344f76856f3d6ed3559950e3ae6e0b118c2ec5b4ba3a39ae8f39cd7759ddac44479562071567690de47152e506dc07f441b910d443da1597e0798f6bd18 SHA512 d6653f7274fce3b703f798ae56a714da1c576016e4a13b950b5492851bd3864ee33ce8b486b12f9830bdc0792d4b4f1378a3d7ec5a3a36f550183f06e1dc6543 AUX vim-9.0-fix-create-timer-for-cros-compiling.patch 851 BLAKE2B 27b7e6db6a75a5b58e90f57de969e5c7c57ce663ec243cfac8391b9befb52da776245c0255694b335e17251d1423264ff12ba1cfcad2a2957f6c6d05b62c9967 SHA512 271e04e1e683de89cf77aa9d48d502382496fa1b2176ca511d4cbf5cecf9a026442c8142d0cf8d273c23d15f81fdc26f9be00dff91cd516e563f2b2dc2937f9b AUX vim-completion 1004 BLAKE2B dea4230a8d2a57fd1af18df4037504a44382a97ff672410e987cb287d802c964baa502da4d08f09cb8684307481fec503c1d8cae7f4f6e61500f1cb06033a2c4 SHA512 dccf663a93efdf2ec3be69f49e418a0ef66277e2fae6c12287adde772592e19f5130388a04242121846f1dae39f78b30780c99dc6fe1b847f4f08354bda3cc41 DIST vim-9.0.0099.tar.gz 16712565 BLAKE2B b3277ebda0bb40601d995935422006d1a266bb862be612e69abd057a7342d13457ded5cb4743cf43a09b7d2001438f5a426ba12c30947bb7c193188c5fc13cf7 SHA512 ca0dea7b7fd78cf9c7cd4656611d066540f9d81ab17bcb75c79f0e989bdcfb769940ea29f75445c554b159e9eb3b2c4f9d77448254c3e4e4457b1bf721936498 @@ -8,6 +9,6 @@ DIST vim-patches-vim-9.0.0049-patches.tar.gz 2743 BLAKE2B dff3e215b235e1cbc2c62b EBUILD vim-9.0.0099-r1.ebuild 10885 BLAKE2B 03c7aefe54ef35a1e92d30ae049b8bf2262edcc14bca2ad80d730ce6021e4032c24223fb7b15881c84f76ad725ed35c8adc3da6216d6f9467b1969c28a44418c SHA512 5893d97f42c31f1d3c8d930b59347020ac2f5a2645f8fe7f98973480137aff50d4b021d6b6d4df412dfb9ebde9129383e979f9c7e2b58c4f39c69d2e57fbd00c EBUILD vim-9.0.0399.ebuild 10820 BLAKE2B dbae07f9b4f3d4055f11c7aa182a0e4e51f867067e8a5587412010babc207e73a92b044945bb314598d98a406af2598b2e74896b63465fe2ae20c9a659c68ed3 SHA512 1e1c7f3c03a61bb60ea8452673a7923487e46870cafc5b2b973082169f17272aea47b6cba5bb41e3a93e5c9cf588f08130170ff46c4a0cf3b64941c17ee2cbf0 EBUILD vim-9.0.0655-r1.ebuild 10866 BLAKE2B 7cdf9130232f24c4909bb02fcf083e75b8401491d7351ace16ad37d7b8530d65f66a8bb90909c7fb6ac5eb826a397c7e6e53ff27f6dfdd3ae9ed6d105aaf0e7b SHA512 598b838629b7f002872566302348b4325545ae58ca6b9c438d1121fc2547eaab44e4f7e0fb1f1769f249dfc53494517bf9844fa7598387a9b8121c8c91cd00e2 -EBUILD vim-9.0.0828.ebuild 10866 BLAKE2B 7cdf9130232f24c4909bb02fcf083e75b8401491d7351ace16ad37d7b8530d65f66a8bb90909c7fb6ac5eb826a397c7e6e53ff27f6dfdd3ae9ed6d105aaf0e7b SHA512 598b838629b7f002872566302348b4325545ae58ca6b9c438d1121fc2547eaab44e4f7e0fb1f1769f249dfc53494517bf9844fa7598387a9b8121c8c91cd00e2 +EBUILD vim-9.0.0828-r1.ebuild 10930 BLAKE2B aea35e737cb0b3840deb1c1babb612d5e18c1b588dd9725d259164616da19617e47da056b3d3697b3bbf94535a511dcb913ae5d2b30a9fc7f9b842a1bec7a3b4 SHA512 1dea6e31584bca5c68e975b1e77c8b1074b32531ce995887aa22d7c2af72bcb4605201906ef045140ee4ee0ea21387be34461914ca641ae2651ccfe79cfd4f29 EBUILD vim-9999.ebuild 10866 BLAKE2B 7cdf9130232f24c4909bb02fcf083e75b8401491d7351ace16ad37d7b8530d65f66a8bb90909c7fb6ac5eb826a397c7e6e53ff27f6dfdd3ae9ed6d105aaf0e7b SHA512 598b838629b7f002872566302348b4325545ae58ca6b9c438d1121fc2547eaab44e4f7e0fb1f1769f249dfc53494517bf9844fa7598387a9b8121c8c91cd00e2 MISC metadata.xml 891 BLAKE2B 00a55660fecbeca3df9b50e7400510fb92bbcdd42ba588725580c153d74a4731b31dd0ebaade4f60a4db88c695a7f60663773d63046c1b38aab0363520b8858d SHA512 76eebfe4d34eb609b29946b724ae450916eeab2573edf0f5aa87325f1e9abc8a2ca45d7abe3bfa9d996670d90e7cde17cb84662f69502a4b4a5b44b14b4c8890 diff --git a/app-editors/vim/files/vim-0.0.0828-configure-clang16.patch b/app-editors/vim/files/vim-0.0.0828-configure-clang16.patch new file mode 100644 index 000000000000..e202a9dd3caa --- /dev/null +++ b/app-editors/vim/files/vim-0.0.0828-configure-clang16.patch @@ -0,0 +1,28 @@ +https://github.com/vim/vim/pull/11496 + +From 360b569f86b851c37e32b7cfaec079823188ff27 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 4 Nov 2022 03:18:23 +0000 +Subject: [PATCH] configure.ac: Fix -Wimplicit-int + +Clang 16 makes -Wimplicit-int an error by default. Fixes errors like: +``` +error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] +``` + +We already use proper declarations with every other test anyway, so +let's be consistent. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/src/configure.ac ++++ b/src/configure.ac +@@ -3654,7 +3654,7 @@ dnl check if struct sigcontext is defined (used for SGI only) + AC_MSG_CHECKING(for struct sigcontext) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + #include <signal.h> +-test_sig() ++int test_sig() + { + struct sigcontext *scont; + scont = (struct sigcontext *)0; + diff --git a/app-editors/vim/vim-9.0.0828.ebuild b/app-editors/vim/vim-9.0.0828-r1.ebuild index f9e1c2239e75..0bb399988a93 100644 --- a/app-editors/vim/vim-9.0.0828.ebuild +++ b/app-editors/vim/vim-9.0.0828-r1.ebuild @@ -66,6 +66,10 @@ BDEPEND=" " PDEPEND="!minimal? ( app-vim/gentoo-syntax )" +PATCHES=( + "${FILESDIR}"/vim-0.0.0828-configure-clang16.patch +) + pkg_setup() { # people with broken alphabets run into trouble. bug #82186. unset LANG LC_ALL @@ -76,7 +80,6 @@ pkg_setup() { } src_prepare() { - if [[ ${PV} != 9999* ]] ; then # Gentoo patches to fix runtime issues, cross-compile errors, etc eapply "${WORKDIR}"/vim-patches-vim-9.0.0049-patches |