aboutsummaryrefslogtreecommitdiffstats
path: root/devel/alleyoop/files/patch-src::legolas.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/alleyoop/files/patch-src::legolas.c')
-rw-r--r--devel/alleyoop/files/patch-src::legolas.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/alleyoop/files/patch-src::legolas.c b/devel/alleyoop/files/patch-src::legolas.c
new file mode 100644
index 000000000000..c9d2a1a754f0
--- /dev/null
+++ b/devel/alleyoop/files/patch-src::legolas.c
@@ -0,0 +1,20 @@
+--- src/legolas.c.orig Sun Jan 18 16:46:00 2004
++++ src/legolas.c Sat Jun 18 01:05:39 2005
+@@ -25,7 +25,7 @@
+ #include <config.h>
+ #endif
+
+-#include <elf.h>
++#include <libelf/libelf.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -130,7 +130,7 @@
+ case EM_RH32: return "TRW RH-32";
+ case EM_RCE: return "Motorola RCE";
+ case EM_ARM: return "ARM";
+- case EM_FAKE_ALPHA: return "Digital Alpha";
++ case EM_ALPHA: return "Digital Alpha";
+ case EM_SH: return "Hitachi SH";
+ case EM_SPARCV9: return "SPARC v9 64-bit";
+ case EM_TRICORE: return "Siemens Tricore";