diff options
Diffstat (limited to 'lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c')
-rw-r--r-- | lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c b/lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c new file mode 100644 index 00000000000..957e5e44610 --- /dev/null +++ b/lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c @@ -0,0 +1,13 @@ +$NetBSD: patch-libgcc_unwind-dw2-fde-dip.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $ + +--- libgcc/unwind-dw2-fde-dip.c.orig 2014-05-21 11:08:58.000000000 +0000 ++++ libgcc/unwind-dw2-fde-dip.c +@@ -65,7 +65,7 @@ + #endif + + #if !defined(inhibit_libc) && defined(HAVE_LD_EH_FRAME_HDR) \ +- && defined(__OpenBSD__) ++ && defined(__OpenBSD__) || defined(__NetBSD__) + # define ElfW(type) Elf_##type + # define USE_PT_GNU_EH_FRAME + #endif |