From cf2976d2133bd74bf399de4f1909e5519a8a399e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 27 Apr 2016 10:12:19 +0200 Subject: [PATCH] gdb: fix mips/musl builds. --- srcpkgs/gdb/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index f9fd86c4c0d..95f4ae3b782 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -31,6 +31,9 @@ build_options_default="gdbserver python" # Both options cannot be enabled at the same time vopt_conflict gdbserver static +post_extract() { + sed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c +} post_install() { # resolve conflicts with binutils rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib