summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-01-02 15:36:27 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-01-02 15:43:26 +0100
commitfcfab81b2bdd3fb5a42f612bd1566a04890a01a9 (patch)
tree396b900067411c2a1a3fd2303d02ded0b065210b /sys-fs
parentsys-devel/clang: add prefix includes patch for darwin too (diff)
downloadgentoo-fcfab81b2bdd3fb5a42f612bd1566a04890a01a9.tar.gz
gentoo-fcfab81b2bdd3fb5a42f612bd1566a04890a01a9.tar.bz2
gentoo-fcfab81b2bdd3fb5a42f612bd1566a04890a01a9.zip
sys-fs/udftools: Bump to version 2.0
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udftools/Manifest1
-rw-r--r--sys-fs/udftools/files/udftools-2.0-sysmacros.patch37
-rw-r--r--sys-fs/udftools/udftools-2.0.ebuild26
3 files changed, 64 insertions, 0 deletions
diff --git a/sys-fs/udftools/Manifest b/sys-fs/udftools/Manifest
index fd03dc4ac350..98d397193bb1 100644
--- a/sys-fs/udftools/Manifest
+++ b/sys-fs/udftools/Manifest
@@ -3,3 +3,4 @@ DIST udftools-1.0.0b3.tar.gz 293257 BLAKE2B c4bb1433d5ecd7dd382aad06cb192d2fbef2
DIST udftools-1.1.tar.gz 656865 BLAKE2B 6e76251368c121ab07e02071bfddde5c4f4523cc858a7ffcc86063b48adbc03233fab18a3ff50b840fc603e7f48f386e15b4ca556046116d4b42f43c06927dc5 SHA512 9c415d1cae1d79d49b4f9e3e6881f0b44b31d59f6d722571badd78ee68c422899ee8b95caed0ac50e76c13d8ed118f58f79efe5cbf775438a163d68160a30742
DIST udftools-1.2.tar.gz 657310 BLAKE2B 269cb4a45f5eb61f780c81821fc0942c23650bda221f031199bde2b08c221d08f57559742d03c5d0217cb6a4f1cb0273ee969352d48fc34431f00ddfff608584 SHA512 b36e08b7adc0246f2a8024f6ee95117f5cba03566103a501acd1fb1ab31152da6345584ad36156a94ce5a29818e38333d81e3307ba73cef08355c300b79af199
DIST udftools-1.3.tar.gz 447063 BLAKE2B ff23f23dd5b9753d9e4cba6e326d302346233ed0a836ccf35372e61ca1d7a5c14ff8f1d1505f2f9fba779f4379adf472b64ce60aa4ca0d3e51679ea863db2f0f SHA512 d67f74640cc600fbdf3d7a67caee1342c15507357e155c5e1066aa6f6b3e2667483107edd663eaed5ebb690c13337598a75c1955e69cbc782bd481af783837e7
+DIST udftools-2.0.tar.gz 541231 BLAKE2B 8e43f4b1ab0940d607987e972dc0244ad086e088441bf462e6ce75a668af62041b1c4d8bac5da6046d2943ace753498aeb721d9524b4442a84f1901fd92066e6 SHA512 178a20405de6cd48e5f58b0ed61565e2a463479cf6d40fd7d5895d7af768b814bf1d5849873740aa409eb8cb3e7cd480c07198f6b340c612a271241c737f76e5
diff --git a/sys-fs/udftools/files/udftools-2.0-sysmacros.patch b/sys-fs/udftools/files/udftools-2.0-sysmacros.patch
new file mode 100644
index 000000000000..9df9de6d3fd9
--- /dev/null
+++ b/sys-fs/udftools/files/udftools-2.0-sysmacros.patch
@@ -0,0 +1,37 @@
+From cca194f17fe2892c929acab2f1d5016ad38aa305 Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Tue, 2 Jan 2018 15:10:34 +0100
+Subject: [PATCH] Include <sys/sysmacros.h> to prevent build breakage with
+ >=glibc-2.25
+
+libtool: link: x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2
+-pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o
+mkudffs main.o mkudffs.o defaults.o file.o options.o
+../libudffs/.libs/libudffs.a
+main.o: In function `is_whole_disk':
+main.c:(.text+0x2ce): undefined reference to `major'
+main.c:(.text+0x2dd): undefined reference to `minor'
+main.o: In function `main':
+main.c:(.text.startup+0x72f): undefined reference to `minor'
+main.c:(.text.startup+0x741): undefined reference to `major'
+collect2: error: ld returned 1 exit status
+make[1]: *** [Makefile:378: mkudffs] Error 1
+---
+ mkudffs/main.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/mkudffs/main.c b/mkudffs/main.c
+index 066afac..3e306ac 100644
+--- a/mkudffs/main.c
++++ b/mkudffs/main.c
+@@ -43,6 +43,7 @@
+ #include <sys/ioctl.h>
+ #include <linux/fs.h>
+ #include <linux/fd.h>
++#include <sys/sysmacros.h>
+
+ #include "mkudffs.h"
+ #include "defaults.h"
+--
+2.16.0.rc0
+
diff --git a/sys-fs/udftools/udftools-2.0.ebuild b/sys-fs/udftools/udftools-2.0.ebuild
new file mode 100644
index 000000000000..c5a2970d94c8
--- /dev/null
+++ b/sys-fs/udftools/udftools-2.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="Ben Fennema's tools for packet writing and the UDF filesystem"
+HOMEPAGE="https://github.com/pali/udftools/ https://sourceforge.net/projects/linux-udf/"
+SRC_URI="https://github.com/pali/udftools/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="sys-libs/readline:0="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-sysmacros.patch" )
+
+src_install() {
+ default
+ newinitd "${FILESDIR}"/pktcdvd.init pktcdvd
+ dosym mkudffs.8 /usr/share/man/man8/mkfs.udf.8
+}