summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-19 02:42:14 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-19 02:42:14 -0400
commit8b3fef2e5ea54c3390306e545453abf97d38e7d6 (patch)
treeef63ac2658ebc4f91c9db171dddfb0f05fcd8640 /app-misc/fdutils
parentdev-util/android-tools: fix building w/newer glibc #580058 (diff)
downloadgentoo-8b3fef2e5ea54c3390306e545453abf97d38e7d6.tar.gz
gentoo-8b3fef2e5ea54c3390306e545453abf97d38e7d6.tar.bz2
gentoo-8b3fef2e5ea54c3390306e545453abf97d38e7d6.zip
app-misc/fdutils: fix build w/newer glibc #580060
Diffstat (limited to 'app-misc/fdutils')
-rw-r--r--app-misc/fdutils/fdutils-5.5.20060227.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-misc/fdutils/fdutils-5.5.20060227.ebuild b/app-misc/fdutils/fdutils-5.5.20060227.ebuild
index 3658976c3482..46c70f7eea7f 100644
--- a/app-misc/fdutils/fdutils-5.5.20060227.ebuild
+++ b/app-misc/fdutils/fdutils-5.5.20060227.ebuild
@@ -29,6 +29,9 @@ src_prepare() {
local d="${WORKDIR}"/debian/patches
EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
sed -i -e 's:{LDFLAFS}:(LDFLAGS):' src/Makefile.in || die #337721
+ # The build sets up config.h and uses some symbols, but forgots to
+ # actually include it in most places.
+ sed -i '1i#include "../config.h"' src/*.c || die #580060
}
src_configure() {