diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-10 18:25:55 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-10 18:25:55 +0000 |
commit | 8e27e3d244d1c73f6f472d7f95dac7453ea77085 (patch) | |
tree | 358f713933474bf882b7313aec19c30becc3625b /lang/mono | |
parent | cfe4fb01bba88e08f6105636a0f1447243a00775 (diff) | |
download | ports-8e27e3d244d1c73f6f472d7f95dac7453ea77085.tar.gz ports-8e27e3d244d1c73f6f472d7f95dac7453ea77085.zip |
Notes
Diffstat (limited to 'lang/mono')
-rw-r--r-- | lang/mono/files/patch-mono_metadata_debug_symfile.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono_metadata_debug_symfile.c b/lang/mono/files/patch-mono_metadata_debug_symfile.c new file mode 100644 index 000000000000..d605a6adac9c --- /dev/null +++ b/lang/mono/files/patch-mono_metadata_debug_symfile.c @@ -0,0 +1,19 @@ +--- mono/metadata/debug-symfile.c.orig Tue Sep 10 14:21:57 2002 ++++ mono/metadata/debug-symfile.c Tue Sep 10 14:23:17 2002 +@@ -2,6 +2,7 @@ + #include <stdlib.h> + #include <string.h> + #include <signal.h> ++#include <sys/param.h> + #include <mono/metadata/metadata.h> + #include <mono/metadata/rawbuffer.h> + #include <mono/metadata/tokentype.h> +@@ -165,7 +166,7 @@ + get_sections (MonoDebugSymbolFile *symfile, gboolean emit_warnings) + { + #ifdef HAVE_ELF_H +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) && __FreeBSD_version < 500023 + static const char ELFMAG[] = { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, 0 }; + #endif + if (!strncmp (symfile->raw_contents, ELFMAG, strlen (ELFMAG))) |