ltrace: add patch to fix build on sparc
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Dec 2015 20:52:11 +0000 (21:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Dec 2015 20:52:11 +0000 (21:52 +0100)
commit88511ccf4a6e0338cbfd8dc985b9ebcda5d0e6b2
tree723c4b443d3045ed587a0c6d19ac834752ac20f3
parentc61e97a4d9779e72004e563d00e7985104cba462
ltrace: add patch to fix build on sparc

Due to a missing header inclusion, the build of ltrace of sparc fails
with the following error:

plt.c: In function 'sym2addr':
plt.c:33:12: error: dereferencing pointer to incomplete type
  return sym->enter_addr;
            ^
plt.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
 }

This commit fixes that by adding a patch to the ltrace code base.

Fixes:

  http://autobuild.buildroot.org/results/55c/55ce618dbe1b2867e5738d90afb2eb67c19200e4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ltrace/0002-sparc-add-missing-library.h-include.patch [new file with mode: 0644]