ltrace: Fix build with musl/mips

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2017-09-19 09:31:57 -07:00
committed by Martin Jansa
parent bb6cf8efdd
commit f75b3ac720
2 changed files with 28 additions and 0 deletions
@@ -0,0 +1,27 @@
From 19a3e590c97420bd3952301bf376067c75d0ee32 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 18 Sep 2017 23:45:54 -0700
Subject: [PATCH] mips/plt.c: Delete include error.h
Its not needed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
sysdeps/linux-gnu/mips/plt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sysdeps/linux-gnu/mips/plt.c b/sysdeps/linux-gnu/mips/plt.c
index 2d85ad9..9c3ae2f 100644
--- a/sysdeps/linux-gnu/mips/plt.c
+++ b/sysdeps/linux-gnu/mips/plt.c
@@ -24,7 +24,6 @@
#include <sys/ptrace.h>
#include <errno.h>
-#include <error.h>
#include <gelf.h>
#include <inttypes.h>
#include <string.h>
--
2.14.1
@@ -24,6 +24,7 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=master \
file://0001-Fix-tautological-compare-warning.patch \
file://0001-Add-support-for-mips64-n32-n64.patch \
file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \
file://0001-mips-plt.c-Delete-include-error.h.patch \
"
S = "${WORKDIR}/git"