diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-11 00:01:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-11 00:01:23 +0100 |
commit | c035b2b83f0e94c4b2e82184f00bcef874e6276b (patch) | |
tree | 8e1ab9b9e65cafbc237de0d455a13bb3c831de92 /sci-libs/plplot | |
parent | 17e5f1ea4a2e1c5664f96480ca46348d008e8711 (diff) |
gentoo auto-resync : 11:05:2024 - 00:01:22
Diffstat (limited to 'sci-libs/plplot')
-rw-r--r-- | sci-libs/plplot/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/plplot/files/plplot-5.15.0_p6-configure-c99.patch | 18 | ||||
-rw-r--r-- | sci-libs/plplot/plplot-5.15.0_p6-r1.ebuild (renamed from sci-libs/plplot/plplot-5.15.0_p6.ebuild) | 1 |
3 files changed, 21 insertions, 1 deletions
diff --git a/sci-libs/plplot/Manifest b/sci-libs/plplot/Manifest index 41811a3fadb9..85bbfb2572d3 100644 --- a/sci-libs/plplot/Manifest +++ b/sci-libs/plplot/Manifest @@ -1,4 +1,5 @@ +AUX plplot-5.15.0_p6-configure-c99.patch 512 BLAKE2B 340140b8113400784f484928c2ae87d3353b13fb18bdb2e8b5c8ea10c19b02a34b00fb5e095fad83d6d9319b39b5e0abe29e747135a5b1f005b7e9bbbaa66d71 SHA512 0fd6615b08c1029b897bb9e8693c3ab1945938b17eabe719611cf2ea1307b1dede1506542098922727f5fe57e26036098eeda8d026305c8d6ec19dcd02bc2c53 DIST plplot-5.15.0.tar.gz 15380293 BLAKE2B 41f359c4e86c7a26fe53a9d82a9f02aeb97b5b6f44abca590621640c56e50a62823e8a03165a939689f5456cee419b8292ea34faccd07641bd4a953b6f1d73fe SHA512 54533245569b724a7ef90392cc6e9ae65873e6cbab923df0f841c8b43def5e4307690894c7681802209bd3c8df97f54285310a706428f79b3340cce3207087c8 DIST plplot_5.15.0+dfsg2-6.debian.tar.xz 73416 BLAKE2B 2f0a9be0aea6d77b2c538f53a509636a6edca59eb930b7885da7ba915a0324d3cbe0e4b0ffe33a2a552ec7b8b679931e9eaa3e4810372b05ac3c0901ea9c6ee9 SHA512 0d64352eb08cb5bb003e8eac11c73533f6ecd08ad542cce002474d20ba4a899fd54b77f96b5e53656b551180fa693da820e7c40b18d6d43e20ea2c7377c36c69 -EBUILD plplot-5.15.0_p6.ebuild 7397 BLAKE2B b9fb57feaad48e52c018a4b82d383505758b2fb7b42d58b663b6f4018dbd1c1424d45281ca0db7cbc246b4bbfa31cd8115b7c15863e3881416b194dd66b9e51a SHA512 af9e52ac1f1168a72e81f10372e9f0cca32d1efcb73e3996b74f032083d7ad2c8a5077bc162cbc3edcd34df124924d2456ecdb7c11a88702ba71d2a96abae3ab +EBUILD plplot-5.15.0_p6-r1.ebuild 7455 BLAKE2B 0913a4126474a1ae1e035d51ec4abdc8f416ce490e9f73c026511d5f09446c92c7c7ff4e8da64f80952dd1a54bd2f0b099b0a0b0c8891826d0edf501f8752d42 SHA512 761c84380bb7f7da1abfee7ebbbeb5ed79d7cf98eaf39e4de3a8e6b9b8ddcb6f9d8cfd7a9c7bab408f042b1050dd1c995880cdbd5b19900bf54cd0de0c90e67b MISC metadata.xml 1421 BLAKE2B a15479caf11e0f90cb45613ee48ca2d4270a18b57b8f409d4687cee5c55f660fca46a8a2a36c3c1c4a5d02a4c964b1d8db6ea4112039af8bcda808e50b4bf1f1 SHA512 fc99a3225ce54af9945e8fec3cd96f9c75cdc74b8ad4d5362bd5b1529b3872eddd06a190ea9f1cafa727d28e3e2086a27ecd5db89afd993d844ba8f299f2f317 diff --git a/sci-libs/plplot/files/plplot-5.15.0_p6-configure-c99.patch b/sci-libs/plplot/files/plplot-5.15.0_p6-configure-c99.patch new file mode 100644 index 000000000000..60bb7aaf4501 --- /dev/null +++ b/sci-libs/plplot/files/plplot-5.15.0_p6-configure-c99.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/879761 +https://sourceforge.net/p/plplot/patches/37/ + +Avoid implicitly declaring exit. Future compilers will not support +implicit function declarations, so this cmake probe will always fail. + +--- a/cmake/modules/TestForHighBitCharacters.c ++++ b/cmake/modules/TestForHighBitCharacters.c +@@ -17,6 +17,6 @@ int + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) +- exit(1); +- exit (0); ++ return 1; ++ return 0; + } + diff --git a/sci-libs/plplot/plplot-5.15.0_p6.ebuild b/sci-libs/plplot/plplot-5.15.0_p6-r1.ebuild index 57b6884acdff..9ea598c98339 100644 --- a/sci-libs/plplot/plplot-5.15.0_p6.ebuild +++ b/sci-libs/plplot/plplot-5.15.0_p6-r1.ebuild @@ -120,6 +120,7 @@ src_prepare() { for p in $(<"${WORKDIR}"/debian/patches/series) ; do eapply -p1 "${WORKDIR}/debian/patches/${p}" done + eapply "${FILESDIR}"/${PN}-5.15.0_p6-configure-c99.patch # avoid installing license sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die |