diff options
author | 2018-01-02 15:36:27 +0100 | |
---|---|---|
committer | 2018-01-02 15:43:26 +0100 | |
commit | fcfab81b2bdd3fb5a42f612bd1566a04890a01a9 (patch) | |
tree | 396b900067411c2a1a3fd2303d02ded0b065210b /sys-fs/udftools/files | |
parent | sys-devel/clang: add prefix includes patch for darwin too (diff) | |
download | gentoo-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/udftools/files')
-rw-r--r-- | sys-fs/udftools/files/udftools-2.0-sysmacros.patch | 37 |
1 files changed, 37 insertions, 0 deletions
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 + |