diff options
Diffstat (limited to 'dev-util/mutrace/files')
-rw-r--r-- | dev-util/mutrace/files/mutrace-ds-compile.patch | 12 | ||||
-rw-r--r-- | dev-util/mutrace/files/mutrace-ds-compile2.patch | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/dev-util/mutrace/files/mutrace-ds-compile.patch b/dev-util/mutrace/files/mutrace-ds-compile.patch new file mode 100644 index 0000000..ada8a9c --- /dev/null +++ b/dev-util/mutrace/files/mutrace-ds-compile.patch @@ -0,0 +1,12 @@ +diff -dPNur mutrace-0.2/backtrace-symbols.c mutrace-0.2-ds/backtrace-symbols.c +--- mutrace-0.2/backtrace-symbols.c 2014-10-14 11:04:31.732216473 +0200 ++++ mutrace-0.2-ds/backtrace-symbols.c 2014-10-14 11:03:18.000000000 +0200 +@@ -34,6 +34,8 @@ + along with this program; if not, write to the Free Software + Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + ++#include "config.h" ++ + #define fatal(a, b) exit(1) + #define bfd_fatal(a) exit(1) + #define bfd_nonfatal(a) exit(1) diff --git a/dev-util/mutrace/files/mutrace-ds-compile2.patch b/dev-util/mutrace/files/mutrace-ds-compile2.patch new file mode 100644 index 0000000..81928e9 --- /dev/null +++ b/dev-util/mutrace/files/mutrace-ds-compile2.patch @@ -0,0 +1,12 @@ +diff -dPNur mutrace-0.2-orig/backtrace-symbols.c mutrace-0.2/backtrace-symbols.c +--- mutrace-0.2-orig/backtrace-symbols.c 2017-01-29 16:07:03.588096070 +0100 ++++ mutrace-0.2/backtrace-symbols.c 2017-01-29 16:06:01.359944270 +0100 +@@ -52,7 +52,7 @@ + #include <stdlib.h> + #include <execinfo.h> + #include <bfd.h> +-#include <libiberty.h> ++#include <libiberty/libiberty.h> + #include <dlfcn.h> + #include <link.h> + #if 0 |