6f0b523996
meant to be used on archs that have gcc4 in base, this doesn't require a full gcc build from ports, and provides libgfortran as a subpackage. idea from espie some months ago.
15 lines
633 B
Plaintext
15 lines
633 B
Plaintext
$OpenBSD: patch-gcc_unwind-dw2-fde-openbsd_c,v 1.1.1.1 2010/10/10 17:39:07 steven Exp $
|
|
--- gcc/unwind-dw2-fde-openbsd.c.orig Sat Apr 11 14:24:23 2009
|
|
+++ gcc/unwind-dw2-fde-openbsd.c Sat Apr 11 14:24:02 2009
|
|
@@ -0,0 +1,10 @@
|
|
+/* XXX This file provides a few defines such that we can compile the
|
|
+ source from unwind-dw2-fde-glibc.c on OpenBSD. Hopefully we can
|
|
+ integrate these defines in that file and rename it to something
|
|
+ like unwind-de2-fde-phdr.c in the up-stream sources. */
|
|
+
|
|
+#define ElfW(type) Elf_##type
|
|
+
|
|
+#define __GLIBC__ 3 /* Fool unwind-dw2-fde-glibc.c. */
|
|
+#include "unwind-dw2-fde-glibc.c"
|
|
+
|