openbsd-ports/lang/egcs/snapshot/patches/patch-core-varargs
espie f844940867 Argh. I was SURE I had repaired that port WEEKS ago.
So, here goes.

- retrieve a recent snapshot of egcs, to justify the port's existence,
- remove outdated fixes, now that we're synching with 2.6,
- update patches to deal with the current snapshot,
- get a description that matches better what's going on,
- add fixed include files to match the new varargs handling (complexity
is now within gcc, instead of arch-dependent include files).

Builds on i386, at least.
1999-11-24 00:15:04 +00:00

17 lines
571 B
Plaintext

--- gcc/config/t-openbsd.orig Tue Nov 2 16:08:38 1999
+++ gcc/config/t-openbsd Tue Nov 2 16:39:07 1999
@@ -1,7 +1,11 @@
# Don't run fixproto
STMP_FIXPROTO =
-# We don't need GCC's own include files but we do need lang specific ones.
-USER_H = ${LANG_EXTRA_HEADERS}
+# We need some of GCC include files, since OpenBSD2.6 ships with headers
+# that don't know about the new stdarg handling.
+
+# TODO: provide updated version, instead of gcc cruft.
+USER_H = $(srcdir)/ginclude/stdarg.h \
+ $(srcdir)/ginclude/varargs.h $(LANG_EXTRA_HEADERS)
INSTALL_ASSERT_H =