openbsd-ports/lang/egcs/snapshot/patches/patch-g++-libversion
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

12 lines
410 B
Plaintext

--- libstdc++/config/openbsd.ml.orig Thu Apr 29 02:45:22 1999
+++ libstdc++/config/openbsd.ml Thu Apr 29 02:46:21 1999
@@ -1,5 +1,6 @@
-# Base shared lib for OpenBSD i386
-
+# Base shared lib for OpenBSD
+MAJOR_OFFSET=29
+MSHLINK = libstdc++.so.`expr $(INTERFACE) + $(MAJOR_OFFSET)`.0
LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK) mshlink
SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive
SHDEPS = -lm