From 31d5ac22c5c389d41cfc9172948b0916ac5282df Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Thu, 7 Mar 2002 16:49:17 +0000 Subject: Avoid double symbols for set_new_handler__FPFv_v. Patch from NetBSD --- .../files/patch-tools+bootstrp+makefile.mk | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 editors/openoffice.org-1.0/files/patch-tools+bootstrp+makefile.mk (limited to 'editors/openoffice.org-1.0/files/patch-tools+bootstrp+makefile.mk') diff --git a/editors/openoffice.org-1.0/files/patch-tools+bootstrp+makefile.mk b/editors/openoffice.org-1.0/files/patch-tools+bootstrp+makefile.mk new file mode 100644 index 000000000000..b188641846f0 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-tools+bootstrp+makefile.mk @@ -0,0 +1,23 @@ +--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002 ++++ ../tools/bootstrp/makefile.mk +@@ -83,6 +83,15 @@ + @echo No bootstrp for Mac OS + .ELSE # "$(OS)"=="MACOS" + ++.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD" ++ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR ++ @echo "" ++$(LB)$/libgcc_pic.a: ++ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc_pic.a $(LB)$/libgcc_pic.a ++$(LB)$/libgcc.a: ++ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a ++.ENDIF ++ + OBJFILES= \ + $(OBJ)$/sstring.obj \ + $(OBJ)$/appdef.obj \ +@@ -172,3 +181,4 @@ + # --- Targets ------------------------------------------------------ + + .INCLUDE : target.mk ++ -- cgit v1.2.3