diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /app-cdr/cddetect | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'app-cdr/cddetect')
-rw-r--r-- | app-cdr/cddetect/Manifest | 3 | ||||
-rw-r--r-- | app-cdr/cddetect/cddetect-2.1.ebuild | 12 | ||||
-rw-r--r-- | app-cdr/cddetect/files/cddetect-2.1-fix-include.patch | 9 |
3 files changed, 16 insertions, 8 deletions
diff --git a/app-cdr/cddetect/Manifest b/app-cdr/cddetect/Manifest index 14ea25c51f68..4cc13cceb4dd 100644 --- a/app-cdr/cddetect/Manifest +++ b/app-cdr/cddetect/Manifest @@ -1,3 +1,4 @@ +AUX cddetect-2.1-fix-include.patch 269 BLAKE2B a9997f7f32417386378a585de4ebd1a051896c07de4c26f6949f1bd49b323c5c1ba69adf9e961d272af77ccc28743d4f0ca710f02eff41c0fedbaf47d0553fc2 SHA512 c45972e5191a44822ba5ca1d52e8d77d9de41a337febf5c6b1fa8e89aa182faa1c7314444e7041d645bd4836d8d800cc034703916a87cad806d962d226b7f40f DIST cddetect-2.1.tar.gz 11779 BLAKE2B 2e71d923a37d8c1248e4fd0f33349bbec767ef39c31153de3615a5b19f071812e1064b49df5de8d380d2ef7d63adc3dc059bbf37bc9caa3421f70e42fee7f40b SHA512 1a67a17f1d26db8361fd72201afa108571fe8639d34e0bea6fd47a26ea6dfa9ff535c56fd14739d9ee551efdcf74c261e6e4b208e769d066926ee96c400ed54c -EBUILD cddetect-2.1.ebuild 561 BLAKE2B 9b464650ef4edf613180d807647e340980178d6b1015ad9db40d58a38ced3983c14270ae7041d48cf2db45aa0655657fc0e523d1c1c8f6955d098e1e877e3305 SHA512 98d96929cbf4397d7ed61213feea1cf0e5cdfbcddb51c108879dd588daae48a5a453d9d66fb005dcb3548bde68554297fa37b3b89bd89c9bce52ac34323ceb1d +EBUILD cddetect-2.1.ebuild 532 BLAKE2B 38c315944c766241be104aaad1ac49dea41f8fb8844aaddf093bff04cdca9bad96a2ed3676a8042d07d66d3127348418b4780d39dd017d695e436b63323387c7 SHA512 4bf0b7395fbaf1a1ae6f1a0e93b577db9df82e234a2c10e8ea0501f407ba5c925f75ed51ae50d18a2a66a862a5e0dd376a802fa7a29144cfffaae4bcca0adba6 MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/app-cdr/cddetect/cddetect-2.1.ebuild b/app-cdr/cddetect/cddetect-2.1.ebuild index 5de6bf19692a..ed051629ee1b 100644 --- a/app-cdr/cddetect/cddetect-2.1.ebuild +++ b/app-cdr/cddetect/cddetect-2.1.ebuild @@ -1,23 +1,21 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 + inherit toolchain-funcs -DESCRIPTION="A tool for detecting the type of a CD/DVD without mounting it" +DESCRIPTION="Tool for detecting the type of a CD/DVD without mounting it" HOMEPAGE="http://www.bellut.net/projects.html" SRC_URI="http://www.bellut.net/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" S=${WORKDIR} -src_prepare() { - sed -i -e '1i#include <limits.h>' ${PN}.c || die #337628 -} +PATCHES=( "${FILESDIR}"/"${P}"-fix-include.patch ) #337628 src_compile() { emake CC="$(tc-getCC)" CFLAGS="-Wall ${CFLAGS}" diff --git a/app-cdr/cddetect/files/cddetect-2.1-fix-include.patch b/app-cdr/cddetect/files/cddetect-2.1-fix-include.patch new file mode 100644 index 000000000000..77386abd1bc6 --- /dev/null +++ b/app-cdr/cddetect/files/cddetect-2.1-fix-include.patch @@ -0,0 +1,9 @@ +https://bugs.gentoo.org/337628 + +--- a/cddetect.c ++++ b/cddetect.c +@@ -1,3 +1,4 @@ ++#include <limits.h> + /* big parts taken from cdfs (C) 1999, 2000, 2001 by Michiel Ronsse + * relesed under the GPL v.2 + * more parts taken from isoinfo/isodump (W) 1993 Eric Youngdale, |