pkgsrc-ng/lang/gcc5/patches/patch-libgcc_unwind-dw2-fde-dip.c
2016-01-21 23:42:40 +01:00

14 lines
429 B
C

$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