summaryrefslogtreecommitdiff
path: root/dev-util/min-cscope
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-08 07:29:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-08 07:29:33 +0100
commit4cc852b4016d8aa1fa4d7a8b3911bebe1ed1da50 (patch)
tree63c3a168bb59a510954fae0dc96a9f4658d22b31 /dev-util/min-cscope
parentad75ca50360f9590325f0f709c091832b70eab1d (diff)
gentoo auto-resync : 08:10:2022 - 07:29:32
Diffstat (limited to 'dev-util/min-cscope')
-rw-r--r--dev-util/min-cscope/Manifest3
-rw-r--r--dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch11
-rw-r--r--dev-util/min-cscope/min-cscope-16.1.0-r2.ebuild (renamed from dev-util/min-cscope/min-cscope-16.1.0-r1.ebuild)7
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-util/min-cscope/Manifest b/dev-util/min-cscope/Manifest
index 85081e3dd177..c5f16bdf364b 100644
--- a/dev-util/min-cscope/Manifest
+++ b/dev-util/min-cscope/Manifest
@@ -1,4 +1,5 @@
+AUX min-cscope-16.1.0-pointer-type.patch 294 BLAKE2B 4f58f042ef618c42b6c1688887b72853b82401419f2604ac6fcf6165b665efd250d854085abfdd8c6b7ff5c1dc7185beb2734a947e0c8c8a5a79401a2afde554 SHA512 9622b37e12091ed66e0eda033659c0bee777dae23c07b10bba58e84f165c1e323aa29bb67a2fb08105aa84e723580ace3dec15be7c61c73fa36b52fa4a4f8e75
AUX min-cscope-16.1.0-tinfo.patch 1092 BLAKE2B 667ef81f62882781450fbc3445c858c8007a5d49904935ef549534bfbeb73b5e5cd18afa118260e8f34f1c0e035554e77ceab2abfd169ee57b59e9258b51f4a4 SHA512 1b6109add7cb38f60a557f2b7ecbf5ea8de0defe9bab8dc5a8e62f014d5b0833aa4a3646aec2b6c1fbff84e2692836066cfd755a7af3d28ccb3557dc3287919a
DIST min-cscope-16.1.0.tar.gz 382326 BLAKE2B 7d45df20c5d2decd9ee5127893cb97506420a19b42b371fbcc6bfae1ada2726deaef1ddf2750ed7c1744e5d90f6c65fd99ad71f5609de04d1afa03795ebb61d7 SHA512 434d6333758dbf72c320e08b3b705bbff6c67de8a1380295fe5971af1a2c4659dd3201c726fd318d7715b90f8a693a76599a8659ac45c76568e5a29a399a9c0a
-EBUILD min-cscope-16.1.0-r1.ebuild 672 BLAKE2B 27939ca0666d314c87bc8b6bd6f841e920432d3d7731ea196bb5208f359a977b711558071cdc90aa4e5b3d874c28eec38f4159ba6df4bbc88c89e0eaa7e8af4a SHA512 dcf7bf83ff892ec589492c62c75a3573ddf2a33c60dec8428b431ea079d64dd5c27c53b7e4f9674b2eed53a91a0249097fc5a0cc8da0b16489d0ff38adf65009
+EBUILD min-cscope-16.1.0-r2.ebuild 820 BLAKE2B 3a3777072c9e73396618f553fa0ac922de3ae2320bd8fc1d1e5e690663237d92b8bab538117ca7c340ed36184a06f48253797285eb8f4efa9958694df2049a0d SHA512 8a42bf2d63c9a77242f2109b6b82da802e1e0fcf83b1491ac4f6946c5aad5fd875f437e956c24b6bdb1bf6080093f7f3db2d168848f204f19a052142216382d0
MISC metadata.xml 249 BLAKE2B 9c3d74959e601021855d2c346b6fb1b08e25306703e25f9727e3ffbba5e02e7c5c70dce1e4bd380c340101bdcdfc6be04cc400ecfccc3cb79a0850db62fc96c7 SHA512 b953d3857d61743d96e7eb1bea68e137ddceaada089934c5714fbdfbfad6b7b34a9f4b56a0ee2ea0adc316c17af850f5f5223894c9e99da3344bb34816d7886d
diff --git a/dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch b/dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch
new file mode 100644
index 000000000000..6d54b253b501
--- /dev/null
+++ b/dev-util/min-cscope/files/min-cscope-16.1.0-pointer-type.patch
@@ -0,0 +1,11 @@
+Fix build with -Werror=incompatible-pointer-types that's due
+to become a default on clang16.
+
+https://bugs.gentoo.org/871162
+--- a/src/exec.c
++++ b/src/exec.c
+@@ -75,3 +75,3 @@
+ int exitcode = -1; /* initialize, to avoid warning */
+- const char *argv[BUFSIZ];
++ char *argv[BUFSIZ];
+ pid_t p;
diff --git a/dev-util/min-cscope/min-cscope-16.1.0-r1.ebuild b/dev-util/min-cscope/min-cscope-16.1.0-r2.ebuild
index 0d3a3575f8b8..1dd28afb54b3 100644
--- a/dev-util/min-cscope/min-cscope-16.1.0-r1.ebuild
+++ b/dev-util/min-cscope/min-cscope-16.1.0-r2.ebuild
@@ -15,10 +15,14 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug"
+RDEPEND="sys-libs/ncurses:="
+DEPEND="${RDEPEND}"
+
DOCS=( AUTHORS README{,.cscope} TODO )
PATCHES=(
"${FILESDIR}/${P}-tinfo.patch" # bug #678886
+ "${FILESDIR}/${P}-pointer-type.patch"
)
src_prepare() {
@@ -29,7 +33,8 @@ src_prepare() {
}
src_configure() {
- append-flags -I"${S}"/sort
+ # -D_GNU_SOURCE for qsort_r, bug #871162
+ append-cppflags -I"${S}"/sort -D_GNU_SOURCE
cmake_src_configure
}