diff options
Diffstat (limited to 'app-cdr/cuegen')
-rw-r--r-- | app-cdr/cuegen/Manifest | 5 | ||||
-rw-r--r-- | app-cdr/cuegen/cuegen-1.2.0-r1.ebuild (renamed from app-cdr/cuegen/cuegen-1.2.0.ebuild) | 13 | ||||
-rw-r--r-- | app-cdr/cuegen/files/cuegen-1.2.0-fix-build-system.patch | 5 | ||||
-rw-r--r-- | app-cdr/cuegen/files/cuegen-1.2.0-missing-includes.patch | 17 |
4 files changed, 30 insertions, 10 deletions
diff --git a/app-cdr/cuegen/Manifest b/app-cdr/cuegen/Manifest index 5e913cd120de..24a73e1c33d1 100644 --- a/app-cdr/cuegen/Manifest +++ b/app-cdr/cuegen/Manifest @@ -1,4 +1,5 @@ -AUX cuegen-1.2.0-fix-build-system.patch 260 BLAKE2B 9318ece2533fd138b6666562d564fd6d6fb7fd2891e99207b4f7c65e2e75a43950ce10756c8fc82f02d08ae6090568c13a8abce48a0e6e800d7d21ceb674f2fc SHA512 438b0a306e149e76d4e63bb6206f2296f2ebd6bcaa960ab4f8778188ec4ccb5a2497126d8d6b4076a779a92c2fa3f12b125d2b5ff59332b690250f5c03b5f4ee +AUX cuegen-1.2.0-fix-build-system.patch 323 BLAKE2B 27a20cbd8325d1323029122931a0ae0b5cbeaec0b5c13bfdf0e3ae314426f36daf9753d2bcdb0f33f963fc148ab73c844da61dfd3efdebdcd6a9fd2e5e1b774e SHA512 3a596b936aee698cd1df28b9c575a3563602ec5e12788c080aef69255125370f237c9fac5b14bdea1c4b0ebd48726a2b958b484c35711a5f55c3c563bbdae2be +AUX cuegen-1.2.0-missing-includes.patch 284 BLAKE2B 613f9932506e21aa0e969769bef562c5e2544f90adcfe04da4ae0deac85f6563c9060567fe28759c3c73b8b800dd812629b50d79085bc4bb3cca61210ab5957e SHA512 85a8d9ce0a5822552a7c840add75489c0165aef05b573d476f1cc5b1d3e54c9a393aa61c921a098beabbbf70776fd6f113e929b4e90523aef2c4d501588d558c DIST cuegen-1.2.0.tar.gz 4411 BLAKE2B 1f728200823c1121fdb165ee6af1f41cf8ac79e867cc173869843775d36d13ae6798f080b3a7c05d3f36c9fa8e0634edd9f09af5281d19165bb1c24a1ed3e9e1 SHA512 b1da7686944299994b8a04e3253aabc9c6b262f5f2d6d343d0ddd9b06d2c4b1e30441cfc9be6032675148e8d3146709924a486ef004102e02b5f90af7127d58e -EBUILD cuegen-1.2.0.ebuild 608 BLAKE2B 1afc8988e0a854a8599ec1269a1f05ef872d2e3ed11455a752ef40c169ab0eee3f0a14b1c9ba4a33ee7264f07c02b8d9eb9f5df799d693dac76e1e82c97dab65 SHA512 69eb807758b3d57a389ad32bc777b14c031abf4279c47b7ec831b391502e6def2348c26ef6750ffa741ce007547da3455411c4ee9ab86eaee8090e21a748a4b6 +EBUILD cuegen-1.2.0-r1.ebuild 570 BLAKE2B 69b89fddd1af03820a37b16942c8d45253987c7643d0e34db65316f0d8b41ae6ce7035a8bb92dec65565172c0cc267494eb349a85b8c9a03c0f33089f366cad8 SHA512 ce084b2703cf2c0722376a52c9b3a1f4474a85c01a3cfa8739cd634828276e8732d2214483c4c86ce96fd9980655f893ba50b0de18066cc02f4cea3cb5650112 MISC metadata.xml 399 BLAKE2B 1443ed2f7aa0c03d772d73bcb5bd45dc6722ef01819b9f36fe34931b6135aace7fc954c2a17687a78da28f86bfb9239e849bd3abd97f859574d1d042c31a9697 SHA512 d32e4ca77f79fbefd7acd261a7a0512cca77346b6f4ab79e279e1f0f8adf6eced362e0a75b715921fb60b786b03fc22b1311c2a8c6bbb16ed22ac9b4659f2698 diff --git a/app-cdr/cuegen/cuegen-1.2.0.ebuild b/app-cdr/cuegen/cuegen-1.2.0-r1.ebuild index 2f72c4191258..85cb4049484a 100644 --- a/app-cdr/cuegen/cuegen-1.2.0.ebuild +++ b/app-cdr/cuegen/cuegen-1.2.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit flag-o-matic toolchain-funcs +inherit toolchain-funcs DESCRIPTION="CUEgen is a FLAC-compatible cuesheet generator for Linux" HOMEPAGE="http://www.cs.man.ac.uk/~slavinp/cuegen.html" @@ -12,12 +12,13 @@ SRC_URI="http://www.cs.man.ac.uk/~slavinp/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -PATCHES=( "${FILESDIR}"/${PN}-1.2.0-fix-build-system.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-1.2.0-fix-build-system.patch + "${FILESDIR}"/${PN}-1.2.0-missing-includes.patch +) src_configure() { - append-cflags -W -Wall -Wstrict-prototypes -Wmissing-prototypes tc-export CC } diff --git a/app-cdr/cuegen/files/cuegen-1.2.0-fix-build-system.patch b/app-cdr/cuegen/files/cuegen-1.2.0-fix-build-system.patch index 614ec59f905d..fa54235d0e4f 100644 --- a/app-cdr/cuegen/files/cuegen-1.2.0-fix-build-system.patch +++ b/app-cdr/cuegen/files/cuegen-1.2.0-fix-build-system.patch @@ -1,11 +1,12 @@ --- a/Makefile +++ b/Makefile -@@ -1,9 +1 @@ +@@ -1,9 +1,3 @@ -TARGET := cuegen -CC := gcc -CFLAGS := -O2 -pipe -fomit-frame-pointer -WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes -- ++CFLAGS += -W -Wall -Wstrict-prototypes -Wmissing-prototypes + all: cuegen - -cuegen: cuegen.o diff --git a/app-cdr/cuegen/files/cuegen-1.2.0-missing-includes.patch b/app-cdr/cuegen/files/cuegen-1.2.0-missing-includes.patch new file mode 100644 index 000000000000..98a273cddb13 --- /dev/null +++ b/app-cdr/cuegen/files/cuegen-1.2.0-missing-includes.patch @@ -0,0 +1,17 @@ +--- a/cuegen.c ++++ b/cuegen.c +@@ -10,12 +10,14 @@ + */ + + ++#include <fcntl.h> + #include <stdio.h> + #include <stdlib.h> + #include <linux/cdrom.h> + #include <sys/ioctl.h> + #include <sys/file.h> + #include <sys/types.h> ++#include <sys/stat.h> + #include <unistd.h> + #include <string.h> + |