mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
7e477f978b
patches apply without error. I don't have an Alpha to test on, but I assume that Marcel knows what he's doing. PR: addendum to 14916 Submitted by: marcel Approved by: the maintainer
18 lines
407 B
Plaintext
18 lines
407 B
Plaintext
--- ./src/unexelf.c~ Sun Aug 15 03:29:56 1999
|
|
+++ ./src/unexelf.c Tue Nov 2 10:24:55 1999
|
|
@@ -515,6 +515,14 @@
|
|
# include <sys/exec_elf.h>
|
|
#endif
|
|
|
|
+#if defined(__FreeBSD__) && defined(__alpha__)
|
|
+# ifdef __STDC__
|
|
+# define ElfW(type) Elf64_##type
|
|
+# else
|
|
+# define ElfW(type) Elf64_/**/type
|
|
+# endif
|
|
+#endif
|
|
+
|
|
#if __GNU_LIBRARY__ - 0 >= 6
|
|
# include <link.h> /* get ElfW etc */
|
|
#endif
|