mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-apps/usermode-utilities: fix build w/newer glibc #580816
This commit is contained in:
committed by
Mike Frysinger
parent
1a3287d53e
commit
5a7c2b8a02
@@ -0,0 +1,27 @@
|
||||
https://bugs.gentoo.org/580816
|
||||
|
||||
include headers needed by targets
|
||||
|
||||
--- b/tools-20070815/uml_net/ethertap.c
|
||||
+++ a/tools-20070815/uml_net/ethertap.c
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <net/if.h>
|
||||
+#include <sys/select.h>
|
||||
#include "host.h"
|
||||
#include "output.h"
|
||||
|
||||
|
||||
for major/minor macros
|
||||
|
||||
--- b/tools-20070815/uml_net/host.c
|
||||
+++ a/tools-20070815/uml_net/host.c
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <ctype.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include "output.h"
|
||||
#include "host.h"
|
||||
|
||||
@@ -26,6 +26,8 @@ src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-rollup.patch
|
||||
# Fix owner of humfsify; bug #364531
|
||||
epatch "${FILESDIR}"/${P}-humfsify-owner.patch
|
||||
epatch "${FILESDIR}"/${P}-headers.patch #580816
|
||||
|
||||
sed -i -e 's:-o \$(BIN):$(LDFLAGS) -o $(BIN):' "${S}"/*/Makefile || die "LDFLAGS sed failed"
|
||||
sed -i -e 's:-o \$@:$(LDFLAGS) -o $@:' "${S}"/moo/Makefile || die "LDFLAGS sed (moo) failed"
|
||||
if ! use fuse; then
|
||||
|
||||
Reference in New Issue
Block a user