summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-06 19:22:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-06 19:22:30 +0100
commit744892aecb5cdf9ca0bbe504f7bbcdfb87b518fc (patch)
tree0b99b178b866e693a85d013eb47de3d1236e35b8 /dev-libs
parent275074c50dca7b941cc7cd7966a2ace71c29ecae (diff)
gentoo auto-resync : 06:10:2022 - 19:22:30
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/Manifest.gzbin95926 -> 95932 bytes
-rw-r--r--dev-libs/argtable/Manifest3
-rw-r--r--dev-libs/argtable/argtable-2.13-r3.ebuild (renamed from dev-libs/argtable/argtable-2.13-r2.ebuild)19
-rw-r--r--dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch16
4 files changed, 28 insertions, 10 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz
index f72f51045a36..dd62dc6d38ec 100644
--- a/dev-libs/Manifest.gz
+++ b/dev-libs/Manifest.gz
Binary files differ
diff --git a/dev-libs/argtable/Manifest b/dev-libs/argtable/Manifest
index 8110acd322dc..ebf9d417f2ae 100644
--- a/dev-libs/argtable/Manifest
+++ b/dev-libs/argtable/Manifest
@@ -1,3 +1,4 @@
+AUX argtable-2.13-Fix-implicit-function-declaration.patch 400 BLAKE2B 1d6efef6be2889c66d62dab4891881e701fbce79e118e0699f8acf91c901d1d1dffbabf92f9fe1353be06cdf00176813b9dbb071da500c57fc1dfe4656d85079 SHA512 f360192676e4840db4502037425f5f5ce9dfd88ea2d852c6677027258e6ebe3007169e56d5aa9c9b1766281231cf809a4e10253beabe1c4981c22aa33e62515e
DIST argtable2-13.tar.gz 3326444 BLAKE2B 8c78d56c2e1a53747cf480808064cb006644db50a2cb38adddd71eff07d4d7f6e5467c54eec4e5cbb729a7f639927b2d3283c6995bde54134d7a85e39788b87c SHA512 3d8303f3ba529e3241d918c0127a16402ece951efb964d14a06a3a7d29a252812ad3c44e96da28798871e9923e73a2cfe7ebc84139c1397817d632cae25c4585
-EBUILD argtable-2.13-r2.ebuild 982 BLAKE2B 229107a47b15974eaeb0e684268440bde31eff23d7c75a78c71f5912862fc232d24d81c3fc94d23bfc62dd18acbf1c9ac4bbae8c6e517845c17879d7be650a94 SHA512 f467b0bcdecb9f2006673bf6c2813d414dcf3c4ecba37eedb0b64bd0033d31430f14b990e499c7fda010f626a118f036e970e552e754b9bc96ca087b5f90dbe7
+EBUILD argtable-2.13-r3.ebuild 1016 BLAKE2B 7d21d3758654aeb4f92a595c576d5d7779a652fac589ddbcb677513cd228e3f9ac02f2ca261515bec1d89037dc608441d1e940f002cb3a140fccec48d4c84958 SHA512 fd6d6285907903cbda070a022cf9916b0dcd5ae5807d5d50feeaae0bcc4df0276cc8008bbbbde5e61760372ae92b657a7d442cc684aa3daa7eaf6d1d66f2d956
MISC metadata.xml 244 BLAKE2B fad63c2df07a5f9df8d76bdfefec496412e15b28921c5928e66d2ff1a4df11656d9b9a1e9e54eb35cbd69b7c46162236ca12bfb664540777bcfba27c04e5edd8 SHA512 fa47cca1b7f704deed476452a6d37d764d727f10039e8bfdfe62ce57b92e37ea2c39c1b2a26a97057ce14171f55e0076d8034e9520f13f481f29bf620863185d
diff --git a/dev-libs/argtable/argtable-2.13-r2.ebuild b/dev-libs/argtable/argtable-2.13-r3.ebuild
index 5ce3f4197fd4..22112e07aadc 100644
--- a/dev-libs/argtable/argtable-2.13-r2.ebuild
+++ b/dev-libs/argtable/argtable-2.13-r3.ebuild
@@ -3,20 +3,22 @@
EAPI=8
-DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss"
-HOMEPAGE="http://argtable.sourceforge.net/"
-
MY_PV="$(ver_rs 1 '-')"
MY_P=${PN}${MY_PV}
+DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss"
+HOMEPAGE="http://argtable.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
IUSE="doc debug examples static-libs"
-S="${WORKDIR}"/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.13-Fix-implicit-function-declaration.patch
+)
src_configure() {
econf \
@@ -25,20 +27,19 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install
- rm -rf "${D}"/usr/share/doc/${PF}/
+ default
- dodoc AUTHORS ChangeLog NEWS README
+ rm -rf "${ED}"/usr/share/doc/${PF}/
if use doc ; then
- cd "${S}/doc"
+ cd "${S}"/doc || die
dodoc *.pdf *.ps
docinto html
dodoc *.html *.gif
fi
if use examples ; then
- cd "${S}/example"
+ cd "${S}"/example || die
docinto examples
dodoc Makefile *.[ch] README.txt
fi
diff --git a/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch b/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch
new file mode 100644
index 000000000000..14ade74afaa6
--- /dev/null
+++ b/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch
@@ -0,0 +1,16 @@
+From febb2928d1e72c7adc914b2ef8e0611e1a5ea3fd Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Thu, 6 Oct 2022 18:10:52 +0100
+Subject: [PATCH] Fix implicit function declaration
+
+Bug: https://bugs.gentoo.org/871231
+--- a/src/arg_int.c
++++ b/src/arg_int.c
+@@ -29,6 +29,7 @@ USA.
+ /* #endif */
+
+ #include "argtable2.h"
++#include <ctype.h>
+ #include <limits.h>
+
+ /* local error codes */