summaryrefslogtreecommitdiff
path: root/devel/elfsh/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/elfsh/patches/patch-aa')
-rw-r--r--devel/elfsh/patches/patch-aa28
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/elfsh/patches/patch-aa b/devel/elfsh/patches/patch-aa
new file mode 100644
index 00000000000..754986eb82e
--- /dev/null
+++ b/devel/elfsh/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/05/05 10:57:05 mjl Exp $
+
+--- libelfsh/Makefile.orig Thu Jun 6 05:03:44 2002
++++ libelfsh/Makefile Mon May 5 12:26:36 2003
+@@ -5,10 +5,10 @@
+ ## Last update Wed Mar 27 12:06:42 2002 mayhem
+ ##
+
+-CC = gcc
+-RM = rm -f
+-AR = ar rc
+-CFLAGS = -Iinclude -Wall -g3 -O2
++# CC = gcc
++# RM = rm -f
++# AR = ar rc
++CFLAGS += -Iinclude -Wall -g3 -O2
+ SRC = dynamic.c dynsym.c elf.c fixup.c got.c hash.c \
+ interp.c pht.c plt.c section.c sht.c error.c \
+ stab.c symbol.c notes.c reloc.c functions.c \
+@@ -19,7 +19,7 @@
+
+ all : $(OBJ)
+ $(CC) -shared $(OBJ) -o $(NAME).so
+- $(AR) $(NAME).a $(OBJ)
++ $(AR) rc $(NAME).a $(OBJ)
+ $(RANLIB) $(NAME).a
+
+ clean :