diff --git a/lang/egcs-stable/patches/patch-g++-libversion b/lang/egcs-stable/patches/patch-g++-libversion new file mode 100644 index 00000000000..a44b10a9948 --- /dev/null +++ b/lang/egcs-stable/patches/patch-g++-libversion @@ -0,0 +1,13 @@ +--- libstdc++/config/openbsd.ml.orig Thu Feb 25 02:26:26 1999 ++++ libstdc++/config/openbsd.ml Thu Mar 25 22:20:36 1999 +@@ -1,5 +1,8 @@ +-# Base shared lib for OpenBSD i386 +- ++# Base shared lib for OpenBSD ++# This interface schmuck isn't present before after 1.1.2 ++INTERFACE=2 ++MAJOR_OFFSET=27 ++MSHLINK = libstdc++.so.`expr $(INTERFACE) + $(MAJOR_OFFSET)`.0 + LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink + SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive + SHDEPS = -lm diff --git a/lang/egcs/stable/patches/patch-g++-libversion b/lang/egcs/stable/patches/patch-g++-libversion new file mode 100644 index 00000000000..a44b10a9948 --- /dev/null +++ b/lang/egcs/stable/patches/patch-g++-libversion @@ -0,0 +1,13 @@ +--- libstdc++/config/openbsd.ml.orig Thu Feb 25 02:26:26 1999 ++++ libstdc++/config/openbsd.ml Thu Mar 25 22:20:36 1999 +@@ -1,5 +1,8 @@ +-# Base shared lib for OpenBSD i386 +- ++# Base shared lib for OpenBSD ++# This interface schmuck isn't present before after 1.1.2 ++INTERFACE=2 ++MAJOR_OFFSET=27 ++MSHLINK = libstdc++.so.`expr $(INTERFACE) + $(MAJOR_OFFSET)`.0 + LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink + SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive + SHDEPS = -lm